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

Git Clone URL: https://aur.archlinux.org/air-video-server.git (read-only)
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: http://www.inmethod.com/air-video/index.html
Licenses: custom
Submitter: biloky
Maintainer: biloky
Last Packager: biloky
Votes: 25
Popularity: 0.004224
First Submitted: 2010-03-08 08:33
Last Updated: 2015-07-01 07:12

Required by (0)

Sources (11)

Latest Comments

frriarch commented on 2015-12-30 14:25

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

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

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

blaenk commented on 2014-06-03 22:12

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

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

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: https://gist.github.com/blaenk/e899d759712dc4b60386

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

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

blaenk commented on 2013-05-27 06:18

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

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

@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/air-video-server.properties depending on how you start the server.

Anonymous comment on 2013-05-10 17:52

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

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

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/libmawt.so: libcups.so.2: 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

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)

Anonymous comment on 2012-12-03 04:08

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 :-)

Anonymous comment on 2012-12-02 20:14

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

@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

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

jrussell commented on 2012-09-08 12:05

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.

xzy3186 commented on 2012-08-21 16:27

After recent update I found AVS stopped working on my laptop. Running
air-video-server in the terminal will return nothing (before there were
many debug messages showing up if I remembered correctly). When I launch
air-video from my iPhone, I can see the server but I can not play
anything as well as obtain thumbnail for any file. When I tried to play
a video, the app (iPhone) would show "unexpected error". Do you have any
idea to deal with it?

benwbooth commented on 2012-08-21 01:14

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

@benwbooth: Here you go. Thanks :)

biloky commented on 2012-08-14 09:39

@benwbooth: Thanks for the info. Package updated :)

biloky commented on 2012-08-14 09:38

Updated, thans benwbooth :)

biloky commented on 2012-08-14 09:32

Updated, thans benwbooth :)

biloky commented on 2012-08-14 09:32

Updated, thans benwbooth :)

benwbooth commented on 2012-08-14 01:39

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

@benwbooth: Package updated, thanks :)

benwbooth commented on 2012-07-29 20:39

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/openjdk6.sh ] && . /etc/profile.d/openjdk6.sh
[ -x /etc/profile.d/jdk.sh ] && . /etc/profile.d/jdk.sh
[ -x /etc/profile.d/jre.sh ] && . /etc/profile.d/jre.sh

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
After=network.target

[Service]
Type=forking
ExecStart=/etc/systemd/system/air-video-server

[Install]
WantedBy=multi-user.target

benwbooth commented on 2012-07-29 20:37

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

@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

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

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

@benwbooth: Avahi service file added. :)

benwbooth commented on 2012-01-07 05:54

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

AAC enabled. Thanks DocterD :)

biloky commented on 2011-07-14 13:54

AAC enabled. Thanks DocterD :)

Anonymous comment on 2011-07-05 21:33

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

nitrix commented on 2011-06-30 04:58

Thanks, great work!

biloky commented on 2011-06-25 10:43

Updated. Thanks jazz.arch :)

biloky commented on 2011-06-25 10:43

Updated. Thanks jazz.arch :)

Anonymous comment on 2011-06-23 12:13

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

Anonymous comment on 2010-12-02 09:44

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

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.

Anonymous comment on 2010-08-24 22:07

installed openjdk6 and it installed fine.

Anonymous comment on 2010-08-24 21:54

java-runtime is missing on the aur.

biloky commented on 2010-08-17 15:31

@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 :)

Anonymous comment on 2010-08-15 05:45

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

Anonymous comment on 2010-07-27 03:26

works great! Big thanks, nice PKBUILD

Anonymous comment on 2010-06-11 16:38

@biloky: works, thanks!

biloky commented on 2010-06-11 04:25

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

Anonymous comment on 2010-06-10 18:47

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

Anonymous comment on 2010-04-03 04:58

Great .. works great .. Thank you .. thank you ... thank you .. !!

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