Installing AirVideo Linux Server in Ubuntu

Update 2012/05/13

New website and Precise packages: http://rubiojr.github.com/airvideo-server-ui

Update 2011/12/05 Oneiric packages now available

  1. Open a Terminal

  2. Add the AirVideo PPA repository

    sudo add-apt-repository ppa:rubiojr/airvideo

  3. Update package index

    sudo apt-get update

  4. Install AirVideo Server

    sudo apt-get install airvideo-server

  5. Tweak the ‘folders’ property editing /opt/airvideo-server/AirVideoServerLinux.properties

  6. Open the Air Video server application or type ‘airvideo-server’ in a terminal

  7. Enjoy

References:

http://inmethod.com/air-video/index.html http://wiki.birth-online.de/know-how/hardware/apple-iphone/airvideo-server-linux http://www.inmethod.com/forum/posts/list/1856.page https://launchpad.net/~rubiojr/+archive/airvideo

28 Responses to 'Installing AirVideo Linux Server in Ubuntu'

  1. Dude says:

    Does this auto-start the air video server upon boot? If not, how would this be accomplished?

  2. Dude says:

    Specifically via command-line for a headless Ubuntu Server.

  3. Ron Garrett says:

    I have 11.04 and am a new user. I don’t understand the “tweak” phrase “/opt/airvideo-server/AirVideoServerLinux.properties” or how to enter it.

    When I click on AirVideo server in applications nothing happens. what’s up?

    • Lajos says:

      You must open a Terminal ( much easier with this keboard combo: Ctrl+Alt+T), then write gksudo nautilus ( it will ask your password) then go to “File System”, then “opt”, then “airvideo-server”. There willbe an document called “AirVideoServerLinux.properties”. Open it then change the last line to “folders = /opt/airvideo-server/AirVideoServerLinux.properties”. Then ( as they said) it will work.

  4. weslei says:

    Thank you!! :razz:

  5. Geoffrey Bergman says:

    Hey! Thanks for the tuturial. Works exactly like you said, however my server generates a debug for errors in some thumbnail stuff. Familiar with that error and do you know a fix?

    Thanks a lot!

    • rubiojr says:

      Hey Geoffrey,

      The package is using and old version of the Air Video Server software. It’s been a while since the last time I updated it. That may be the reason…

      • Mike says:

        Hi Rubio,

        Installing Airvideo on Ubuntu updated to 12.04 with your updated PPA worked perfectly, have the server running and I love the UI to change the folder paths! I wasn’t able to install the mpeg4server package though, and now none of the video files I have will play with live convert, and the convert queue doesn’t function either. Any * – airvideo.m4v files I already have in my video folder do still work in the Airvideo client, but I’ve been unsuccessful creating new ones. Any suggestions or advise would be greatly appreciated. I even tried building my own FFmpeg with all codecs so I could make my own m4v files, but not even those play.

        TIA,
        Mike

  6. visit says:

    Works great on Linux Mint 12.

    You should add support for Bonjour via avahi-daemon and UpStart config for start with system boot from this site: http://wiki.birth-online.de/know-how/hardware/apple-iphone/airvideo-server-linux

    Many thanks!

  7. matt says:

    This is great! Thank you very much!

  8. Eric says:

    I’m running Ubuntu 11.10 UNR and am following these instructions however once I run:

    sudo apt-get install airvideo-server

    I get back an faac output/eventual error:
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    airvideo-server : Depends: faac but it is not installable
    E: Unable to correct problems, you have held broken packages.

    I’ve been searching around and have not been able to find anything that will successfully lead me to updating or installing faac.

    Any guidance would be appreciated.

    • Lucas says:

      I have the same issue… I installed faac separately but it didn’t solve the problem.
      Maybe someone has an idea?

      Thanks!

      Lucas

  9. bdo says:

    Is there a gui to access the remote server settings for Ubuntu 11.10? I only have an icon in my top taskbar (with 2 options: start server and exit). It currently works great streaming at home, but I don’t have remote access. Thanks!

  10. kalel10 says:

    hey rubiojr
    great job! this works like a charm!!
    One quick question .. the server work flawlessly most of the time, but on some files i get:

    (am i missing a codec?, all i did was install from repo)

    DEBUG: SegmentedEncoder: Output #0, mpegts, to ‘pipe:’:
    DEBUG: SegmentedEncoder: Stream #0.0(und): Video: libx264, yuv420p, 408×230 [PAR 1:1 DAR 204:115], q=2-48, 200 kb/s, 90k tbn, 23.98 tbc
    DEBUG: SegmentedEncoder: Metadata:
    DEBUG: SegmentedEncoder: creation_time : 2012-04-16 12:09:27
    DEBUG: SegmentedEncoder: Stream #0.1(und): Audio: libmp3lame, 44100 Hz, 2 channels, s16, 48 kb/s
    DEBUG: SegmentedEncoder: Metadata:
    DEBUG: SegmentedEncoder: creation_time : 2012-04-15 16:34:00
    DEBUG: SegmentedEncoder: Stream mapping:
    DEBUG: SegmentedEncoder: Stream #0.0 -> #0.0
    DEBUG: SegmentedEncoder: Stream #0.1 -> #0.1
    DEBUG: SegmentedEncoder: Decoder (codec id 86018) not found for input stream #0.1

  11. adroitec says:

    I could not get this to install on 12.04. I’m sure everyone would be thankful for an update to the PPA. In the meantime, here is how I installed it on 12.04 Precise: http://www.inmethod.com/forum/posts/list/5276.page#25828

  12. Kevin says:

    airvideo-server on 12.04… any idea how to install on latest version of ubuntu? i already have libx264-120 installed but installing airvideo-server fails with an error.

    The following packages have unmet dependencies:
    airvideo-server : Depends: libx264-118 but it is not installable
    E: Unable to correct problems, you have held broken packages.

    any easy way around this problem?

  13. rubiojr says:

    Thank you folks, new packages for Ubuntu Precise available:

    http://rubiojr.github.com/airvideo-server-ui

  14. Marco Silva says:

    It started fine but I can’t see the server on iPad side. Any clue?

  15. Ian says:

    Hi, been using your setup on my Ubuntu server for awhile(Thanks!) but am now running into an issue.
    A lot of the TV shows I download are now already in an iDevice compatible .mp4 format. This works fine over WIFI with the PLAY button but live conversion (which I need to use over 3G) no longer works on these files.
    I have read that airvideo beta 7 fixes this. Does your current package include that fix or do you plan to update it in the future. I use the live streaming a lot while traveling and would like to be able to stream (via live conversion or not) via 3G.

    Thanks

  16. avery says:

    Ubuntu server 12.04 x64

    Instead of subtitles I get this:

    java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:186)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
    at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1152)
    at com.inmethod.air.video.common.subtitle.renderer.SubtitleRenderer.createGraphics2D(SubtitleRenderer.java:25)
    at com.inmethod.air.video.common.subtitle.renderer.SubtitleRenderer.renderSubtitle(SubtitleRenderer.java:180)
    at com.inmethod.air.video.common.subtitle.server.SubtitleServer.handleOverlayRequest(SubtitleServer.java:94)
    at com.inmethod.air.video.common.subtitle.server.SubtitleServer$SocketThread.run(SubtitleServer.java:144)
    java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment

  17. Donald Burr says:

    Hi! Love your PPA for this software, it has made it extremely easy to install. The only problem is that now a lot of my shows are being encoded as so-called Hi10p (10-bit) H264 files, and this version of Air Video doesn’t appear to work with them. I believe (though don’t quote me on this) that Air Video 2.4.6beta3, which is now available for linux, does add support for Hi10p files. Do you plan on updating your PPA for this version of Air Video?

Trackbacks/Pingbacks
  1. [...] AirVideo server 설치하기 OddPoet 기타 2011-06-17 * 참고 : http://blog.frameos.org/2011/02/08/installing-airvideo-linux-server-in-ubuntu/ sun jdk 및 기타 의존 패키지 설치를 위해서 /etc/apt/source.list 파일에  parter, [...]

  2. [...] also set up an Air Video server according to the instructions here, as there’s a PPA available that makes it incredibly easy to install. Unfortunately, both [...]

  3. [...] install AirVideo, I followed the setup instructions at http://blog.frameos.org/2011/02/08/installing-airvideo-linux-server-in-ubuntu/ including how to setup auto start [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

*