Hang in gst pipeline

Sebastian Dröge sebastian at centricular.com
Wed Dec 11 09:04:51 PST 2013


On Mo, 2013-12-09 at 10:36 -0800, Baby Octopus wrote:
> Hi,
> 
> My application hangs in gst_collect_pads_chain(). Debugged the issue and
> found out it is not really an issue. The issue goes like this
> 
> The input TS/UDP initially has two audio and one videostream. This
> videostream along with one of the audio stream is picked up, transcoded and
> sent to an ubuntu based PC for playback. Now after some time, the input has
> only one video and one audio(The audio used for transcoding has vanished)
> 
> Since the audio stops coming and only video is given as output by decodebin,
> the muxer(mpegtsmux) element hangs in gst_collect_pads_chain(). Digged into
> this module and understood it just collects the pad for the muxer
> 
> This seems to be an interesting usecase. Any input on how it can be handled?
> One of the desirable feature possibly is that the muxer should adapt on the
> fly based on the input that it gets(mux a_v when both are available, mux
> only 'v' when 'a' is not available)
> 
> Any thoughts are welcome :)

As noted by someone else already you'll need to either insert silence if
audio is missing, or use the non-waiting/sparse-support mode of
collectpads for the audio pad.

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131211/62650026/attachment-0001.pgp>


More information about the gstreamer-devel mailing list