Page 1 of 1

transcoding fixes

Posted: 03 Dec 2013, 00:00
by Madsonic
Found a interesting note !
Commodore wrote:So, I've noticed in the last two versions at least (4.7 and 4.8 for sure; I don't recall if this was an issue in 4.6) that some FLAC files will not stream properly through the web interface. The file will transcode, but will not start playing until scrubbing past the first second of the track. This gets pretty obnoxious, but I figured out that it's a problem with the version of ffmpeg supplied with subsonic.

So, here's how I fixed it on my server, which is running Ubuntu 10.04, but this should work on any Ubuntu system certainly, likely any Debian system, and substituting the package manager commands for appropriate ones, likely any other Linux system as well.

This requires the "multiverse" repositories to be enabled on Ubuntu (in my case, lucid/multiverse, lucid-updates/multiverse and lucid-security/multiverse)

info: https://help.ubuntu.com/community/Repositories/Ubuntu

Code: Select all

sudo apt-get install ffmpeg libavcodec-extra-52 libavdevice-extra-52 libavfilter-extra-0 libavformat-extra-52 libavutil-extra-49 libpostproc-extra-51 libswscale-extra-0
for Ubuntu 13.10

Code: Select all

sudo apt-get install ffmpeg libavcodec-extra-53 libavdevice-extra-53 libavfilter-extra-2 libavformat-extra-53 libavutil-extra-51 libpostproc-extra-52 libswscale-extra-2
now either remove or rename the shipped ffmpeg package:

Code: Select all

sudo mv /var/madsonic/transcode/ffmpeg /var/madsonic/transcode/ffmpeg-bak
and symlink in the system one:

Code: Select all

sudo ln -s `which ffmpeg` /var/madsonic/transcode/ffmpeg
and you're done!

Re: transcoding fixes

Posted: 16 Aug 2015, 21:07
by Madsonic
other transcoder

Code: Select all

sudo apt-get install ffmpeg xmp lame flac

sudo rm /var/madsonic/transcode/ffmpeg
sudo rm /var/madsonic/transcode/lame
sudo rm /var/madsonic/transcode/xmp
sudo rm /var/madsonic/transcode/flac

sudo ln -s /usr/bin/ffmpeg /var/madsonic/transcode/ffmpeg
sudo ln -s /usr/bin/flac /var/madsonic/transcode/flac
sudo ln -s /usr/bin/xmp /var/madsonic/transcode/xmp
sudo ln -s /usr/bin/lame /var/madsonic/transcode/lame