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
transcoding fixes
- Madsonic
- Administrator
- Posts: 986
- Joined: 07 Dec 2012, 03:58
- Has thanked: 1204 times
- Been thanked: 470 times
transcoding fixes
Found a interesting note !
- Madsonic
- Administrator
- Posts: 986
- Joined: 07 Dec 2012, 03:58
- Has thanked: 1204 times
- Been thanked: 470 times
Re: transcoding fixes
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
Last bumped by Madsonic on 16 Aug 2015, 21:07.