Duncan Webb wrote:
> Christian Lyra wrote:
>> Hi there,
>>
>> I still have the same problem (black screen), even with --autoplay=fq.
>>
>> Debug shows this:
>>
>> xine.py (176): Xine.play(): Starting 
>> cmd=['--prio=-20', '/usr/bin/xine', '--auto-play=fq', '--hide-gui', 
>> '--borderless', '--geometry', '800x600+0+0', '--no-splash', '--stdctl', 
>> '-V', 'xv', '-A', 'oss', '--no-lirc', "--post='pp:quality=10;expand'", 
>> 'file:///home/lyra/MOV01482.MPG']
>> childapp.py (82): 
>> ['--prio=-20', '/usr/bin/xine', '--auto-play=fq', '--hide-gui', 
>> '--borderless', '--geometry', '800x600+0+0', '--no-splash', '--stdctl', 
>> '-V', 'xv', '-A', 'oss', '--no-lirc', "--post='pp:quality=10;expand'", 
>> 'file:///home/lyra/MOV01482.MPG'] 
>> is a list
>> childapp.py (281): logging child to "/var/log/freevo/xine-stdout.log"
>> childapp.py (281): logging child to "/var/log/freevo/xine-stderr.log"
>> childapp.py (128): /usr/bin/renice -20 -p 28135
>> childapp.py (134): self.so.isAlive()=True, self.se.isAlive()=True
>> childapp.py (139): ChildApp.__init__(), pid=28135, 
>> app="/usr/bin/xine --auto-play=fq --hide-gui --borderless --geometry 
>> 800x600+0+0 --no-splash --stdctl -V xv -A 
>> oss --no-lirc --post='pp:quality=10;expand' 
>> file:///home/lyra/MOV01482.MPG", poll=-1
>> childapp.py (302): stdout: No data, stopping (pid 28125)!
>>
>> xine is still running after the movie finished. If I kill it by hand log 
>> show this:
>>
>> childapp.py (176): kill signal=15
>> childapp.py (191): killed the easy way
>> childapp.py (194): reading threads stopped
>> childapp.py (176): kill signal=15
>> childapp.py (181): already dead
>>
>> I also tried to just wait for a couple of minutes, to see if freevo 
>> would kill xine, but without success.
>>
>> While I was writing this, I was doing a few tests and just found the 
>> problem: xine! Running xine from command line with the same args as 
>> freevo gave me the same result:
>>
>> [EMAIL PROTECTED]:~$ /usr/bin/xine --auto-play=fq --hide-gui --borderless 
>> --geometry 
>> 800x600+0+0 --no-splash --stdctl -V xv  -A 
>> oss --no-lirc --post='pp:quality=10;expand' 
>> file:///home/lyra/MOV01482.MPG
>> This is xine (X11 gui) - a free video player v0.99.5cvs.
>> (c) 2000-2006 The xine Team.
>>
>> <hangs here, if I send a "enter" on console I got this:>
>>
>> xiTK received SIGSEGV signal, RIP.
>> Aborted
>>
>> Is this expected? Removing  "--stdctl" solves the problem at command 
>> line... But I know... freevo needs this. Is Xine broken? or is this 
>> version of xine broken?
> 
> I think that xine is broken if it is still running after the video has
> finished and the --auto-play=fq option is set. You can check with a ps
> -ef if xine is still running then there is a problem with xine.
> 
> Would you like to try the version of childapp that I posted earlier
> today as this uses subprocess and does not use the shell so the kill
> kills xine and not its parent shell.
> 
> As you know the --stdctl means that freevo can send commands to xine
> using stdin. But freevo can't send a quit at the end of the video unless
> xine reports that the video has finished on stdout or stderr.

Having said all of this I find that xine does indeed write that playing
is finished to the stderr channel.

*So* attached is a working version of childapp and xine. I'm not sure if
this works 100% as df_xine is a funny beast.

Duncan

Attachment: xine.tar.bz2
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to