Package Details: air-video-server 2.4.6_beta3-8

Git Clone URL: (read-only, click to copy)
Package Base: air-video-server
Description: A media server that can stream videos in almost any format from your PC to your iPhone, iPad and iPod touch
Upstream URL:
Licenses: custom
Submitter: biloky
Maintainer: biloky
Last Packager: biloky
Votes: 24
Popularity: 0.000000
First Submitted: 2010-03-08 08:33 (UTC)
Last Updated: 2015-07-01 07:12 (UTC)

Dependencies (9)

Required by (0)

Sources (11)

Latest Comments

frriarch commented on 2015-12-30 14:25 (UTC)

nevermind. after endless googling, I found that air-video-server and air-video-server-hd both are different version and one does not work with others.

frriarch commented on 2015-12-29 06:11 (UTC)

I have set this up in my Odroid-XU4 running armv7h. Started Avahi and air-video-server. App does not find server automatically so I added it manually but I am getting "An SSL error has occurred and a secure connection to the server cannot be made" in my app while connecting to server.

biloky commented on 2014-10-25 06:17 (UTC)

Hi blaenk, Updated the package to include your proposed changes regarding the post_upgrade message. Thanks :)

blaenk commented on 2014-06-03 22:12 (UTC)

You have to first re-install air-video-server because its dependencies were updated (e.g. ffmpeg) _then_ delete the cache directories (the systemd service runs it as root).

code841 commented on 2014-05-28 13:35 (UTC)

Hi, I am getting this invalid status on my files. I tried deleting the thumbnail caches in the directories mentioned (both for user and root) but it doesn't seem to work. I run air video server with the systemd service and could not find where the thumbnail cache is for this. Could anybody point me in the right direction? Thanks.

blaenk commented on 2014-05-22 03:41 (UTC)

How would you feel about adding a post_upgrade message reminding the user that they may have to clear out their thumbnail cache? Something like this perhaps: If they don't know this, there's no other way to get their files to work, since they show up as "invalid" from within the air video app.

biloky commented on 2013-05-27 13:33 (UTC)

@blaenk: Ooopss.. missed that. Thanks again :)

blaenk commented on 2013-05-27 06:18 (UTC)

I think all you have to do is change pkgver=2.4.6_beta3 to pkgver=2.4.6. Worked for me.

blaenk commented on 2013-05-27 06:11 (UTC)

Heads up: the urls for the jar file and libav are wrong. Notice they say 2.4.6_beta3-beta3/blah, it's supposed to be 2.4.6-beta3/blah. Getting error 403 forbidden on the wrong ones.

biloky commented on 2013-05-26 03:00 (UTC)

@blaenk: Dependencies updated. libcups added. Thanks :) @Axxelsian: To configure, you have to manually edit the files /etc/conf.d/air-video-server or ~/.air-video-server/ depending on how you start the server.

commented on 2013-05-10 17:52 (UTC)

I've been looking for a way to configure this(since i dont know how to get a GUI to show), and cant seem to figure it out. I've checked in /etc/conf.d, but nothing's there for this...

blaenk commented on 2013-02-17 04:04 (UTC)

When you update to x264 20130206-1 be sure to rebuild this package before you use air-video. Otherwise, the thumbnail cache will become corrupted. The thumbnails you view within the window of upgrading x264 and re-building air-video-server will become corrupted from that point forward. What's more, the videos whose thumbnails become corrupt won't play at all. Thumbnails viewed after re-building air-video-server will work fine. If this happens to you, after you rebuild this package simply delete the thumbnail database files from ~/.air-video-server and possibly also /root/.air-video-server (depending on which user runs air-video-server in your setup). This will force air-video to regenerate the thumbnail database. Took me ages to figure out what was happening but after I realized it was probably a thumbnail cache issue, lsof quickly pointed me to the thumbnail caches to force regeneration.

blaenk commented on 2013-01-28 00:41 (UTC)

Just a heads up: Twice already, on headless servers, I've ended up needing the libcups package. Thumbnails wouldn't load, and trying to view a video would give an error in the client, but no crash on the server. So I copied /etc/conf.d/air-video-server to ~/.air-video-server/air-video-server and ran air-video-server verbose. When viewing a video listing, this came up: DEBUG: Thumbnail: Metadata:java.lang.UnsatisfiedLinkError: /usr/lib/jvm/ java-7-openjdk/jre/lib/amd64/headless/ cannot open shared object file: No such file or directory Installing libcups resolved the issues. I imagine most people didn't encounter this issue because they already had libcups installed.

biloky commented on 2012-12-11 14:52 (UTC)

Package update (2.4.6-beta3_5): 1. added -Djava.awt.headless=true to java line in script (Thanks antoinemartin & discipulus) 2. added fontconfig to dependencies (Thanks discipulus)

commented on 2012-12-03 04:08 (UTC)

Alright, I got it working. I had to add -Djava.awt.headless=true to the launch script (/usr/bin/air-video-server) and I needed to install fontconfig. Any chance you could add fontconfig to the dependencies list for those that are attempting to run this without a GUI? It would be helpful :-)

commented on 2012-12-02 20:14 (UTC)

Can't get it working. I'm getting an error message about: DEBUG: Thumbnail: Metadata:java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit Any ideas?

biloky commented on 2012-09-30 13:35 (UTC)

@benwbooth: Finally migrated to pure systemd. Turns out, "Type=forking" is used for executables that are daemons in nature, ie. forks out after being run (eg. mysqld, httpd, etc), and not for regular executables like java, etc. Thanks for the heads up :)

jrussell commented on 2012-09-08 12:12 (UTC)

nevermind. Found it all in /etc/conf.d

jrussell commented on 2012-09-08 12:05 (UTC)

Could somebody tell me how to configure this? I cant seem to find a config file anywhere, Ive tried starting it as myself (jason), no config file in ~/.config, Ive run it as a daemon too, no luck.

benwbooth commented on 2012-08-21 01:14 (UTC)

For some reason, I had to delete the "Type=forking" line in the air-video-server-systemd.service file in order to make the systemd service start. Otherwise, it just times out. After deleting the line, it works perfectly.

biloky commented on 2012-08-14 14:22 (UTC)

@benwbooth: Here you go. Thanks :)

benwbooth commented on 2012-08-14 01:39 (UTC)

Hi, I think if the systemd service file is being installed by a package, it should get installed to /usr/lib/systemd/system/ instead of /etc/systemd/system/. AFAIK, /etc/systemd/system/ is only for manually created service files. Thanks!

biloky commented on 2012-08-13 10:27 (UTC)

@benwbooth: Package updated, thanks :)

benwbooth commented on 2012-07-29 20:39 (UTC)

I made some files to use air-video-server with systemd. The first file is /etc/systemd/system/air-video-server: #!/bin/sh [ -x /etc/profile.d/ ] && . /etc/profile.d/ [ -x /etc/profile.d/ ] && . /etc/profile.d/ [ -x /etc/profile.d/ ] && . /etc/profile.d/ NAME=air-video-server PROPFILE=/etc/conf.d/$NAME exec /usr/bin/$NAME $PROPFILE > /dev/null 2> /dev/null & The second file is /etc/systemd/system/air-video-server.service: [Unit] Description=Air Video Server [Service] Type=forking ExecStart=/etc/systemd/system/air-video-server [Install]

benwbooth commented on 2012-07-29 20:37 (UTC)

Just an FYI, if you notice air-video-server not playing certain files, it could be due to an updated x264 library. Simply reinstalling air-video-server from AUR fixes the problem for me.

biloky commented on 2012-04-08 15:17 (UTC)

@prurigro: Package updated. Thanks :) @fhtagn: The server requires a customized ffmpeg provided by the author. By using the one located at /usr/bin, you are in effect using the latest version available to arch. Not sure why that worked in your case. Haven't tried it though. :)

prurigro commented on 2012-04-07 08:50 (UTC)

ffmpeg-for-2.4.5-beta6.tar.bz2 -> ffmpeg-for-2.4.5-beta7.tar.bz2 (md5sum: a5d399dc97a1d1efc924f7807f57b506) Upgrading is pretty key as beta6 currently fails (at least on 64bit) Cheers!

fhtagn commented on 2012-02-16 20:24 (UTC)

Dunno why, but I had to change the ffmpeg path to /usr/bin/ffmpeg for it to work. Otherwise, it would crash upon clicking a movie.

biloky commented on 2012-01-15 14:05 (UTC)

@benwbooth: Avahi service file added. :)

benwbooth commented on 2012-01-07 05:54 (UTC)

To get bonjour/avahi working with air video server, create a file called /etc/avahi/services/air-video-server.service with the contents: <?xml version="1.0" standalone='no'?><!--*-nxml-*--> <!DOCTYPE service-group SYSTEM "avahi-service.dtd"> <!-- This file is part of air-video-server --> <service-group> <name replace-wildcards="yes">%h</name> <service> <type>_airvideoserver._tcp</type> <port>45631</port> </service> </service-group> Any chance this file could be added to the PKGBUILD sources for out of the box avahi support enabled?

biloky commented on 2011-07-14 13:55 (UTC)

AAC enabled. Thanks DocterD :)

commented on 2011-07-05 21:33 (UTC)

Why is the AAC Decoder disabled? Works flawless so far with AAC enabled.

biloky commented on 2011-06-25 10:43 (UTC)

Updated. Thanks jazz.arch :)

commented on 2011-06-23 12:13 (UTC)

Please add "yasm" to the dependencies. Keep up the good work. :)

commented on 2010-12-02 09:44 (UTC)

Tested on iPad with free version 2.4.2, and it's working. Just had to add -Djava.awt.headless=true to command in usr/bin to be able to start it as a service.

Determination commented on 2010-09-15 05:54 (UTC)

can anyone else confirm that this is still working for client version 2.4.0? Getting "Update your Air Video Server" messages, and there isn't a new alpha yet.

commented on 2010-08-24 22:07 (UTC)

installed openjdk6 and it installed fine.

commented on 2010-08-24 21:54 (UTC)

java-runtime is missing on the aur.

biloky commented on 2010-08-17 15:31 (UTC)

@alienvenom: - java-runtime is needed for the server (AirVideoServerLinux.jar) to run - gpac's MP4Box replaces mpeg4ip's mp4creator for muxing files during convert - removed alsa-lib and jack (these are actually optional dependencies of ffmpeg) Thanks :)

commented on 2010-08-15 05:45 (UTC)

This package has unnecessary dependencies! alsa-lib, gpac, jack, jack-runtime are all NOT required.

commented on 2010-07-27 03:26 (UTC)

works great! Big thanks, nice PKBUILD

commented on 2010-06-11 16:38 (UTC)

@biloky: works, thanks!

biloky commented on 2010-06-11 04:25 (UTC)

@clearloon: x264 was updated. Try rebuilding this package. :)

commented on 2010-06-10 18:47 (UTC)

Can't stream avi's since the last update :-(

commented on 2010-04-03 04:58 (UTC)

Great .. works great .. Thank you .. thank you ... thank you .. !! I had been missing air-video-server on linux ... Thank you so much !!