So after a few hours of tinkering and digging around the tubes, I found a solution. Thought I'd share it with rest of the world.
Found
this page that documents a few different ways to transcode.
Figured it'd be worth a shot to try a few ways suggested. What worked for me:
- Code: Select all
sudo apt-get install -y flac
sudo su subsonic -c 'ln -s /usr/bin/flac /var/subsonic/transcode/flac'
First line installs flac.
Second line creates a symbolic link as my user 'subsonic' from the flac installation to transcoding folder used by subsonic.
In subsonic transcoding section, remove flac from the default 'mp3 audio'
- Add transcoding just for flac to mp3.
- Step 1: flac --decode --stdout %s
- Step 2: ffmpeg -i - -acodec libmp3lame -ab %bk -f mp3 -

You're welcome.

One thing to note was that this was a copypasta (copy and paste) job in regards to the transcoding settings. Is there a better (sounding) way to do this?\
UPDATE - 11/17/2013So this streams flac at 128 kbits/s. Yes, amazing quality flac files at at 128 kbits/s. To change this, I updated step 2 to stream at 320 kbits/s:
ffmpeg -i - -acodec libmp3lame -ab
320k -f mp3 -