Hi

Thanks Duncan, but it didnt work:
childapp.py (134): Running 
(list) "/usr/local/xine/bin/xine --auto-play=fq --hide-gui --borderless 
--geometry 
800x600+0+0 --no-splash --stdctl -V xv -A 
oss --post='pp:quality=10;expand' file:///home/lyra/MOV01482.MPG" with 
pid 14948 prioity -20
childapp.py (391): Read_Thread.__init__(name='stdout', fh=<open 
file '<fdopen>', mode 'rb' at 0x86dc1d0>, callback=<bound method 
XineApp.stdout_cb of <video.plugins.xine.XineApp instance at 
0x86e21ac>>, logger='xine', doeslogging=1
childapp.py (406): logging child to "/var/log/freevo/xine-stdout.log"
childapp.py (391): Read_Thread.__init__(name='stderr', fh=<open 
file '<fdopen>', mode 'rb' at 0x86dc218>, callback=<bound method 
XineApp.stderr_cb of <video.plugins.xine.XineApp instance at 
0x86e21ac>>, logger='xine', doeslogging=1
childapp.py (406): logging child to "/var/log/freevo/xine-stderr.log"
childapp.py (149): /usr/bin/renice -20 -p 14948
childapp.py (423): stdout: no data, closing log

same problem... I tried with xine from debian distro and with a new xine 
compiled by me.  same result.

xine-stderr.log only shows this:
xiTK received SIGSEGV signal, RIP.

but only after I press esc in freevo.

On Monday 28 May 2007 13:20, Duncan Webb wrote:
>  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

-- 
Christian Lyra
POP-PR - RNP

http://lyra.soueu.com.br

  Why are programmers non-productive?
  Because their time is wasted in meetings. 
  Why are programmers rebellious?
  Because the management interferes too much. 
  Why are the programmers resigning one by one?
  Because they are burnt out. 
  Having worked for poor management, they no longer value their jobs. 
                                                The Tao Of Programing

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