Why do these two Gstreamer pipelines work fine separately, but fail when tee'd from the source?
The below pipeline works fine if I either send it to UDP, or if I sent to a file. When I connect them with a tee, the pipeline does nothing (no data sent to file or UDP port). No errors are printed, however, when I hit CTRL-C the pipeline waits for EOL shutdown and I have to CTRL-C again.
Re: Why do these two Gstreamer pipelines work fine separately, but fail when tee'd from the source?
Can anyone else comment?
At least for me (Gst 1.18.2 on Windows 10 using local IP camera) the
pipelines fail to start because mp4mux can't negotiate caps successfully, I
suspect because of the codec_data cap. The warnings for this were displayed
running when running with gst-debug=3.
I don't know enough about codec_data on whether this is required or if it
can be stripped by another element. This is the pipeline that worked for me,
though not ideal:
gst-launch-1.0 rtspsrc location='rtsp://10.42.0.59/1' latency=100 !
rtph264depay ! h264parse ! nvh264dec ! videoconvert ! nvh264enc ! mp4mux !