AirVideo is a Client/Server-Mediaplayer, which allows you to stream videos directly from your PC to your iPhone. Its server software started as Windows-/Mac-only but now there’s also a Linux server module available, too.
All details are explained in their user forums.
download the customized version of FFmpeg from: http://www.inmethod.com/air-video/licenses.html (use the 2.2.5 version!) and unpack it to some directory
change to the directory to where you have unpacked FFmpeg
./configure –enable-pthreads –disable-shared –enable-static –enable-gpl –enable-libx264 –enable-libmp3lame –enable-libfaad –disable-decoder=aac
test.propertiesand fix the paths to the 3 tools and your video directory:
path.ffmpegshould point to your just compiled
foldersformat is: <label1>
leave the other options as they are
finally you can run:
java -jar AirVideoServerLinux.jar test.properties
manually add the server (by its IP!) to AirVideo on your iPhone
To autostart AirVideoServer upon bootup, you can use UpStart which is the default way in Karmic Koala.
Just create a file
/etc/init/airvideo.conf with these contents:
start on runlevel  stop on shutdown respawn exec sudo -H -n -u mbirth /usr/bin/java -jar /opt/AirVideoServer/AirVideoServerLinux.jar /opt/AirVideoServer/test.properties
This will tell UpStart to run the server process as user
mbirth upon reaching one of the runlevels 2-5 and stop the server when the system shuts down.
respawn tells it to restart the server if it crashed.
You can also control it manually by doing
sudo start airvideo
sudo stop airvideo