How to Step Backward?

Nicolas Dufresne nicolas at ndufresne.ca
Wed Jan 15 14:26:27 UTC 2020


Le mer. 15 janv. 2020 09 h 15, Thomas Bond <tom.bond at entexpinc.com> a
écrit :

> Hello,
>
>
>      I'm using this method to step forward.
>
> gst_event_new_step (GST_FORMAT_BUFFERS,framesToSkip, 1, TRUE, FALSE)
>
>
>      What do I need to do in order to change direction to step backward?
>

You need to change the direction by first seeking with a negative rate.
This is the only way decoders can be refilled with the entire GOP. You can
do a flushing seek at the current position.

>
>      In my scenario I need to go back a frame and the go forward a frame
> so I end on the same frame I started from.
>
> I need to do this to update post processing I'm doing when the video
> stream is stopped.
>
>
>      Thanks in advance.
>
>
>      Tom
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200115/d8475ff0/attachment.htm>


More information about the gstreamer-devel mailing list