[Logo] Air Video Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Moderation Log] Moderation Log   [Register] Register / 
[Login] Login 
AIRVIDEO Server on Ubuntu  XML
Forum Index » Air Video Problems and Solutions
Author Message
vacancy



Joined: 03/12/2011 19:06:11
Messages: 1
Offline

Hello,

i'm using an ubuntu server to store all my videos. I've found different howtos to install AirVideo on an Ubuntu Server but they doesn't work. Can you please provide also an Ubuntu Installer?
evaspaceman



Joined: 01/27/2011 02:57:39
Messages: 13
Offline

The following works for me on Ubuntu Server 10.04:

1. Download Alpha 5 of the jar file: http://inmethod.com/air-video/download/linux/alpha5/AirVideoServerLinux.jar
(Check her for newer: http://www.inmethod.com/forum/posts/list/1856.page )

2. Download the source code for the patched ffmpeg: http://inmethod.com/air-video/licenses.html

3. At the command line, run the following to install tools needed to build the ffmpeg and to run the Air Video server:
sudo apt-get install faac libmp3lame-dev libfaad-dev mpeg4ip-server git-core pkg-config

4. Install the latest x264 packages from here (libx264-xxx & libx264-dev):
http://www.videolan.org/developers/x264.html

NOTE: Direct link for the latest UNOFFICIAL x264 packages for Ubuntu 10.04: ftp://itsuki.fkraiem.org/pub/x264/


5. Build the custom ffmpeg and install it in /usr/local/bin by performing the following commands:
./configure --enable-pthreads --disable-shared --enable-static --enable-gpl --enable-libx264 --enable-libmp3lame

make

sudo make install

***NOTE: to uninstall ffmpeg perform: make -n install (from compile directory)

6. Create a configuration file in e.g. /usr/local/etc/airvideo.properties, containing:

path.ffmpeg = /usr/local/bin/ffmpeg
path.mp4creator = /usr/bin/mp4creator
path.faac = /usr/bin/faac
password =
subtitles.encoding = windows-1250
subtitles.font = Verdana
folders = Movies:/path/to/my/Movies,MoreMovies:/path/to/more/Movies


(Note: Replace the value for “folders” with something that match your system.)


7. Create a file /etc/init/airvideo.conf with this content:

start on runlevel [2345]
stop on shutdown
respawn

exec sudo -H -n -u root /usr/bin/java -jar /usr/local/lib/airvideo/AirVideoServerLinux.jar /usr/local/etc/airvideo.properties


NOTE: This will tell UpStart to run the server process as user root 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 start/stop AirVideo manually by issuing the following commands:
sudo start airvideo
or
sudo stop airvideo

coolwizardz



Joined: 07/15/2011 06:48:53
Messages: 1
Offline

does this work on Ubuntu 13.04 too?
 
Forum Index » Air Video Problems and Solutions
Go to:   
Powered by JForum 2.1.8 © JForum Team