[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
mbirth



Joined: 02/06/2010 12:45:23
Messages: 5
Location: DE, Berlin
Offline

nkrumm wrote:Some notes that helped:
- Had to update my x264 library, and i used these instructions: http://ubuntuforums.org/showthread.php?t=786095 (requires git and yasm)


As pointed out in my wiki entry, you could just have added the PPA of Stéphane Marguet to your /etc/apt/sources.list and install the libx264-dev from there. No need for juggling around with git and yasm.
[WWW]
Jessesn



Joined: 02/20/2010 06:49:55
Messages: 8
Offline

mbirth,

I installed the x264 and libx264 from the PPA of Stéphane Marguet and I am still getting "ERROR: libx264 not found" when I try to run the ./configure for ffmpeg.
I also built x264-snapshot-20100218-2245 with the same results.

Looking through the config.err:

ffconf.xgOhQ5wQ.c.text+0xa): undefined reference to `x264_encoder_encode'
collect2: ld returned 1 exit status
ERROR: libx264 not found

Any ideas? Could you share your static ffmpeg?

Also to Admin thanks for porting Air Video over to Linux!
Admin



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

I think static builds would solve the problems for most users. Would be nice if someone could provide those, we can host them.
mbirth



Joined: 02/06/2010 12:45:23
Messages: 5
Location: DE, Berlin
Offline

Jessesn wrote:mbirth,

I installed the x264 and libx264 from the PPA of Stéphane Marguet and I am still getting "ERROR: libx264 not found" when I try to run the ./configure for ffmpeg.


You need libx264-dev. This package contains the headers the configure is looking for...
[WWW]
Jessesn



Joined: 02/20/2010 06:49:55
Messages: 8
Offline

mbirth,

Sorry excuse my typo I did install x264 & libx264-dev from the PPA.
Jessesn



Joined: 02/20/2010 06:49:55
Messages: 8
Offline

Finally got it all working!
I had to follow the wiki at https://wiki.ubuntu.com/ffmpeg
For me the missing step was "sudo apt-get build-dep ffmpeg"

This finally got me pass the libx264 not found issue.

Everything seems to be running, I'll play around with it some more to see if any issues arise.

I've uploaded my static ffmpeg here:
http://www.sendspace.com/file/jhv0rg
It's built on an AMD64, I don't know if this will cause issues for anyone.

Thanks again Admin for porting this over to Linux! Hopefully you'll be able to make this available more publicly soon.

Jessesn



Joined: 02/20/2010 06:49:55
Messages: 8
Offline

Admin,

This is working amazingly well for me!

One issue I did find is if I exit the app by pressing the home screen, the decoding continues in the background. If I however hit the Done button prior to exiting than the ffmpeg shuts down gracefully.

Here's the console log after pressing the home key during a live conversion.

DEBUG: LiveConversion: Getting segment 2org.mortbay.jetty.EofException
at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:760)
at org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:564)
at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:907)
at org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGenerator.java:530)
at org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:567)
at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:907)
at org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGenerator.java:530)
at org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:567)
at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:907)
at org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGenerator.java:530)
at org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:567)
at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:907)
at org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGenerator.java:530)
at org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:567)
at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:907)
at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:62
at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:585)
at com.inmethod.air.video.v0221.playback.live.LivePlaybackFilter.doFilter(LivePlaybackFilter.java:129)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:227)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at org.mortbay.io.ByteArrayBuffer.writeTo(ByteArrayBuffer.java:15
at org.mortbay.io.bio.StreamEndPoint.flush(StreamEndPoint.java:122)
at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:693)
... 29 more
Jessesn



Joined: 02/20/2010 06:49:55
Messages: 8
Offline

Umm nevermind it stops decoding/re-encoding about 30 seconds later.
Admin



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

The exception should be harmless. It's caused by iPhone app disconnecting from the socket.
JasonM



Joined: 02/23/2010 13:54:06
Messages: 1
Offline

Just posting to say thank you for linux support!

I just bought the full version from the AppStore.
N|co



Joined: 02/24/2010 00:16:04
Messages: 1
Offline

+1 for Linux port !

Perfect running fine on my Lenny debian distro.
I have some problem though in some directories ...but works when i use the Mac server version of air video.

java.lang.NullPointerException
at java.io.File.<init>(libgcj.so.90)
at java.io.File.<init>(libgcj.so.90)
at java.io.File.performList(libgcj.so.90)
at java.io.File.listFiles(libgcj.so.90)
at com.inmethod.air.video.v0221.model.fs.FileSystemFolder.getChildren(FileSystemFolder.java:7
at com.inmethod.air.video.v0221.model.fs.FileSystemRootFolder.getItems(FileSystemRootFolder.java:63)
at com.inmethod.air.video.v0221.model.BrowseService.getItems(BrowseService.java:81)
at java.lang.reflect.Method.invoke(libgcj.so.90)
at com.inmethod.air.connect.service.ServiceRegistry$ServiceWrapper.invoke(ServiceRegistry.java:221)
at com.inmethod.air.connect.service.ServiceRegistry.invokeMethod(ServiceRegistry.java:4
at com.inmethod.air.connect.service.ServiceRegistry.invokeMethod(ServiceRegistry.java:37)
at com.inmethod.air.connect.filter.ServiceFilter.doFilter(ServiceFilter.java:82)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:227)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

I think, it is a problem of "accent"....as some title are in french...for example "âmes soeurs" and if i rename as "ame soeurs" it works...

This message was edited 3 times. Last update was at 02/24/2010 00:26:03

corepl



Joined: 03/02/2010 15:01:43
Messages: 2
Offline

Admin wrote:There are no patches for the FFMpeg. The tar on page that I linked has everything applied.

I think mp4creator is part of MP4IP package http://www.mpeg4ip.net/ . That should build on linux

I really don't want to get into java performance flamewar. Apart from same extremely specific cases I haven't seen java crash. You can write bad performing code in any language. There are ways to write very performant java applications (and in 1.6 the JIT compiler does pretty decent job). The only possible issues are longer startup time (it takes a while for the JVM to load) and increased memory overhead (which really shouldn't be a big deal in 2010). Anyway, while the server is idle it really doesn't do anything. While it's streaming videos the CPU consumption is rather irrelevant compared to actual transcoding (by FFMpeg).

The first alpha build of the server is available here. Sample property file is available here.

Usage:
java -jar AirVideoServer.jar <path-to-property-file>
i.e.
java -jar AirVideoServer.jar test.properties

Bonjour and remote access are disabled in this release. The only way to access server is by specifying the IP address (and port 45631).

Disclaimer: I haven't actually tested this on a linux machine, it's likely that there are issues to be resolved (apart from missing features).


Thank you ! works great on Ubutnu 9.10 (x64) ! Already bought full App.
r3ds



Joined: 03/04/2010 02:20:18
Messages: 1
Offline

Like many other before me, I discovered AirVideo today. I immediately downloaded the full version and gave it a try. Works like a charm!!! I'd like to say THANK YOU for making this app. It's what I've wanted since I bought my iphone!!!

I also use a QNAP 219P and currently us the media server bundled with it and it works great for other uPnP clients but not the iphone. AirVideo solves this problem for me.

The ideal world for me however would be to run AirVideo server on the QNAP device (1.2 GHz processor) so I do not need to keep my PC on all day and night. I've read lots od posts mentioning that the CPU in NAS is not powerful enough for live conversion, but I'd like to ask if anyone has given it a go on a QNAP(or other NAS of similar spec)? I would love to hear your feedback.

Also, i would be willing to give it a go if someone would help me with the install. I have no knowledge of linux, but am willing to try if someone can assist.

Admin



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

Hi,

1.2GHz (I assuming ARM) is nowhere near powerful enough to do live conversion.
mfgeg



Joined: 03/04/2010 22:15:51
Messages: 4
Offline

THX 4 the Linux Version

I also tried it, and it works excellent via lan.
I am looking forward and waiting patiently for more features..

Thanks again for this nice Linux Port

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