mpegtsmux for a/v blocking when audio missing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

mpegtsmux for a/v blocking when audio missing

wreuven
I am:

1) Receiving a live video which sometimes includes audio and sometimes not.
2) Pushing the video and optional audio into a gstreamer (18.2) MPEGTSMUX
connected to UDPSINK

If video (but no audio) is fed in, it seems like TSMUX fills its internal
buffer but nothing comes out of the TSMUX. If audio start arriving later
(with later timestamps) and we push it, it seems like everything is still
stuck.

Is there some way to prevent MPEGTSMUX from getting stuck waiting forever
for audio?

This is my pipeline:

mpegtsmux name=mux \
 ! udpsink host=127.0.0.1 port=5002 \
 appsrc name=video_src format=3 caps= \
"video/x-h264, stream-format=byte-stream, alignment=au, framerate=25/1" \
 ! queue \
 ! mux. \
 appsrc name=audio_src format=3 caps= \
"audio/x-opus, rate=(int)48000, channels=(int)2,
channel-mapping-family=(int)0" \
 ! queue \
 ! mux.




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel