FrameStepping gstreamer1.x python and general
Turmel, Frederic
Frederic.Turmel at arris.com
Fri May 29 21:19:44 PDT 2015
More on this, I was reading the design for the step event. (http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/design/part-framestep.txt)
If I understand the step event correctly, a step event will skip the amount of frame specified in the event but those buffers/frames will be drop/flush. Then upon putting the pipeline to playing, it will start at the new position.
If I'm correct, this may not be what I'm looking for. What I'm trying to achieve is pause the pipeline and play frame by frame with a trigger, my app control when the next frame is sent to the sink.
I did a simple test using filesink as the sink with uncompressed video. Nothing is written when I trigger the frame stepping event. I tried with and without the flush flag with same result.
Any ideas/suggestions?
Thanks
-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Tim Müller
Sent: Friday, May 29, 2015 2:21 AM
To: Discussion of the development of and with GStreamer
Subject: Re: FrameStepping gstreamer1.x python and general
On Fri, 2015-05-29 at 10:58 +0200, Thibault Saunier wrote:
> As for frame stepping support, I do not think it is properly
> implemented everywhere, best is to try it out and see/fix it/open a
> bug if needed.
Frame stepping is handled entirely by the sink base class and shouldn't require support from upstream elements (unless you want to step back, then it requires reverse playback support), so hopefully it to mostly just works whatever the source/demuxer/decoder (minus bugs of course, as Thibault said).
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list