"Lars Michael Jogback" wrote:
>> That's all very strange. IIRC this started for some people (it works
>> for me) after I added the animation stuff from Viggo. But Viggo didn't
>> change the normal player stuff, it's in childapp and it's shared
>> between all types of players (even the xine video plugin).
>
> This has something todo with Viggo's animation stuff.
>
> I've tried by reverting osd.py, main.py and skins/main/screen.py back to
> the version before Viggo's animation stuff was added and then it works.
Can you send me the diff you used to make it working again? Maybe I
can see something.
>
> I've done a strace on the mplayer, and it stops on:
> write(1, "A: 4.4 0.6% 88% \r", 28
>
> This is also what is shown in the mplayer-logs.
>
> I suspect that for some reason, Freevo has stopped reading stdout from
> mplayer and the stdout-buffer get's full or something.
Yes.
> I noticed that Viggo changed time.sleep to osd.sleep in main.py, maybe
> something similiar needs to be done in childapp.py aswell.
It wasn't Viggo, it was me. But osd.sleep only takes care of the
screen update for the animation to avoid an extra thread (two threads
drawing on the osd is a bad idea).
>> o remove audio.mplayer and add audio.xine. Does this work?
>
> Xine works, but the the Elapsed time: is not incremented. The
> reason Xine works is probably because it's less "noisy" on stdout
> so the buffer doesn't get full that quickly.
Yes, and since Elapsed time doesn't update, Freevo also doesn't read
the stdout.
>> o video is still working, right?
>
> Yes
VERY strange. It's the same code to read from the childs. Start freevo
and count the number of python processes you have (threads are shown
as processes in top and ps). Than start a video, you should have two
more threads than. Do the same for audio, do you also have two more
threads?
Dischi
--
I come from a small town whose population never changed. Each time a woman
got pregnant, someone left town.
-- Michael Prichard
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users