Problem with souphttpsrc
tobatrance
henning.hinze at mail.de
Wed Jan 24 09:38:58 UTC 2018
Hi. I want to include http streaming in my application. I'm using Gstreamer
1.8.3 and I'm running on ubuntu. The following pipeline is used:
souphttpsrc ! decodebin name=mux ! autovideosink mux. ! audioconvert !
alsasink
I want to stream from this source:
http://artelive-lh.akamaihd.net/i/artelive_de@393591/master.m3u8
It's working properly when using gst-play-1.0.
Nevertheless when using gst-launch-1.0 it plays for like 10 seconds and then
shuts down.
I embedded it into my application as well and it's working fine.
Actually I don't want to use the autovideosink but an appsink as I'm doing
some postprocessing with OpenGL and stuff before displaying the frames. Here
it's also quitting after about 10 seconds. I did some research and found out
that it's quitting when a new bitrate is negotiated. For the autovideosink
at this point the 'new-pad'-handler for decodebin is called which adds new
pads featuring the new bitrate which is not the case when using the appsink.
What seems as well strange, and is the case for both sinks, that in the caps
the framerate is specified with 0/1 which makes no sense at all.
Any recommendation what to do to get this working? Let me also know if you
need more information.
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list