AirVideo Server for iPhone/iPad- a "how-to"


Recommended Posts

  • Replies 333
  • Created
  • Last Reply

Top Posters In This Topic

Has anyone updated there airvideo cleint and server software to the above new versions yet?

 

I have!

(Air Video Server Version 2.4.5-beta5)

care to give any steps you took?    ;D I want to update but I don't want to screw it up.

 

I'm sorry, I mixed it up with the Mac version. Currently - using the "Pkg Manager" - Alpha4 is being installed.

(http://inmethod.com/air-video/download/linux/alpha4/AirVideoServerLinux.jar)

Link to comment
  • 2 weeks later...

Stupid question time. I used the convert option. Where is the video converted to? I clicked on the add to iTunes button that popped up and it gives me an error asking if I want to report it.

 

This is on an iPad

 

Ah I see it copies it to your unRAID folder. Interesting

Link to comment
  • 2 weeks later...

Hi Everyone,

Just wanted to say first off that I think unRaid is a great product and the community addons are excellent.

 

I have a problem with my airvideo installation, I installed via unMenu which seemed to go fine according to the log below

 

Verifying package faac-1.26-i486-1gds.tgz.

Installing package faac-1.26-i486-1gds.tgz:

PACKAGE DESCRIPTION:

# faac (Freeware Advanced Audio Coder)

#

# FAAC is an Advanced Audio Coder (MPEG2-AAC, MPEG4-AAC).

# The goal of FAAC is to explore the possibilities of AAC and exceed

# the quality of the currently best MP3 encoders.

#

# Packaged by Georgi D. Sotirov

#

Executing install script for faac-1.26-i486-1gds.tgz.

Package faac-1.26-i486-1gds.tgz installed.

 

Verifying package faad2-2.6.1-i486-2gds.tgz.

Installing package faad2-2.6.1-i486-2gds.tgz:

PACKAGE DESCRIPTION:

# FAAD2 (Freeware Advanced Audio Decoder)

#

# FAAD2 is a reference decoder frontend and decoder library for

# MPEG2 and MPEG4 AAC.  The supported AAC profiles are HE, Main, LC,

# LTP, and LD.  It also supports all these profiles in their ER

# (Error Resilient) equivalent.  This decoder can be used for DRM

# (Digital Radio mondiale) without any major changes.

# The 2.0 version of FAAD2 adds the ability to decode HE AAC (High

# Efficiency) and PS AAC (Parametric Stereo) files.

#

# Packaged by Georgi D. Sotirov

Executing install script for faad2-2.6.1-i486-2gds.tgz.

Package faad2-2.6.1-i486-2gds.tgz installed.

 

Verifying package lame-3.98.2-i486-1gds.tgz.

Installing package lame-3.98.2-i486-1gds.tgz:

PACKAGE DESCRIPTION:

# Lame (LAME Ain't an Mp3 Encoder)

#

# LAME is an educational tool to be used for learning about MP3

# encoding. The goal of the LAME project is to use the open source model

# to improve the psycho acoustics, noise shaping and speed of MP3.

#

# Packaged by Georgi D. Sotirov

#

Executing install script for lame-3.98.2-i486-1gds.tgz.

Package lame-3.98.2-i486-1gds.tgz installed.

 

Verifying package x264-20100425-i486-1alien.tgz.

Installing package x264-20100425-i486-1alien.tgz:

PACKAGE DESCRIPTION:

# x264 (a free h264/avc encoder)

#

# x264 is a free library for encoding H264/AVC video streams.

# The code is written from scratch.

# This package includes a commandline H.264 encoder.

#

# x264 home: http://www.videolan.org/developers/x264.html

#

Executing install script for x264-20100425-i486-1alien.tgz.

Package x264-20100425-i486-1alien.tgz installed.

 

Verifying package xvidcore-1.2.1-i486-1sl.tgz.

Installing package xvidcore-1.2.1-i486-1sl.tgz:

PACKAGE DESCRIPTION:

# xvidcore (Xvid encoding)

#

# XviD is a high performance and high quality MPEG-4 video de-/encoding

# solution.

#

Executing install script for xvidcore-1.2.1-i486-1sl.tgz.

Package xvidcore-1.2.1-i486-1sl.tgz installed.

 

Verifying package git-core-0.99.6-i486-1mik.tgz.

Installing package git-core-0.99.6-i486-1mik.tgz:

PACKAGE DESCRIPTION:

# git-core 0.99.6

#

# The GIT itself is merely an extremely fast and flexible

# filesystem-based database designed to store directory trees with

# regard to their history.

# This is a stupid (but extremely fast) directory content manager.

# It doesn't do a whole lot, but what it _does_ do is track directory

# contents efficiently.

#

Package git-core-0.99.6-i486-1mik.tgz installed.

 

Verifying package jam-2.5-i486-2gal.tgz.

Installing package jam-2.5-i486-2gal.tgz:

PACKAGE DESCRIPTION:

# Jam (a build tool)

#

# Jam is a software build tool that makes building simple things

# simple and building complicated things manageable.

# It has been freely available as C source for many years from the

# Perforce Public Depot and is widely used to build commercial and

# academic software.

# A good solution for conventional C/C++ compile-and-link builds.

#

Package jam-2.5-i486-2gal.tgz installed.

 

Verifying package mpeg4ip-1.5.0.1-i486-1ahl.tgz.

Installing package mpeg4ip-1.5.0.1-i486-1ahl.tgz:

PACKAGE DESCRIPTION:

# mpeg4ip (MPEG-4 library and tools)

#

# An end-to-end system for streaming multimedia based on MPEG-4.

#

# http://www.mpeg4ip.net/

#

# Packaged by: [email protected]

Executing install script for mpeg4ip-1.5.0.1-i486-1ahl.tgz.

Package mpeg4ip-1.5.0.1-i486-1ahl.tgz installed.

 

Verifying package yasm-0.7.2-i486-1sl.tgz.

Installing package yasm-0.7.2-i486-1sl.tgz:

PACKAGE DESCRIPTION:

# Yasm (Modular Assembler Project)

#

# Yasm is a complete rewrite of the NASM assembler under the "new" BSD

# License (some portions are under other licenses, see COPYING for details)

# It is designed from the ground up to allow for multiple assembler

# syntaxes to be supported (eg, NASM, TASM, GAS, etc.) in addition to

# multiple output object formats and even multiple instruction sets.

# Another primary module of the overall design is an optimizer module.

#

Package yasm-0.7.2-i486-1sl.tgz installed.

 

Verifying package libX11-1.1.5-i486-1.tgz.

Installing package libX11-1.1.5-i486-1.tgz:

PACKAGE DESCRIPTION:

# libX11

#

# libX11 is part of X11.

#

# For more information about the X.Org Foundation (the providers of the

# X.Org implementation of the X Window System), see their website:

#

# http://www.x.org

#

Executing install script for libX11-1.1.5-i486-1.tgz.

Package libX11-1.1.5-i486-1.tgz installed.

 

Verifying package libxcb-1.0-i486-1ced.tgz.

Installing package libxcb-1.0-i486-1ced.tgz:

PACKAGE DESCRIPTION:

# libxcb

#

# libxcb provides an interface to the X Window System protocol, which

# replaces the current Xlib interface. It has several advantages over

# Xlib, including:

# - size: small library and lower memory footprint

# - latency hiding: batch several requests and wait for the replies

#  later

# - direct protocol access: one-to-one mapping between interface and

#  protocol

# - proven thread support: transparently access XCB from multiple ...

Executing install script for libxcb-1.0-i486-1ced.tgz.

Package libxcb-1.0-i486-1ced.tgz installed.

 

Verifying package libXau-1.0.4-i486-1.tgz.

Installing package libXau-1.0.4-i486-1.tgz:

PACKAGE DESCRIPTION:

# libXau

#

# libXau is part of X11.

#

# For more information about the X.Org Foundation (the providers of the

# X.Org implementation of the X Window System), see their website:

#

# http://www.x.org

#

Executing install script for libXau-1.0.4-i486-1.tgz.

Package libXau-1.0.4-i486-1.tgz installed.

 

warning: commands will be executed using /bin/sh

job 9 at Sun May  8 20:23:00 2011

 

My ipad doesn't connect and while troublshooting I cannot even telnet to port 45631 on my server from my Windows PC from where I have connectivity to everything else.

I tried "netstat -ntulp" from putty and don't see the port in this list.

I'm a Linux newb so any help would be appreciated.

Thanks

Link to comment

Oh and yes I started airvideo via unMenu and this seems successfull too

 

cd /boot/packages

+++ cd /boot/packages

echo "air-video-server.sh test.properties &" | at now + 1 minute

+++ echo 'air-video-server.sh test.properties &'

+++ at now + 1 minute

warning: commands will be executed using /bin/sh

job 10 at Sun May  8 20:33:00 2011

Link to comment

Sprry to bump this but does nobody have a suggestion?

I tried uninstalling, rebooting, I just cannot see the port.

 

It may be the version of Airvideo used on install is to old and does not work with the version on your iPad.  If that is the case then a new .conf file using the newest version will need to be created.

 

I don't have a lot of time right now, but if I get a chance in the next couple days I will take a look.

Link to comment

I just downloaded the alpha6 version. I changed the download path nad MD5 checksum in the .conf file and tried reinstalling, it still doesn't work.

Any help would be greatly appreciated.

I'm using unRaid 4.7 Pro by the way.

Thanks

 

If I get some free time I will take a look at it, though I can't promise anything.

Link to comment

Tried installing alpha 6, didn't work.  Was running alpha 4 successfully.

 

Did the following:

 

Set the package to not install at reboot.  Rebooted unraid.  Installed the GCC package.  Deleted /boot/packages/ffmpeg

 

Changed the following parts of the package config:

...

 

# the airvideo server .jar file

PACKAGE_URL http://www.inmethod.com/air-video/download/linux/alpha6/AirVideoServerLinux.jar

PACKAGE_FILE AirVideoServerLinux.jar

PACKAGE_MD5 b619c088eea230afa92181393a36e1c0

 

...

 

# the ffmpeg for airvideo

PACKAGE_EXTRA_URL http://inmethod.com/air-video/download/ffmpeg-for-2.4.5-beta6.tar.bz2

PACKAGE_EXTRA_FILE ffmpeg-for-2.4.5-beta6.tar.bz2

PACKAGE_EXTRA_MD5 241844e9d41bbd9f8852955291490910

 

...

 

PACKAGE_INSTALLATION echo "Version: 2.2.5-alpha6" > /var/log/airvideo

PACKAGE_INSTALLATION cd "${PACKAGE_DIRECTORY}"

PACKAGE_INSTALLATION echo "bash air-video-server.sh test.properties" | at now + 1 minute

PACKAGE_VERSION_TEST grep "Version:" /var/log/airvideo | awk '{print $2}'

PACKAGE_VERSION_STRING 2.2.5-alpha6

PACKAGE_MEMORY_USAGE Heavy

 

 

It will play files (already converted or natively supported), but not convert them (neither live nor offline).  It WILL generate thumbnails, but very slowly, though which is interesting.

Link to comment

I spoke too soon about it not working.  I forgot I had also installed ps3 media sever, and that was installing older libs (specifically an older x264).  The changes I made appear to work once I disable the installation of ps3 media server.

 

AirPlay is working GREAT!

 

I also made a change to the ffmpeg compile flags based on what some users were saying on the air video forums (lib faac isn't necessary anymore)

 

PACKAGE_INSTALLATION    ./configure.orig.fixed --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads \

PACKAGE_INSTALLATION                        --enable-libmp3lame --enable-libx264 \

PACKAGE_INSTALLATION                        --enable-libxvid --enable-x11grab --disable-shared --enable-static;

PACKAGE_INSTALLATION    make

 

Link to comment

I spoke too soon about it not working.  I forgot I had also installed ps3 media sever, and that was installing older libs (specifically an older x264).  The changes I made appear to work once I disable the installation of ps3 media server.

 

AirPlay is working GREAT!

 

I also made a change to the ffmpeg compile flags based on what some users were saying on the air video forums (lib faac isn't necessary anymore)

 

PACKAGE_INSTALLATION     ./configure.orig.fixed --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads \

PACKAGE_INSTALLATION                        --enable-libmp3lame --enable-libx264 \

PACKAGE_INSTALLATION                        --enable-libxvid --enable-x11grab --disable-shared --enable-static;

PACKAGE_INSTALLATION     make

 

 

If you want to package up all your changes and send me the conf file I will have a look through it.

 

PS3MS interfering with Airvideo is not totally unexpected.  I had a little chance to mess with it last night and was coming to that conclusion when I was doing some searching/reading that ffmpegs might be interfering with each other.

 

A check at the beginning of the install file can probably check to see if PS3MS is installed and then exit and give a warning about AirVideo not working if both are installed.

Link to comment

I spoke too soon about it not working.  I forgot I had also installed ps3 media sever, and that was installing older libs (specifically an older x264).  The changes I made appear to work once I disable the installation of ps3 media server.

 

AirPlay is working GREAT!

 

I also made a change to the ffmpeg compile flags based on what some users were saying on the air video forums (lib faac isn't necessary anymore)

 

PACKAGE_INSTALLATION     ./configure.orig.fixed --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads \

PACKAGE_INSTALLATION                        --enable-libmp3lame --enable-libx264 \

PACKAGE_INSTALLATION                        --enable-libxvid --enable-x11grab --disable-shared --enable-static;

PACKAGE_INSTALLATION     make

 

based on all the activity, what do you think is best?

 

Put the .conf file from the first post in the official unMENU distribution... (knowing it is mostly working, but still broken)

or

Remove it completely from the distribution release_list so it will not clobber a locally edited version maintained in this thread until it does get to where it works for all.

 

If I remove it from the distribution list it will still possible to download the attachment .conf file from this thread and all will work as today, it will still be in your package manager list if you currently have it,  but the benefit is that unMENU will not overwrite your .conf file if you edit the .conf file to incorporate improvements.  

 

This package has never gotten to where it is stable and able to have users edit and change the configuration options and have them apply themselves without rebooting.

(It has gotten real close though)

I'd like to see it get to that point and once I see no further posts/complaints about how it acts when config variables are changed, I'll add the "stable" version back.

 

Your thoughts?

 

Optimally, I'd like to allow unMENU to grab the .conf file and affiliated release checksum/path from an alternate path, but before I do that I need to make some changes to unmenu_install.   (It has the ability to use alternate sources, but not the ability to chain to alternates from the main google.code repository.)

 

Joe L.

Link to comment

The ffmpegs themselves don't interfere, AirVideo installs its ffmpeg in /boot/packages/ffmpeg and hard references this version (via the test.properties file that is passed as a parameter).  All the libraries referenced by both PS3 Media Server (I used a tutorial that was posted here, and it was happening at the end of my go script so it would overwrite the libs installed by unmenu) and AirVideo Server are the same version, except for the x264 lib (the new AirVideo requires the newer one, the old AirVideo alpha doesn't require it, but is very slow when being used).

 

The changes in full are (2 URLs/filenames/MD5s, the ./configure.orig.fixed parameters, and the version verification info):

 

 

...

 

# the airvideo server .jar file

PACKAGE_URL http://www.inmethod.com/air-video/download/linux/alpha6/AirVideoServerLinux.jar

PACKAGE_FILE AirVideoServerLinux.jar

PACKAGE_MD5 b619c088eea230afa92181393a36e1c0

 

...

 

# the ffmpeg for airvideo

PACKAGE_EXTRA_URL http://inmethod.com/air-video/download/ffmpeg-for-2.4.5-beta6.tar.bz2

PACKAGE_EXTRA_FILE ffmpeg-for-2.4.5-beta6.tar.bz2

PACKAGE_EXTRA_MD5 241844e9d41bbd9f8852955291490910

 

...

 

PACKAGE_INSTALLATION     ./configure.orig.fixed --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads \

PACKAGE_INSTALLATION                        --enable-libmp3lame --enable-libx264 \

PACKAGE_INSTALLATION                        --enable-libxvid --enable-x11grab --disable-shared --enable-static;

PACKAGE_INSTALLATION     make

 

...

 

PACKAGE_INSTALLATION echo "Version: 2.2.5-alpha6" > /var/log/airvideo

PACKAGE_INSTALLATION cd "${PACKAGE_DIRECTORY}"

PACKAGE_INSTALLATION echo "bash air-video-server.sh test.properties" | at now + 1 minute

PACKAGE_VERSION_TEST grep "Version:" /var/log/airvideo | awk '{print $2}'

PACKAGE_VERSION_STRING 2.2.5-alpha6

PACKAGE_MEMORY_USAGE Heavy

 

 

There were no modifications to any file other than the package file, with the exception of deleting the ffmpeg which would only have to be done at a version upgrade.  I'm not sure how to go about that as part of the package script as it's a custom ffmpeg and doesn't appear to properly output the version number and I'm not very well versed in the packages (I can change names and numbers, but adding steps is beyond me currently).

Link to comment

I was trying to convert a few videos and it always asks where I want the videos coverted to, but the only option is the current folder. I did a search and found you can change the location via the server settings, but not knowing where they are confuses me. LOL

http://www.inmethod.com/forum/posts/list/2277.page

 

Anybody know where they are to change?

 

Honestly not sure, but if I had to guess, it would be a line/config in the .properties file

Link to comment

I was trying to convert a few videos and it always asks where I want the videos coverted to, but the only option is the current folder. I did a search and found you can change the location via the server settings, but not knowing where they are confuses me. LOL

http://www.inmethod.com/forum/posts/list/2277.page

 

Anybody know where they are to change?

 

I don't believe that can be changed in the linux version currently (lots of things are hard-coded for the alpha).

Link to comment

The ffmpegs themselves don't interfere, AirVideo installs its ffmpeg in /boot/packages/ffmpeg and hard references this version (via the test.properties file that is passed as a parameter).  All the libraries referenced by both PS3 Media Server (I used a tutorial that was posted here, and it was happening at the end of my go script so it would overwrite the libs installed by unmenu) and AirVideo Server are the same version, except for the x264 lib (the new AirVideo requires the newer one, the old AirVideo alpha doesn't require it, but is very slow when being used).

 

The changes in full are (2 URLs/filenames/MD5s, the ./configure.orig.fixed parameters, and the version verification info):

 

 

...

 

# the airvideo server .jar file

PACKAGE_URL http://www.inmethod.com/air-video/download/linux/alpha6/AirVideoServerLinux.jar

PACKAGE_FILE AirVideoServerLinux.jar

PACKAGE_MD5 b619c088eea230afa92181393a36e1c0

 

...

 

# the ffmpeg for airvideo

PACKAGE_EXTRA_URL http://inmethod.com/air-video/download/ffmpeg-for-2.4.5-beta6.tar.bz2

PACKAGE_EXTRA_FILE ffmpeg-for-2.4.5-beta6.tar.bz2

PACKAGE_EXTRA_MD5 241844e9d41bbd9f8852955291490910

 

...

 

PACKAGE_INSTALLATION     ./configure.orig.fixed --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads \

PACKAGE_INSTALLATION                        --enable-libmp3lame --enable-libx264 \

PACKAGE_INSTALLATION                        --enable-libxvid --enable-x11grab --disable-shared --enable-static;

PACKAGE_INSTALLATION     make

 

...

 

PACKAGE_INSTALLATION echo "Version: 2.2.5-alpha6" > /var/log/airvideo

PACKAGE_INSTALLATION cd "${PACKAGE_DIRECTORY}"

PACKAGE_INSTALLATION echo "bash air-video-server.sh test.properties" | at now + 1 minute

PACKAGE_VERSION_TEST grep "Version:" /var/log/airvideo | awk '{print $2}'

PACKAGE_VERSION_STRING 2.2.5-alpha6

PACKAGE_MEMORY_USAGE Heavy

 

 

There were no modifications to any file other than the package file, with the exception of deleting the ffmpeg which would only have to be done at a version upgrade.  I'm not sure how to go about that as part of the package script as it's a custom ffmpeg and doesn't appear to properly output the version number and I'm not very well versed in the packages (I can change names and numbers, but adding steps is beyond me currently).

 

I am using the above changes and all seems to work just fine!  Thanks barrettj

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.