Installing AirVideo Server on Debian Squeeze
Introduction
If you didn’t already know, AirVideo is a nice utility which lets you stream your media files to your iOS devices. It compresses and re-encodes them on the fly so that it is playable by these devices.
If you don’t already have it, AirVideo is $2.99 on the App Store.
This tutorial helps you setup AirVideo on your Linux server, specifically Debian.
Steps
First, add the Debian Multimedia to your apt-sources if you have not already done so.
Next, we need to compile libav! But we need to install the dependencies first.
Finally, we can get our custom version of libav, specifically patched for AirVideo. Do not use the latest, it will not work otherwise. Do not run make install
– we will place our custom build ourselves.
When the build is finally done, we want to create our own folder to place AirVideo in.
Time to actually get the AirVideo JAR file!
Next, we need to create the properties.conf
file that AirVideo will parse when starting. Create the file /etc/airvideo/properties.conf
with the following content. Remember to replace everything that is in <>
.
Now run crontab -e
and place the following line in.
Use the same line to start your server! Make sure you have the port 45631
open on your firewalls/computer!