Matthieu Weber wrote:
> I tested the timeshift buffer, and it works well (except when it
> crashes while seeking, I don't know exactly why :) 

I maybe know, more later in this mail. 

> But I think that it would be better to use a plain file for
> timeshifting, since 256 MB of buffer gives a timeshift of about 7
> minutes in DVB, which is not much. 

OK, there is a small plugin in WIP/Dischi called
mplayer_dvb_timeshift.py. Put it into src/tv/plugins, activate it and
remove the old tv.mplayer plugin. It is a mix between video.player and
tv.mplayer, only using dvb.

It calls mplayer dumpstream to dump the stream and than mplayer to
play it (after 1 MB buffer to be save). It works good, you can seek
and pause. One problem: you may not seek forward. I use mmpython to
get the maximum position to seek to to avoid seeking behind the
stream. But your seek patch has a small big which may also cause
Thomas ringbuffer to crash: first mplayer seeks and after that you
correct the position (I guess). That is bad, because mplayer seeks
after the end and you get no chance to correct it.

So what we need here is a seek patch that seeks correct in the first
place. Later we could make it possible to define the dump program
(making all dump-to-mpeg programs working) and maybe also the show
program, make it possible to choose between xine and mplayer. 


Try it,


Dischi

-- 
Software isn't released, it's allowed to escape.


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to