[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 
Messages posted by: evaspaceman
Forum Index » Profile for evaspaceman » Messages posted by evaspaceman
Author Message
You CAN run 2 instances of Air Video server on one user account. I have had multiple servers running on one machine for almost 2 years. Having multiple servers running solved the issue for me of needing multiple passwords to grant access to different directories.

You will need to have 2 copies of the server .jar file with different names, 2 properties files (1 for each instance with different names), and 2 config files (1 for each instance with different names). Each instance should be run on a different port. Each of the instances must be run under a different port. To do this, use the command "server.port = 42xxx" within the properties files.

Here is a link for installation instructions on Ubuntu 10.04. These can be followed, just duplicate each of the files mentioned above.

http://www.inmethod.com/forum/posts/preList/3093/17522.page#17522
I too prefer the double tap zoom feature. I'm glad to hear that this feature will be re-incorporated.

Thanks for continuously trying to improve the app.
I too would like this feature. In the mean time, this capability can be attained by running multiple instances of the air video server on different ports with different folders defined.
You will need to create the airvideo.conf file. See the install/confit instructions I posted forUbuntu 10.04. You can use this an Taylor it for multiple instances.

http://www.inmethod.com/forum/posts/preList/3093/17522.page#17522
The init file I was referring to is really the configuration file (not the properties file). In Ubuntu the airvideo.conf (can be named anything) file is located in the /etc/init directory. The path should look like: /etc/init/airvideo.conf

It is possible to run 2 instances of Air Video. You will need to have 2 copies of the alpha 5 .jar files with different names, 2 properties files (1 for each instance with different names), and 2 init files (1 for each instance with different names). Each instance should be run on a different port. Each of the instances must be run under a different port. To do this, use the command "server.port = 42xxx" within the properties files.
Follow the instructions here. Alpha 5 works great on Lucid.
http://www.inmethod.com/forum/posts/preList/3093/17522.page#17522
I have had similar experiences. Since I updated FFMPEG, video transcoding has been slower. My CPU is not fast enough to support realtime conversions, so my experience is limited to offline conversion only.
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

Are there any new features added in Alpha 5? What are all of the configuration (properties) file options?
Thanks. Installed the new x256 library and compiling FFMPEG worked perfect; although, video conversion quality with this new version appears to be significantly lower. I'm disappointed with this newer release of FFMEG.
I am getting the following error message with I try configure FFMPEG for installation on Ubuntu 10.04.

ERROR: libx264 version must be >= 0.99.

The configure command I am using is: ./configure --enable-pthreads --disable-shared --enable-static --enable-gpl --enable-libx264 --enable-libmp3lame

Any suggestions?
What are the options that need to be enables when compiling the newer build of FFMPEG? The option to compile with libfaad enabled (like previous builds) appears to have been removed.
 
Forum Index » Profile for evaspaceman » Messages posted by evaspaceman
Go to:   
Powered by JForum 2.1.8 © JForum Team