Please click the like button if you find this useful, it keeps me motivated and lets me know how useful this post was to users. Thanks
Update: 12/12/2013
They renamed some ports and also added ffmpeg 2

to the ports tree. I have made a small change to the instructions and am compiling it now to see how it works. --- Tested and is working good streaming to my linux box. You can check what version you are using with
To upgrade to ffmpeg 2.x
log into your sonic jail as root user and run
Code:
# portsnap fetch update
this will take a little while. When that is done
Code:
# cd /usr/ports/multimedia/ffmpeg
Make sure the LAME section is checked and AAC if you want it.
Code:
# make install clean
When that is done we want to remove the old link in subsonic folder and create another one for the new ffmpeg version
Code:
# rm /home/sonic/subsonic/transcode/ffmpeg
Code:
# ln /usr/local/bin/ffmpeg /home/sonic/subsonic/transcode/ffmpeg
Verify your new link is owned by your regular user and not root
Code:
ls -l /home/sonic/subsonic/transcode/ffmpeg
That is it, we can now take advantage of all the new version 2 features and bug fixes.
Update 2:
It appears that the configure step already has Lame support turned on.:)
This is great news because we should just be able to use pkg to install ffmpeg instead of compiling from scratch.
It does not appear to be packaged yet so that will have to wait.