Hi, I am running Ubuntu 12.04, and here is the solution I went through to get all this to work after many hours:
My history:
-Had a successfully running version on MS Windows, so I knew how to configure it to make it work.
-Installed Ubuntu 12.04 (Server Dist). Added KDE and RDP so I could have a window environment.
-Installed Serviio on Ubuntu 12.04 based on "http://download.serviio.org/releases/serviio-0.6.2-linux.tar.gz".
+Installed it in /opt/serviio (this is up to you)
+Added plugins (Hulu, CBS, and YouTube) groovy files
-Followed the directions in the README, which said to install FFMPEG.
+So this would mean something like "sudo apt-get intall ffmpeg" for most of us.
+Setup Serviio to start on reboot.
+Reboot, its alive now, and feeling good.
-Went to configure it via the console, I think this post helped me get the console open (I think my issue was because I had a server dist, desktop install probably wont have any issue here)"http://forum.serviio.org/viewtopic.php?f=5&t=2719".
+Manually run "./serviio-console.sh", it will open up
+I saw my TV in the list of profiles, set it to "Sony BD Player / SMP".
+Used my working MS WIndows config to config this new install, here are some examples that work.
+http://www.hulu.com/feed/show/902/episodes (add as Online RSS/Atom Feed)
+http://www.cbs.com/shows/60_minutes/video/ (add aWeb Resource)
+http://gdata.youtube.com/feeds/api/users/YOUR_ID_HERE/favorites (add as Online RSS/Atom Feed)
+For YouTube, you must have a YouTube account, and then add a couple favorites in the "Video Manager > Favorites".
+Also Enabled Transcoding, and set a location file.
-Was ready to go and start watching, did a reboot, went to the TV, saw the shows, and pressed play.
-Sadly, I got the errors that let me to this posting!!!
-Here is where the countless hours started, and you are probably at too if you are reading this.
-I followed the directions of someone above who amazingly knew the issues of what was left out of the FFMPEG package.
+apt-get install libavcodec-extra-53 libavformat-extra-53
-So now my YouTube worked fully, but not my Hulu/CBS (video=ok audio=FAIL).
+The audio sounded like a high pitch hissing.
+FYI, The "profiles.xml" never needed to be changed for my Sony TV.
+FYI, The plugins never needed to be changed for me (downloaded in year 2012 sometime off the Serviio Support Site).
-These input streams are different encodings, so some type work and some dont, made me think the issue was still the FFMPEG install. Because I saw in DEBUG logging Serviio is trying to transcode them both to the same output type, which I know my TV can handle since it works for YouTube.
+TIP: Learn to use the "DEBUG" logging in config/log4j.xml.
+Look for the lines "Found Format profile for transcoded file ..." and "Starting ffmpeg -i ..."
-Basically, I knew that the FFMPEG default package for Ubuntu 12.04 was not right.
+It was time to compile from the FFMPEG source.
+You could get it from "http://ffmpeg.org/", but I went with "http://download.serviio.org/opensource/ffmpeg-0.9.tar.gz".
-You have to first configure the Makefile (I combined several postings to derive this):
./configure --enable-static --disable-shared --bindir=/tmp/ffmpeg
--disable-ffplay --disable-ffserver --enable-pthreads --disable-mmx
--enable-gpl --enable-libfaac --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-nonfree --enable-version3 --enable-librtmp
--pkg-config=pkg-config
-As you run this you will probably get numerous errors saying "lib<XYZ>" not found.
+To solve these you will need to do "sudo apt-get install libXYZ-dev".
-I also had to do "apt-get install pkg-config".
-Its really hard to remember how many extra packages I installed, but it was a lot of trial and error
-So the default binary you probably had looks like:
sagan@host:/usr/bin$ ls -l ffmpeg
-rwxr-xr-x 1 root root 100816 Mar 21 22:31 ffmpeg
-When you compile this it should look like:
sagan@host:/usr/local/bin$ ls -l
-rwxr-xr-x 1 root root 8474392 May 17 01:40 ffmpeg
-Notice that the compiled one is much larger, thus the "static" linking (I think). This way it is using exaclty what you put into it. You should also run it manually (./ffmpeg) and verify the output:
----------------
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
built on May 17 2012 01:37:57 with gcc 4.6.3
configuration: --enable-static --disable-shared --bindir=/tmp/ffmpeg --disable-ffplay --disable-ffserver --enable-pthreads
--disable-mmx --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-librtmp
--pkg-config=pkg-config
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'
----------------
-Also run "./ffmpeg -protocols" and search for things like (these match what is seen in the serviio.log during DEBUG):
----------------
...
IO. rtmp
IO. rtmpt
IO. rtmpe
IO. rtmpte
IO. rtmps
...
----------------
-I didnt remove my old ffmpeg install (probably should, but something works dont screw with it).
-But I added my newly compiled one into "/usr/local/bin", you just need to add it somewhere in the $PATH before the other installs. But again, probably remove the old if you can.
-Reboot, and it all worked.