FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › undefined symbol in ssc-ffmpeg.so: avcodec_register_all
- This topic has 2 replies, 2 voices, and was last updated 17 years, 6 months ago by rpedde.
-
AuthorPosts
-
20/05/2007 at 5:31 PM #1400thorstenhirschParticipant
Hi,
it has already been some weeks (before the firmware update of my SB from 2.5.x to 2.7.x) since I played my last ogg file, but when I tried it today, the SB told me “unable to play that format” and the filename was marked with an ‘x’. I couldn’t even find it by its tags (i searched for the artist). I could only see the filename when browsing all songs by title. Anyway, I thought upgrading firefly to the latest version (1586) might solve the problem. But it didn’t. First I compiled it with the same configuration as I had before, so I enabled sqlite3, upnp, flac and ogg. There were no startup errors in the logfile, but something must went wrong, because mt-daapd was not linked to the shared libraries of flac or ogg. Anyway, I decided to give ffmpeg a try and that’s where I’m stuck now:
2007-05-20 19:04:56 (00004000): Error loading plugin /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so: undefined symbol: avcodec_register_all
I already added /usr/local/lib to /etc/ld.so.conf long time ago. Here’s my output of ldd /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so:
libdl.so.2 => /lib/libdl.so.2 (0x2ae26000)
libpthread.so.0 => /lib/libpthread.so.0 (0x2ae68000)
libid3tag.so.0 => /usr/local/lib/libid3tag.so.0 (0x2aefe000)
libz.so.1 => /usr/lib/libz.so.1 (0x2af53000)
libsqlite3.so.0 => /usr/local/lib/libsqlite3.so.0 (0x2afa7000)
libogg.so.0 => /usr/local/lib/libogg.so.0 (0x2b05b000)
libvorbis.so.0 => /usr/local/lib/libvorbis.so.0 (0x2b0a0000)
libvorbisfile.so.3 => /usr/local/lib/libvorbisfile.so.3 (0x2b110000)
libFLAC.so.7 => /usr/local/lib/libFLAC.so.7 (0x2b159000)
libc.so.6 => /lib/libc.so.6 (0x2b1d9000)
/lib/ld.so.1 (0x55550000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2b373000)
libm.so.6 => /lib/libm.so.6 (0x2b3c3000)And ldd /usr/local/sbin/mt-daapd:
libdl.so.2 => /lib/libdl.so.2 (0x2ab00000)
libpthread.so.0 => /lib/libpthread.so.0 (0x2ab42000)
libid3tag.so.0 => /usr/local/lib/libid3tag.so.0 (0x2abd8000)
libz.so.1 => /usr/lib/libz.so.1 (0x2ac2c000)
libsqlite3.so.0 => /usr/local/lib/libsqlite3.so.0 (0x2ac80000)
libogg.so.0 => /usr/local/lib/libogg.so.0 (0x2ad34000)
libvorbis.so.0 => /usr/local/lib/libvorbis.so.0 (0x2ad79000)
libvorbisfile.so.3 => /usr/local/lib/libvorbisfile.so.3 (0x2ade8000)
libFLAC.so.7 => /usr/local/lib/libFLAC.so.7 (0x2ae31000)
libc.so.6 => /lib/libc.so.6 (0x2aeb1000)
/lib/ld.so.1 (0x2aaa8000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2b04b000)
libm.so.6 => /lib/libm.so.6 (0x2b09a000)By the way, firefly is running on a linkstation/mipsel.
20/05/2007 at 6:07 PM #10812thorstenhirschParticipantShouldn’t mt-daapd-ssc.sh find these commands?
# /usr/local/bin/mt-daapd-ssc.sh /mnt/hda/share/musik/niagara/la_verite/ultravision.ogg 0 0
/usr/local/bin/mt-daapd-ssc.sh: oggdec: command not found
/usr/local/bin/mt-daapd-ssc.sh: wavstreamer: command not found21/05/2007 at 2:24 AM #10813rpeddeParticipant@thorstenhirsch wrote:
Shouldn’t mt-daapd-ssc.sh find these commands?
# /usr/local/bin/mt-daapd-ssc.sh /mnt/hda/share/musik/niagara/la_verite/ultravision.ogg 0 0
/usr/local/bin/mt-daapd-ssc.sh: oggdec: command not found
/usr/local/bin/mt-daapd-ssc.sh: wavstreamer: command not foundYeah, maybe not. Your environment for daemons might be pretty sparse. You can edit the mt-daapd-ssc.sh and add the full path to the files in the script.
And that’s probably your best best for transcoding — using ssc-script rather than ffmpeg. ffmpeg (like other open source projects I know. *cough*) doesn’t seem to ever release stable versions, which means its impossible to code for it, as the api is constantly changing. If you have a snap from another time period than I do, then our APIs are difference, and no work.
For the most part, I only added it for windows machines as they don’t have an easy way to fork+exec or popen a console program.
— Ron
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.