[prev in list] [next in list] [prev in thread] [next in thread]
List: mtvp-sdk
Subject: Re: Fast rewind functionality.
From: Tristan Savatier <tristan () bok ! net>
Date: 1998-05-03 20:43:14
[Download RAW message or body]
To subscribers of the mtvp-sdk@mpegtv.com mailing list:
Atul Sowani wrote:
>
> Hi! Lately I was trying to implement fast rewind [ << ] functionality
> in the MpegTV. But I am failing. It seems too difficult to implement
> it. The logic I used is as follows:
>
> 1. When user presses << button, pause the video.
> 2. Get current pos using COM_GET_POS.
> 3. calculate the position to go (seekPos) as
> seekPos = curPos - OFFSET
> 4. go to seekPos using COM_SEEK
> 5. change the state of decoder to STATE_PLAYING.
>
> With all this done, I am not observing the effect. What's the problem
> in the logic?
Do NOT change the state to playing!!!
Instead, wait for the A2G_COM_DISPLAY_READY and when you
get it, go back to 2 (untill the user releases the << button).
If you do that, you will get the same effect that you obtain
with mtv, when to drag the slide-bar slowly toward the left
(i.e. you see the I-frames only, in fast reverse order).
-t
___________________________________________________________
To unsubscribe, send a mailto:mtvp-sdk-request@mpegtv.com
with no subject and "unsubscribe" in the body.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic