FrameStepping gstreamer1.x python and general

Turmel, Frederic Frederic.Turmel at arris.com
Fri May 29 08:06:28 PDT 2015


Thanks for the information. I can now send the step event using this:

sink.send_event(Gst.Event.new_step(Gst.Format.BUFFERS, 1, 1, True, False))

Before sending the event I pause the pipeline.

I can see that the position of the timeline is moving forward for each step but I don't see the video moving forward.  Is there something missing?

Pipeline is multifilesrc -> videoparse -> videoconvert -> decklinkvideosink.

If I trigger several step continuously, eventually gstreamer crash with the following error:

0:00:37.042014985 26959      0x2b2bed0 WARN       decklinkvideosink gstdecklinkvideosink.cpp:472:gst_decklink_video_sink_prepare:<decklinkvideosink0> error: Failed to create video frame: 0x80000008
0:00:37.042057226 26959      0x2b2bed0 INFO        GST_ERROR_SYSTEM gstelement.c:1837:gst_element_message_full:<decklinkvideosink0> posting message: GStreamer encountered a general stream error.
0:00:37.042081956 26959      0x2b2bed0 INFO        GST_ERROR_SYSTEM gstelement.c:1860:gst_element_message_full:<decklinkvideosink0> posted error message: GStreamer encountered a general stream error.
0:00:37.042124896 26959      0x2b2bf70 INFO                    task gsttask.c:315:gst_task_func:<qA:src> Task going to paused
0:00:37.042131845 26959      0x2b2c0a0 INFO                 basesrc gstbasesrc.c:2851:gst_base_src_loop:<testSource> pausing after gst_pad_push() = error



-----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