Playback of a video stream is slow under GTK
pisymbol at gmail.com
Mon Jul 29 23:47:56 UTC 2019
On Mon, Jul 29, 2019 at 5:51 PM Mathieu Duponchelle <mathieu at centricular.com>
> I've never seen that, but a test case would probably be helpful :)
Not sure what exactly to share:
Here is the gist of the code:
self.play_pipeline = Gst.Pipeline()
factory = self.play_pipeline.get_factory()
gtksink = Gst.ElementFactory.make('gtksink', None)
self.ghostpad = Gst.GhostPad.new("sink",
self.pack_start(gtksink.props.widget, True, True, 0)
# We automatically start playing as soon as we are drawn on the
bus = self.play_pipeline.get_bus()
> Also, you should always use
> queues after demuxers.
Threading them out always going to be faster?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel