Bug 10886 - Cannot play (attached) AIFF files ripped with dBpoweramp
: Cannot play (attached) AIFF files ripped with dBpoweramp
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Transcoding
: unspecified
: All All
: -- normal (vote)
: 7.3.3
Assigned To: Andy Grundman
: TestCase
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-28 14:48 UTC by Adam Crisp
Modified: 2009-06-17 09:36 UTC (History)
5 users (show)

See Also:
Category: ---


Attachments
Sample AIFF file (29.32 MB, audio/aiff)
2009-01-28 14:48 UTC, Adam Crisp
Details
server log (525.65 KB, application/octet-stream)
2009-01-29 07:35 UTC, James Richardson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Crisp 2009-01-28 14:48:53 UTC
Created attachment 4722 [details]
Sample AIFF file

New user, running Squeezecenter 7.3.2. AIFF files ripped with iTunes play fine. Have library of AIFF files ripped by dBpoweramp at standard 16-bit/44.1khz settings. When trying to play, Squeezecenter appears to be playing the file but controller hangs with no audio from receiver. FLAC and AAC playback perfectly ok and Squeezecenter library scan is fine.
Comment 1 James Richardson 2009-01-28 16:10:54 UTC
What version of Quicktime do you have installed
Comment 2 James Richardson 2009-01-28 16:13:34 UTC
what version of squeezecenter do you have installed
Comment 3 James Richardson 2009-01-29 07:35:28 UTC
Confirmed, the attached file playes fine with iTunes and VLC but fails to play with SC 7.3.2

see attached log
Comment 4 James Richardson 2009-01-29 07:35:58 UTC
Created attachment 4723 [details]
server log
Comment 5 Spies Steven 2009-01-29 10:10:38 UTC
This bug is a duplicate of bug 9029 and bug 10712 in that FLAC is choking on the AIFF file.  SoX will encode the file just fine however so I do not believe the attached AIFF is invalid.

This seems to be a FLAC limitation or bug when it comes to encoding AIFF files.
Comment 6 Adam Crisp 2009-01-29 10:29:22 UTC
Quicktime version is 7.5.5.

Have no problems with the AIFF files in any other playback software (iTunes, Foobar, Songbird etc)
Comment 7 Adam Crisp 2009-01-29 10:33:34 UTC
Also would note that I can convert dBpoweramp AIFF files to FLAC just fine using its converter add-on and the resultant FLAC files play just fine through Squeezecenter. Would prefer to avoid having to do lots of converting.
Comment 8 Spies Steven 2009-01-29 11:36:22 UTC
Adam, I just wanted to note that you can disable AIFF to FLAC transcoding in SqueezeCenter to allow these files to play however you will increase your network bandwidth requirements as a result.

To do this open up the SqueezeCenter home page in your browser and click Settings -> Advanced -> File Types.  Then under File Format AIFF change Stream Format FLAC from flac to Disabled.  You should now be able to play these files with the increased network bandwidth requirement.
Comment 9 Adam Crisp 2009-01-29 12:32:14 UTC
Cool! Thanks for that, works a treat. The helpdesk folks never suggested that, guess they wouldn't have realised that the background FLAC encoding was crashing. At least I don't have to convert my entire dual-purpose AIFF library now, if only iTunes supported FLAC...
Comment 10 Alan Young 2009-03-10 01:21:57 UTC
Steven, I believe that you are chasing up a fix to FLAC for this. Alan.
Comment 11 Spies Steven 2009-03-10 14:18:07 UTC
I did try to get a hold of the flac developer but I have not heard back yet.
Just the same I would like to see the following line in flac encode.c to give a warning instead of an error and quitting or if that is to difficult just commented out:

if(data_bytes!=(sample_frames*bytes_per_frame)) {
flac__utils_printf(stderr, 1, "%s: ERROR: SSND chunk size inconsistent with sample frame count\n", encoder_session.inbasefilename);
return EncoderSession_finish_error(&encoder_session);

This small change allows these aiff files to play without issue and with the testing I have done seems to output bit identical files compared to the source.

Andy, what do you thank and could you make this patch?  Thanks.
Comment 12 Chris Owens 2009-03-16 09:50:58 UTC
We are now planning to make a 7.3.3 release.  Please review your bugs (all marked open against 7.3.3) to see if they can be fixed in the next few weeks, or if they should be retargeted for 7.4 or future.

Thanks!
Comment 13 Chris Owens 2009-03-30 17:32:20 UTC
Since there's now a planned 7.3.3 release, bugs which won't make the cut-off are being moved to the next target out.  If you feel that this bug needs to be addressed more (or less) urgently than the 7.4 release, please cc chris@slimdevices.com and leave a comment in the bug to that effect so we can review it.

Thanks.
Comment 14 Chris Owens 2009-03-31 08:54:42 UTC
For some reason Bugzilla did not change the target when I did this yesterday.  Or maybe it was me.  In either case, I'm trying it again.
Comment 15 Spies Steven 2009-05-12 14:40:14 UTC
I really would like to see this small change to flac make it into the 7.3.3
release, thanks!
Comment 16 Andy Grundman 2009-05-13 07:03:26 UTC
Updated flac binaries in change 26557.
Comment 17 Spies Steven 2009-05-13 11:22:08 UTC
*** Bug 9029 has been marked as a duplicate of this bug. ***
Comment 18 Spies Steven 2009-05-13 11:44:27 UTC
*** Bug 10712 has been marked as a duplicate of this bug. ***
Comment 19 James Richardson 2009-05-28 08:43:30 UTC
Verified fixed in 7.3.3 r26751
Comment 20 James Richardson 2009-06-17 09:36:39 UTC
This bug has been fixed in the 7.3.3 release version of SqueezeCenter!

If you haven't already. please download the new version from http://www.logitechsqueezebox.com/support/download-squeezecenter.html 

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