[Ffmpeg-devel] FFPlay and the 'pause'

jorgefm at cirsa.com jorgefm
Wed Jan 4 12:07:03 CET 2006


Hi all,

Finally, I've found a way to do the ffplay 'pause' functionality to
work as expected. I've added a timestamp to save the time when
the pause begans to be able to recompute the frame_time when the
pause ends.

The little patch is attached. I hope it could be add to the cvs.

Thanks,
Jorge


ffmpeg-devel-bounces at mplayerhq.hu escribi? el 03/01/2006 11:07:42:

>
> Hi all,
>
> That's my first request due to a weird behaviour I've seen in the
> ffplay example code.
>
> Playing a video if I hit the pause and wait for some seconds,
> then I resume the playing you can see an accelerated playing
> until the video frame buffer is empty. The audio frames is played
> ok. Repeating this process leads to a video-audio desynchronization.
>
> Anybody has corrected or observed this behaviour ? Any clue to
> resolve this ? I've been looking for a 'pause' function in the API
> with no luck. Is there any function to pause the video and audio
> streams? In MPlayer you can't reproduce it. I'm using the ffmpeg
> the 09-December-2005 cvs snapshot.
>
> Thanks
> Jorge
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel

(See attached file: ffplay-pause-corrected.patch)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffplay-pause-corrected.patch
Type: application/octet-stream
Size: 840 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060104/24b9bf0e/attachment.obj>



More information about the ffmpeg-devel mailing list