[Rve-main] Re: rve not surviving playlist skips (was: question about rve)
Status: Beta
Brought to you by:
bones0
|
From: Jonas J. <jb...@kn...> - 2004-02-16 21:56:04
|
On Fri, 2004-02-13 at 17:40, Javier Uruen Val wrote: > Hi Jonas, > > First of all I would like to thank you for your work in RVE. It's a > quite interesting and useful code indeed. I am trying to use it for doing a > kind of tv, it's as simple as playing a video playlist. In addition I would > like to add scrolling text in real time, that's where RVE fits perfectly. RVE works perfectly > while playing a video, nevertheless when the video ends and the next one > in the playlist is loaded and played, the text is no longer showed. To > make it work again i have to ctrl+c the "./rve 320 240 0 hscroll_text > "It works" > myfifo.fifo" command and launch it again. Just off the top > my head it seemed like a problem with the pipe. To check it i run rve > with strace and the write system calls work ok. After that, I added > debug to the put_image() function in the vf_bmovl.c, that's where > mplayer read from the fifo, and it seems to read ok. So I have no clue > about how to fix it if could point out where you think the problem is... > > Thanks again for the code. > > > Greetings from Spain > > Javi I can reproduce your problem, and I don't know exactly what's causing it. However, I'm not sure it should be legal to let rve continue when the movie changes. When rve is initially invoked, it must know the width/height of the movie, because out-of-bounds bitmaps will either crash mplayer or look wrong. However, skipping to the next file in the playlist may change the width and height, and thus rve should be restarted. The only case where rve should be allowed to continue on a different file is when it's exactly the same size and the chosen rve command repaints the entire screen every frame. For my own application the script that drives rve restarts it every time a new file is played. Maybe you need to write such a script too? -- Jonas Jensen <jb...@kn...> |