Pascal Hibon wrote: 
> Hi Ralphy,
> 
> Since I only found two files who won't play, I prefer option 3.
> I have send you a PM.

Upon further investigations, I found that those 2 files don't have all
their mp4 atoms at the beginning of the file.

The specific ffmpeg library error is 'moov atom not found'

This has always been the case with alac and aac files and Triode talked
about it many times first when he added those decoders to squeezelite.

When that's the case, squeezelite can't play the file, it needs to find
the moov atom before the audio stream.

The alac files convert to wav using ffmpeg -i file.m4a file.wav as
ffmpeg can seek to the end of the file to read the atoms and then seek
back to the audio stream.  

I've encounter this before and fixed it using the mp4file program from
'mp4v2 2.0.0'
(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mp4v2/mp4v2-2.0.0.tar.bz2)

The files play fine after running

mp4file --optimize filename.m4a

I can upload the "fixed" files, however you're likely to run into this
problem again in the future and I'd suggest installing mp4v2 2.0+ or
build it from source.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to