how to remove audio from live stream

Marc Marc at f1-outsourcing.eu
Wed Sep 15 21:25:19 UTC 2021


> 
> But I agree with you, since you say that [2] (gst-launch-1.0 srtsrc
> uri=srt://:55556?mode=listener ! srtsink uri=srt://:33334) works it must
> be something on the CAPS.
>
> So I would suggest trying to compare the CAPS you get with -v for both
> [2] and [4] and see if you can spot any differences.

Because the sink has an any pad/cap it does not do any caps negotiation. I assume, because I do not see any output from such a command.

GST_DEBUG=5 gst-launch-1.0 srtsrc uri=srt://:55556?mode=listener ! filesink location=out3.raw 2>&1 | grep -i GST_CAPS

 
> Look specially for the MPEGTS and H264 CAPS. I have had issues in some
> case with things like: stream-format and alignment.
> 
> You can also try adding some tsparse to see if it makes any difference:
> 
> gst-launch-1.0 srtsrc uri=srt://:55556?mode=listener ! tsparse ! tsdemux
> ! queue ! video/x-h264 ! h264parse ! mpegtsmux name=mux ! tsparse !
> srtsink uri=srt://:33334
> 
YES!!!! tsparse before the srtsink.

pffffff finaly



More information about the gstreamer-devel mailing list