transcoding fixes
Posted: 03 Dec 2013, 00:00
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
for Ubuntu 13.10Code: 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
now either remove or rename the shipped ffmpeg package: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
and symlink in the system one:Code: Select all
sudo mv /var/madsonic/transcode/ffmpeg /var/madsonic/transcode/ffmpeg-bak
and you're done!Code: Select all
sudo ln -s `which ffmpeg` /var/madsonic/transcode/ffmpeg