Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/07/2010 19:11:22
|
AlexPro
Joined: 12/07/2009 15:16:37
Messages: 2
Offline
|
There are few seconds missing at the end of every video in the live conversion.
Ex. I played a 45:00 video, but the player just jumped to main screen around 44:45.
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/09/2010 14:36:26
|
luckman212
Joined: 12/30/2009 14:07:55
Messages: 23
Offline
|
Hello,
with 2.25b2 (not sure if it also affects earlier versions) running on Win7 x64, i find that after playing video files, copies of ffmpeg that were spawned by airvideoserver.exe are left running. Also, sometimes the file handles are not closed, even long after the iphone client has disconnected. This makes it difficult to move or delete videos until you quit & relaunch airvideoserver.
screenshot.
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/09/2010 15:45:58
|
harhar
Joined: 03/09/2010 15:31:12
Messages: 3
Offline
|
2.2.5-b2 on OS X is also leaking file descriptors. Seems to be related to thumbnail generation for mkv files, after just browsing a few folders, all the
mkv files remain open according to lsof.
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/09/2010 17:51:40
|
Admin
Joined: 08/23/2009 08:49:34
Messages: 8705
Offline
|
Sometimes Air Video Server doesn't close the video file when you quit the client during streaming without tapping the "Done" button. Could this be by any chance your case?
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/09/2010 18:10:25
|
luckman212
Joined: 12/30/2009 14:07:55
Messages: 23
Offline
|
It could be the case, yes!
I wonder if it is possible to have the airvideoserver.exe become aware that the iphone client is no longer streaming or connected? and thus would be able to close the video file after a period of inactivity?
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/09/2010 18:11:20
|
Admin
Joined: 08/23/2009 08:49:34
Messages: 8705
Offline
|
The problem is, when iPhone gets locked it doesn't communicate. So we have no way of telling whether the iPhone is just locked or the Air Video isn't running at all.
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/09/2010 18:19:28
|
luckman212
Joined: 12/30/2009 14:07:55
Messages: 23
Offline
|
I guess it would be better to assume that if the phone gets locked, then it is safe to stop streaming the video and close the connection & file handle-- because am I wrong or is it not possible to watch video while the phone is locked? Or maybe I mis-understand what you are saying. Or is there a way for the airvideo iphone app to send a signal upon shutdown to the server (assuming it can get through via tcp) to say "bye bye" and ask the server to close any connections. I know of some apps that do things upon exit (pressing the home button) such as Talking Carl. So I guess there is some way to hook that function and 'do things' before the app fully closes.
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/09/2010 18:46:56
|
Admin
Joined: 08/23/2009 08:49:34
Messages: 8705
Offline
|
iPhone can be locked, but Air Video is still running, just paused. However when you unlock the iPhone, you can resume playback. If we stop the stream server side the resume will not be possible.
Action on home button is possible, but the request to server is not always allowed (not really sure why, it should work in theory, we ask the server to close streams for the client, but the application is often terminated before this happens).
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/09/2010 21:36:00
|
luckman212
Joined: 12/30/2009 14:07:55
Messages: 23
Offline
|
is it possible to add a button to the GUI of the airvideoserver something like "close all streams & file handles" or something like that? so that at least it can be easily "reset" instead of quitting & re-launching the app.
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/09/2010 21:55:42
|
harhar
Joined: 03/09/2010 15:31:12
Messages: 3
Offline
|
In my case I didn't play any videos, only browsed some folders with mkv files in them. I took a closer look with dtruss, and to me it looks like the server opens the mkv file to check if it has subtitle tracks, and doesn't close the file afterwards. This happens only with mkv files, and only when there's no cached thumbnail.
A clip from dtruss output is here: http://pastebin.com/bjFizX9U. This happens right after the thumbnail is generated, and the file handle opened at open("/tmp/airvid/test.mkv\0", 0x0, 0x1B6) = 25 0 is never closed.
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/09/2010 23:41:30
|
Admin
Joined: 08/23/2009 08:49:34
Messages: 8705
Offline
|
Good catch! Thanks, it will be fixed in next server release.
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/10/2010 00:25:34
|
harhar
Joined: 03/09/2010 15:31:12
Messages: 3
Offline
|
HTH and thanks for the awesome app!
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/15/2010 18:02:38
|
mlongpre
Joined: 03/15/2010 17:55:42
Messages: 6
Offline
|
Im not sure if its the server or client but i cant seem to use the conversion presets anymore. all i have when i go to the conversion setting menu on my ipod is a section to crop the video and add audio boost. also allows me to choose audio stream but no video presets. only a global conversion setting in the top menu bar. Any ideas?
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/15/2010 19:11:05
|
Admin
Joined: 08/23/2009 08:49:34
Messages: 8705
Offline
|
It's the new client. Since Air Video has automatic quality control the conversion quality settings no longer make sense. In global conversion settings you can enable/disable certain bitrates. Air Video now adjusts video quality according to the bandwidth.
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/15/2010 19:26:12
|
mlongpre
Joined: 03/15/2010 17:55:42
Messages: 6
Offline
|
Gotcha.... the only problem i have now is that i would commonly use air video to convert my movies to play on my xbox360. And being able to set a 780 width video to keep its width for conversion was great. Now the largest it can be converted to is 640 i think? I understand that as the largest the ipod with play is 640. I guess im just a little bummed now that i cant use this to pick my conversion settings.
|
|
 |
|