[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 
linux support?  XML
Forum Index » Air Video General
Author Message
troald



Joined: 07/31/2010 01:07:02
Messages: 1
Offline

Hi,

I tried following this guide: http://wiki.birth-online.de/know-how/hardware/apple-iphone/airvideo-server-linux

on Linux home 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 GNU/Linux

However when I run the server I get the following error before the server finaly dies:

box@home:~$ java -jar AirVideoServerLinux.jar test.properties
DEBUG: SnapshotCache: Exception during SnapshotCache initialization: java.lang.Integer cannot be cast to java.lang.String
DEBUG: SnapshotCache: Trying to close index and data files
DEBUG: SnapshotCache: Second Attempt of SnapshotCache initialization failed: java.lang.Integer cannot be cast to java.lang.String2010-07-31 01:15:52.309::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2010-07-31 01:15:52.389::INFO: jetty-6.1.x
2010-07-31 01:15:52.470::INFO: Started SocketConnector@0.0.0.0:45631
DEBUG: PortMapperAction: Scheduling task PortMapperAction$2 (1019376
DEBUG: SnapshotCache: Error getting entry from SnapshotCache: null
DEBUG: SnapshotCache: Error getting entry from SnapshotCache: null

after a while the server crashes with the following message:

(.:4180): Gtk-WARNING **: cannot open display:

Any help is very much appreciated!
unknown_inc



Joined: 06/28/2010 00:02:24
Messages: 33
Offline

Can you post your .properties file??





troald wrote:Hi,

I tried following this guide: http://wiki.birth-online.de/know-how/hardware/apple-iphone/airvideo-server-linux

on Linux home 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 GNU/Linux

However when I run the server I get the following error before the server finaly dies:

box@home:~$ java -jar AirVideoServerLinux.jar test.properties
DEBUG: SnapshotCache: Exception during SnapshotCache initialization: java.lang.Integer cannot be cast to java.lang.String
DEBUG: SnapshotCache: Trying to close index and data files
DEBUG: SnapshotCache: Second Attempt of SnapshotCache initialization failed: java.lang.Integer cannot be cast to java.lang.String2010-07-31 01:15:52.309::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2010-07-31 01:15:52.389::INFO: jetty-6.1.x
2010-07-31 01:15:52.470::INFO: Started SocketConnector@0.0.0.0:45631
DEBUG: PortMapperAction: Scheduling task PortMapperAction$2 (1019376
DEBUG: SnapshotCache: Error getting entry from SnapshotCache: null
DEBUG: SnapshotCache: Error getting entry from SnapshotCache: null

after a while the server crashes with the following message:

(.:4180): Gtk-WARNING **: cannot open display:

Any help is very much appreciated!

AVS Linux - Download & information - http://www.inmethod.com/forum/posts/list/1856.page
Admin



Joined: 08/23/2009 08:49:34
Messages: 7393
Offline

What JRE are you using?
mongo


[Avatar]

Joined: 07/23/2010 05:36:06
Messages: 3
Offline

A follow-up on my quest to install the Airvideo server and mpeg4ip on Mandriva 2010 x64.

The PLF package is borked and unusable, so I had to find an RPM from another
distro at http://rpm.pbone.net/. The RPMs won't install with the Mandriva pacakge
manager so save it a file. A mpeg4ip version from a distro genetically similar to Mandriva
(SUSE or Red Hat) should work. Once the rpm is ensconced on your disk, issue the following
command to extract the files:

rpm2cpio mpeg4ip-1.6.1-2.pm.4.1.x86_64.rpm| cpio -idmv

This will create a directory tree structure in the current directory which contains the RPM''s
files, so don't do it anywhere it might overwrite something important!!!!!! Copy the files by hand to
their appropriate directories and you should be good to go!!!

Cheers ----Mongo

This message was edited 2 times. Last update was at 08/01/2010 20:08:37

JimmyZ



Joined: 08/02/2010 04:01:47
Messages: 7
Offline

great to know that there is a linux version!

//edit
nice, just set it up and it works!

building the custom ffmpeg is a time consuming job, it would be nice if you can provide binary download for popular linux distributions.

This message was edited 1 time. Last update was at 08/02/2010 15:43:50

cyril0



Joined: 05/24/2010 13:45:26
Messages: 4
Offline

Seems the client version for ios4 is only compatible with alpha3.

I wish the download links to new jar's were easier to find. Also why isn't there a single jar for all three platforms? isn't that the point of java?

Cy

This message was edited 1 time. Last update was at 08/03/2010 13:57:11

unknown_inc



Joined: 06/28/2010 00:02:24
Messages: 33
Offline

cyril0 wrote:Seems the client version for ios4 is only compatible with alpha3.

I wish the download links to new jar's were easier to find. Also why isn't there a single jar for all three platforms? isn't that the point of java?

Cy


See my signature for download links...

AVS Linux - Download & information - http://www.inmethod.com/forum/posts/list/1856.page
cyril0



Joined: 05/24/2010 13:45:26
Messages: 4
Offline

unknown_inc wrote:
cyril0 wrote:Seems the client version for ios4 is only compatible with alpha3.

I wish the download links to new jar's were easier to find. Also why isn't there a single jar for all three platforms? isn't that the point of java?

Cy


See my signature for download links...


I upgraded my server to alpha three but now my ios3 devices no longer work.

I have an ipad and and iphone 4, I can't get both to work at the same time. Suggestions?
EMH_Mark3



Joined: 08/04/2010 04:51:21
Messages: 2
Offline

Heya,

I run Gentoo on my PC, and mp4creator is unavailable in Gentoo's package manager. Trying to compile it from source only resulted in more stumbling blocks, so I wrote this script to replace mp4creator with mp4box:



The 'if' is needed because the mp4creator app is called twice: once to create the mp4 file w/ video stream, and one to add in the audio stream. Seems to work fine so far
puppithead



Joined: 08/04/2010 05:17:10
Messages: 1
Offline

I was having basically the same problem, or at least the first 3 debug lines are identical to what I was seeing. I replaced my JRE with the sun-java6-jre package (I'm running Ubuntu server) and everything is running brilliantly now!

troald wrote:Hi,

I tried following this guide: http://wiki.birth-online.de/know-how/hardware/apple-iphone/airvideo-server-linux

on Linux home 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 GNU/Linux

However when I run the server I get the following error before the server finaly dies:

box@home:~$ java -jar AirVideoServerLinux.jar test.properties
DEBUG: SnapshotCache: Exception during SnapshotCache initialization: java.lang.Integer cannot be cast to java.lang.String
DEBUG: SnapshotCache: Trying to close index and data files
DEBUG: SnapshotCache: Second Attempt of SnapshotCache initialization failed: java.lang.Integer cannot be cast to java.lang.String2010-07-31 01:15:52.309::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2010-07-31 01:15:52.389::INFO: jetty-6.1.x
2010-07-31 01:15:52.470::INFO: Started SocketConnector@0.0.0.0:45631
DEBUG: PortMapperAction: Scheduling task PortMapperAction$2 (1019376
DEBUG: SnapshotCache: Error getting entry from SnapshotCache: null
DEBUG: SnapshotCache: Error getting entry from SnapshotCache: null

after a while the server crashes with the following message:

(.:4180): Gtk-WARNING **: cannot open display:

Any help is very much appreciated!
sammcj



Joined: 08/04/2010 11:36:11
Messages: 1
Offline

Fantastic! It worked straight away using standard sources on 10.04 (git not required!).

Thanks very much to everyone here.

Because of this post, I will buy this application.
Harold



Joined: 08/04/2010 13:12:05
Messages: 3
Offline

Dammm I'm officially impressed!

This latest beta3 is running quite smoothly on my Xeon dual-core server (latest Ubuntu Lucid version) and is using both cores (in ffmpeg) nicely.

I followed the guide on wiki.birth-online.de and build only the modified ffmpeg and installed mp4creator by using 'sudo apt-get install mpeg4ip-server'.

I hope that the offline converter generates mp4 files for my new iPad (when it arrives next week ) next to the already generate mp4's for my iPhone.

Keep up the good work! An I hope many new features will follow in the future.

Just wondering... Could the AirVideo server be used to do batch conversion of video's? Would love to see my automagically downloaded tv-series get converted on the fly

P.S. It's a pity that ps3mediaserver is not yet able to convert video's for the iphone/ipad. Now I have two media-server-apps running on my server
htilly



Joined: 12/13/2009 14:53:34
Messages: 6
Offline

Harold wrote:Dammm I'm officially impressed!

This latest beta3 is running quite smoothly on my Xeon dual-core server (latest Ubuntu Lucid version) and is using both cores (in ffmpeg) nicely.

I followed the guide on wiki.birth-online.de and build only the modified ffmpeg and installed mp4creator by using 'sudo apt-get install mpeg4ip-server'.

I hope that the offline converter generates mp4 files for my new iPad (when it arrives next week ) next to the already generate mp4's for my iPhone.

Keep up the good work! An I hope many new features will follow in the future.

Just wondering... Could the AirVideo server be used to do batch conversion of video's? Would love to see my automagically downloaded tv-series get converted on the fly

P.S. It's a pity that ps3mediaserver is not yet able to convert video's for the iphone/ipad. Now I have two media-server-apps running on my server


Hi there!

Im running the beta3 on an ASRock 330 ION. The server itself is up and running just fine and according to this forum that HW should be good for decoding 720p movies.
However, when I run a "mpstat -P ALL 2" I get the following output:

11:57:39 PM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
11:57:41 PM all 25.19 5.68 0.25 0.25 0.00 0.00 0.00 0.00 68.64
11:57:41 PM 0 99.50 0.00 0.50 0.00 0.00 0.00 0.00 0.00 0.00
11:57:41 PM 1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
11:57:41 PM 2 0.00 22.77 0.00 0.99 0.00 0.00 0.00 0.00 76.24
11:57:41 PM 3 1.92 0.00 0.48 0.00 0.00 0.00 0.00 0.00 97.60

It doesn't seems to be utilizing the full CPU and the video starts up fine on the iPhone/iPad and then drops to a lower quality.

In the logs I get the following to start with:
DEBUG: Encoder: frame= 362 fps= 17 q=17.0 size= 2064kB time=13.56 bitrate=1247.6kbits/s

It then drops to:
DEBUG: Encoder: frame= 383 fps= 15 q=21.0 size= 538kB time=22.40 bitrate= 196.8kbits/s dup=0 drop=228

I did compile the ffmpeg with "--enable-pthreads".

Am I missing something here or is the HW just to weak?
Sourcefile is a .mkv in 720p H264.

http://ffmpeg.pastebin.com/k9V89UiZ

Thanks in advance!

/Tilly

This message was edited 1 time. Last update was at 08/09/2010 20:06:09

Harold



Joined: 08/04/2010 13:12:05
Messages: 3
Offline

Well running of an iPhone 3GS via 3G network is not working very well yet. Running on my local WiFi network is always fine. Looks like an bandwidth 'problem'.

It seems that as soon as the AirVideo app can no longer get the data in time it stops displaying it (or is this the standaard iPhone video player of AirVideo server? who stops with sending video?). Audio does continue thought.

If I setup the AirVideo app to use lower bandwidths when needed it keeps playing some more minutes. But still it stops after about 10 minutes.

Here's the output of the ffmpeg command:

harold 27916 9737 99 08:27 ? 00:00:02 /usr/local/bin/ffmpeg --conversion-id 93f34982-4827-43e2-9883-73156e4e9652 --port-number 46631 -threads 4 -flags +loop -g 30 -keyint_min 1 -bf 0 -b_strategy 0 -flags2 -wpred-dct8x8 -cmp +chroma -deblockalpha 0 -deblockbeta 0 -refs 1 -coder 0 -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -trellis 0 -sc_threshold 40 -i_qfactor 0.71 -qcomp 0.6 -map 0.0:0.0 -map 0.1:0.1 -ss 170.0 -i /export/video/snel/std video/tot_2008/Tape 1-1.mpg -cropleft 0 -cropright 0 -croptop 0 -cropbottom 0 -s 342x274 -aspect 1.2481751 -y -async 1 -f mpegts -vcodec libx264 -bufsize 512k -b 200k -bt 220k -qmax 48 -qmin 2 -r 25.0 -acodec libmp3lame -ab 48k -ar 48000 -ac 2 -
djdan00



Joined: 06/19/2010 20:10:31
Messages: 2
Offline

I had air video working perfectly on ubuntu and my iphone. I just upgraded to iOS 4 and now when I go to 'play with live conversion' it plays the video for a few seconds then drops back to the app.
I have tried reinstalling the app and have updated the .jar to the alpha 3 version.

Any ideas??? Do I need to update other things now im using the alpha 3 version. Thanks

This message was edited 1 time. Last update was at 08/06/2010 13:12:21

 
Forum Index » Air Video General
Go to:   
Powered by JForum 2.1.8 © JForum Team