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



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

I see. I'm afraid this is far from a general usecase. In alpha 4 your won't have any thumbnails, but you should still be able to stream files (even if they are marked as invalid)
whatup



Joined: 08/25/2010 02:08:07
Messages: 7
Offline

Great work releasing a linux version. I just bought the paid app on AppStore, and would gladly pay (donate, whatever) for future versions.

Could you publish all of the possible properties for the properties file? I'm curious if there are properties we're missing, since we don't have a gui (which I personally don't need). Specifically, I'm interested to know if we can change the default suffix for converted files (from " - airvideo.m4v" to ".m4v"...makes scp'ing files a little easier) or change the directory where converted files are stored (".converted/" or "converted/"...the server software could just as easily look in that folder to see if the converted file exists, and replace the link shown to the client). More customization == better!

Thanks again. Good job.

P.S. for those of you who want to watch these files locally on your ipad/iphone/ipod after converting, look at GoodReader. It has a webdav server module, so you can upload converted files directly to GoodReader and watch them in GoodReader also! Have to be on WiFi to access the webdav server (or my3g, I guess). Also have a look at "cadaver" in linux...command-line client for putting files onto a webdav server.
BoinK



Joined: 08/11/2010 01:09:56
Messages: 17
Offline

Is it possible to extend the parameters for those who accept slow thumbnails generation and some waiting-time before starting to play a file? on/off or enter a value in sec?
Timeout for thumbnail creation = 1 / 0

I would be really sad if I had to stay with alpha3 and not benefit from future updates



Admin



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

Next linux build should have the timeout configurable.
BoinK



Joined: 08/11/2010 01:09:56
Messages: 17
Offline

Excellent!

Now open up a PayPal so I can contribute!
olejon



Joined: 08/25/2010 23:37:06
Messages: 2
Offline

I'm so happy there is a Linux-version! Using alpha4 right now, seems to work fine!

One question: Is it possible to convert files with this Linux-server? When I add a file to the queue, nothing seems to be happening. It says unknown time left, and there is no CPU-usage on the server so I guess nothing is happening.

I would gladly donate aswell if there is any PayPal-account.

PS: Can you please make it easier to find the latest alpha? Having to read trough all the pages here just to fint it is not fun. Maybe you can link to the latest alpha in the first post or something?
Admin



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

The conversion should work. You need proper build of FFmpeg, faac and mp4 converter though.
olejon



Joined: 08/25/2010 23:37:06
Messages: 2
Offline

Admin wrote:The conversion should work. You need proper build of FFmpeg, faac and mp4 converter though.


Hmm, should it start immidiately?

Streaming is working fine so I guess I have everything set up correctly (ffmpeg etc).
gladrock



Joined: 08/26/2010 19:48:13
Messages: 2
Offline

I'm also trying to get conversion working under linux. Streaming works fine, so I'm pretty sure I have everything set up correctly. When I start background conversion, I see that an ffmpeg process gets forked, but there's no CPU usage. The temp file gets created, but that appears to be all that's happening. Here's the process that's created (using a file called 'test.avi' under /tmp)

/usr/local/airvideo/ffmpeg/ffmpeg --conversion-id 55c36be7-d783-4ed7-bff6-035bbb9801db --port-number 46631 -threads 4 -flags2 +fast -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 0.0 -i /tmp/test.avi -padleft 4 -padright 4 -padtop 0 -padbottom 0 -cropleft 0 -cropright 0 -croptop 0 -cropbottom 0 -s 568x320 -aspect 1.775 -y -async 1 -f h264 -vcodec libx264 -crf 29 -qmax 29 -r 23.0 /tmp/e6a1c4af-6ba9-4124-8c7a-90ef37c3b46f.h264 -f adts -ar 48000 -f wav -ac 2 -

This process has been going for over an hour with seemingly no progress? This is using the latest alpha 4 jar and the ffmpeg 2.2.5 source from http://www.inmethod.com/air-video/licenses.html.
Admin



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

Do you also have faac executable compiled and configured properly? (it is only used for offline conversion, not for live conversion, as well as mp4creator)
BoinK



Joined: 08/11/2010 01:09:56
Messages: 17
Offline

Wishlist for potential server parameters

- Thumbnails on/off
- Live Conversion on/off
- Offline mode (If I can dream a little bit)

gladrock



Joined: 08/26/2010 19:48:13
Messages: 2
Offline

A ha! faac wasn't installed. I just installed it and conversion is working like a champ.

Awesome support! Great app! Thanks!
davidyon



Joined: 08/28/2010 17:04:37
Messages: 2
Offline

This is an excellent work. It had ever worked perfectly on my Debian. However after I reinstalled Debian and followed the same step. It has not work now. I can't connect this server with my ipad airvideo client. The error information is as followings. Anyone has some idea? Thanks in advance.

sudo java -jar AirVideoServerLinux.jar test.properties
DEBUG: SnapshotCache: Initializing Thumbnail Cache; Java Version: 1.6.0_21
DEBUG: SnapshotCache: Created new Snapshot Index BTree2010-08-28 23:00:41.750::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2010-08-28 23:00:41.809::INFO: jetty-6.1.x
2010-08-28 23:00:41.883::INFO: Started SocketConnector@0.0.0.0:45631
DEBUG: PortMapperAction: Scheduling task PortMapperAction$2 (978777649)
DEBUG: RemoteService: Error happened during 'generateServerPin': Couldn't send request
davidyon



Joined: 08/28/2010 17:04:37
Messages: 2
Offline

davidyon wrote:This is an excellent work. It had ever worked perfectly on my Debian. However after I reinstalled Debian and followed the same step. It has not work now. I can't connect this server with my ipad airvideo client. The error information is as followings. Anyone has some idea? Thanks in advance.

sudo java -jar AirVideoServerLinux.jar test.properties
DEBUG: SnapshotCache: Initializing Thumbnail Cache; Java Version: 1.6.0_21
DEBUG: SnapshotCache: Created new Snapshot Index BTree2010-08-28 23:00:41.750::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2010-08-28 23:00:41.809::INFO: jetty-6.1.x
2010-08-28 23:00:41.883::INFO: Started SocketConnector@0.0.0.0:45631
DEBUG: PortMapperAction: Scheduling task PortMapperAction$2 (978777649)
DEBUG: RemoteService: Error happened during 'generateServerPin': Couldn't send request


I have resolved this issue. The reason is the JDK can't reach the network if the net.ipv6.bindv6only parameter is set as 1. This parameter is defined in file /etc/sysctl.d/bindv6only.conf. After I set it as 0 and executed 'invoke-rc.d procps restart', it works well again.

I hope it can be helpful for those using Debian and experiencing the same issue
johnnytk36



Joined: 08/29/2010 21:04:29
Messages: 13
Offline

I am getting a weird issue.

I am running 10.04 of Ubuntu. I have Postfix mail server installed and set to send alerts.

When I have the following script in the in a /etc/init/airvideo.conf file as described here http://wiki.birth-online.de/know-how/hardware/apple-iphone/airvideo-server-linux.


When i boot up the Air Video server starts perfectly and i have no issues with it. What im having a issue with is that IF i have the airvideo.conf file in the etc/init/ folder like it needs to be to boot i receive a email from my Postfix server with the subject.
& a body of The *** in the body is usually some random strange combo of a few characters.

I think it has to do with permissions, i just don't know where the issue is. I think the email is trying to tell me that something tried to guess my root pass.


I know this said it was for Karmic Linux and it I'm using Lucid. That might be the issue, i don't know.

UPDATE: After spending 6 hours debugging this all i could, i cant figure it out. I have narrowed it down to the fact that we are using the sudo command while already in root. I think that triggers the email to be sent. It seems to be bypassing any setting i can think of to stop this. I have tried to edit the sudoers file to not allow email sent, but no matter what i did. It didn't work.

This is what i added to the sudoers file:



Here is the auth log output:



Could if be the fact that the sudeurs file is only readable by root?

Any help is appreciated.

I've given up for now and I'm just going to do a filter in Gmail to delete the email as soon as it comes in. This might be a true bug, but i dont care anymore. If anyone else using 10.04 sees this, let me know, so i know i'm not alone.

http://www.sudo.ws/sudo/sudoers.man.html

UPDATE 2: Fixed

It was my hostname in the host files and real hostname didn't match. I had changed it a few weeks ago. I still dont know why the sudeors file ignored my settings not to send emails though.

https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/530073

This message was edited 3 times. Last update was at 09/04/2010 02:31:48

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