Bug 4705 - Transcoding failure: AAC files with long filenames
: Transcoding failure: AAC files with long filenames
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Transcoding
: 7.4.0
: PC Windows XP
: -- normal with 2 votes (vote)
: 7.4.0
Assigned To: Spies Steven
: MOV123
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-23 12:42 UTC by Spies Steven
Modified: 2009-10-05 14:35 UTC (History)
5 users (show)

See Also:
Category: ---


Attachments
Log file with d_source selected. (28.40 KB, text/plain)
2007-01-23 13:52 UTC, Spies Steven
Details
New d_source log 6.5.3 (10.49 KB, text/plain)
2007-06-05 14:25 UTC, Spies Steven
Details
Log of first file playing then stopping after (10.77 KB, text/plain)
2007-06-05 15:50 UTC, Spies Steven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Spies Steven 2007-01-23 12:42:01 UTC
Slimserver will just skip the file if you try to play one. Renaming the file using less then 64 characters will allow the file to play. ALAC files did not produce the behavior. Mac OS X did not produce the behavior either. Files for testing are available at bug 4019.

Chris, should Dan be assigned this one?
Comment 1 Andy Grundman 2007-01-23 13:17:42 UTC
Does it also fail on Linux, or just Windows?  What does a --d_source log show when the file is skipped?
Comment 2 Spies Steven 2007-01-23 13:52:19 UTC
Created attachment 1784 [details]
Log file with d_source selected.

Andy, I did not try with Linux just with Mac OS X and Win XP. Would you like me to try with Linux? I attached the log for your perusal.
Comment 3 Andy Grundman 2007-01-23 13:57:56 UTC
Thanks.  I expect it will work fine on Linux too.  It's probably something to do with the length of the command line used for transcoding.
Comment 4 Spies Steven 2007-01-23 14:07:46 UTC
I did notice that ALAC files with long file names did not seem to be affected even though they have the same extension.
Comment 5 Spies Steven 2007-03-30 11:38:55 UTC
May be a duplicate of Bug 4206.
Comment 6 Chris Owens 2007-04-17 12:10:15 UTC
Some of the users that think they are experiencing bug 4019 may be actually affected by this bug.  I have increased the severity accordingly.
Comment 7 KDF 2007-06-05 11:39:01 UTC
The error getting reported in the log attached is the same one found in several of the other bugs fixed with the latest socketwrapper.exe.  Is this specific problem still happening with 6.5.3?  If so, is the log showing anything different this time?
Comment 8 Spies Steven 2007-06-05 14:25:31 UTC
Created attachment 2037 [details]
New d_source log 6.5.3

Yes, I still see the problem with 6.5.3.  However instead of just skipping the tracks it just stops playing.  I think this is because of change 12211. New log attached.
Comment 9 Andy Grundman 2007-06-05 14:33:32 UTC
I don't know why there are no track start events in that log.  I still need to test my changes on Windows.  I made another change today, so try tonight's nightly, but I don't know if it will help with this issue.
Comment 10 Spies Steven 2007-06-05 15:50:27 UTC
Created attachment 2038 [details]
Log of first file playing then stopping after

I reversed the order of the playlist so the shorter named file is first and thus plays then stops when it gets to the longer named second file.  I hope the new log may shed some light.
Comment 11 Andy Grundman 2007-06-06 10:27:44 UTC
I've put in a fix, change 12216, that should allow these tracks to be properly skipped.  There is still a bug in socketwrapper that needs to be fixed here though.
Comment 12 Andy Grundman 2007-06-06 12:00:26 UTC
This is actually a mov123 bug, and I found this reference on apple.com:
http://developer.apple.com/qa/qa2005/qa1413.html

A: There's a limitation in the current version of QuickTime which restricts any file name plus extension to 63 characters or less.

The full path may still be MAX_PATH (see WINDEF.H) characters long, but the file name must be 63 characters or less.

We hope to relax this limitation in a future version of QuickTime.

But there is a workaround for this bug, to use faad instead of mov123 to decode AAC.

See the instructions on the AAC wiki page, http://wiki.slimdevices.com/index.cgi?AAC

1. Download faad.exe from http://rarewares.org/aac.html, putting it in the server\Bin\MSWin32-x86-multi-thread directory.
2. Create slimserver-convert.conf from the example in the wiki page.
3. Under File Types, select only faad/flac.
4. Long file names should now play properly.
Comment 13 Chris Owens 2007-06-06 12:53:40 UTC
*** Bug 4206 has been marked as a duplicate of this bug. ***
Comment 14 Chris Owens 2007-06-12 12:50:56 UTC
Is using faad something we should consider moving to in the long term?
Comment 15 Andy Grundman 2007-06-12 13:57:41 UTC
We can't distribute faad because of patent issues, but Dean said he would look into the licensing.  Ideally we would like AAC support in the firmware. :)
Comment 16 Spies Steven 2007-10-26 12:44:06 UTC
Chris, should this one be unassigned?
Comment 17 Chris Owens 2007-10-29 16:46:48 UTC
No it looks like it should be assigned to Dean or marked as 'wontfix'
Comment 18 Blackketter Dean 2007-11-25 11:20:41 UTC
We'll move to faad after 7.0.
Comment 19 Chris Owens 2008-06-04 10:36:13 UTC
Whatever happened to the faad plan, dean?
Comment 20 Chris Owens 2008-07-28 10:12:33 UTC
On bug 8562 Dean says we're not doing FAAD.
Comment 21 Spies Steven 2008-07-29 11:31:19 UTC
(In reply to comment #20)
> On bug 8562 Dean says we're not doing FAAD.

Chris, I see no mention of FAAD in Bug 8562.  Am I just missing it or did you intend a different bug number?
Comment 22 Spies Steven 2008-07-29 11:32:35 UTC
(In reply to comment #21)
> (In reply to comment #20)
> > On bug 8562 Dean says we're not doing FAAD.
> 
> Chris, I see no mention of FAAD in Bug 8562.  Am I just missing it or did you
> intend a different bug number?

It would help if Chris was on the CC list ;)
Comment 23 James Richardson 2008-10-20 08:44:28 UTC
There's information on setting up FAAD on our forums at
http://forums.slimdevices.com/showthread.php?t=41673
Comment 24 Alan Young 2008-10-29 22:55:40 UTC
I think that the only solution here is to move to faad or note the restriction on 63-character filenames as a hard restriction. Assigning to Mickey concerning license issues for faad.
Comment 25 Mickey Gee 2008-11-10 17:16:33 UTC
Still working with lawyers. Moving to future release.
Comment 26 Mickey Gee 2009-07-31 10:29:08 UTC
SC now running with faad. Needs QA to verify this is no longer an issue.
Comment 27 Spies Steven 2009-07-31 16:08:41 UTC
The change from mov123 to faad for aac was actually implemented in 7.3.3 so this  should no longer be an issue.  Please reopen and add additional comments if you still see this issue with 7.3.3 or higher.
Comment 28 James Richardson 2009-10-05 14:35:40 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.