playbin2 with MJPEG streams over http: long delay before playback starts, and buffering delays on each frame
mark.boots at usask.ca
Thu Jun 30 17:09:04 PDT 2011
I managed to find the multipartdemux element, but the single-stream
property doesn't exist:
If I take out the if(...property exists...) check and simply try to set
(<unknown>:26920): GLib-GObject-WARNING **: g_object_set_valist: object
class `GstMultipartDemux' has no property named `single-stream'
I'm using GStreamer version 0.10.35, and gst-plugins-good-0.10.30. What
version was the single-stream property added in?
On Wed, 2011-06-29 at 20:55 -0700, Hoyt, David wrote:
> >> To use that, you'll need to find when playbin2 adds a uridecodebin and then find when the uridecodebin adds a decodebin and then locate the multipartdemux in the decodebin and set the property. [single-stream=true]
> > Any idea how to do this programmatically, if all I have access to is the playbin2 element?
> Take a look at the code available here to get you started: http://code.google.com/p/ossbuild/source/browse/trunk/Main/GStreamer/Source/gstreamer/tools/gst-player.c#2407
> Follow the callback into playbin_element_added() on line 1427, then into uridecodebin_element_added() on line 1450, then into decodebin_element_added() on line 1471, and finally into examine_element() on line 506. The property is explicitly set on line 514. It's rather ugly, but it does the trick.
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel