You are not logged in.

#1 2011-08-29 07:33:39

unhammer
Member
Registered: 2009-10-01
Posts: 99
Website

[SOLVED] subsonic not transcoding after ffmpeg upgrade (libavcore.so)

(found the solution while writing, posting since I got no search hits for 'libavcore.so subsonic')

I had a problem where ogg files would not play in subsonic, and /var/subsonic/subsonic.log would show me

[2011-08-29 09:23:21,890] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/home/me/Musikk/Joanna_Newsom/Ys/2.Monkey_&_Bear.ogg] [-v] [0] [-f] [wav] [-]
[2011-08-29 09:23:21,892] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/lame] [-b] [128] [--tt] [Monkey & Bear] [--ta] [Joanna Newsom] [--tl] [Ys] [-S] [--resample] [44.1] [-] [-]
[2011-08-29 09:23:21,892] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: error while loading shared libraries: libavcore.so.0: cannot open shared object file: No such file or directory

Turns out I had an old binary of ffmpeg in /var/subsonic/transcode, and when the rest of ffmpeg was upgraded, the old binary wouldn't work. Solution:

$ sudo rm /var/subsonic/transcode/ffmpeg
$ sudo ln -s /usr/bin/ffmpeg /var/subsonic/transcode/ffmpeg

Last edited by unhammer (2011-08-29 07:34:21)

Offline

Board footer

Powered by FluxBB