Quote:
Originally Posted by Hubris
Hi Dave,
Just a quick update. WAV playback works — I can hear audio through the speaker, and pause/resume via the UI, which is great. MP3 playback, though, isn’t working. When I run sh playfile.sh /mnt/us/music/music.mp3, Sox reports “no handler for file extension mp3,” and GStreamer throws some plugin and caps-related warnings. No audio plays in the end.
WAVs are fine, so audio output itself seems functional. I’m guessing the Sox build is missing MP3 support.
Thanks again for all your work on this!
—Hubris
|
MP3 support should be there, so something is up. Perhaps somehow I missed a dependency of one of the supporting modules. Could you try the following for me:
Code:
LD_LIBRARY_PATH=/mnt/us/extensions/sox/library:$LD_LIBRARY_PATH ldd /mnt/us/extensions/sox/library/libmp3lame.so.0
and
Code:
LD_LIBRARY_PATH=/mnt/us/extensions/sox/library:$LD_LIBRARY_PATH ldd /mnt/us/extensions/sox/library/libmad.so.0
to see if they show any missing dependencies. If so, inform me so I can locate and add them.
If not, then edit the playfile.sh command to add a "-V4" option to the sox command line to produce debugging information.
Dave