rtspsrc generates durationless files when muxing
Submitted by Hans Månsson
Link to original bug (#730631)
Description
The following pipeline:
rtspsrc location="rtsp[th]://" ! rtph264depay ! h264parse ! mp4mux ! filesink
generates durationless mp4 files when transport is TCP or tunnelled. If UDP is selected as transport the file gets duration.
Even more strage is that if pipeline is altered to:
rtspsrc location="rtsp[th]://" ! rtpjitterbuffer ! rtph264depay ! h264parse ! mp4mux ! filesink
the resulting mp4 files get correct duration. This is strange since the rtspsrc internally uses rtpbin which in turn uses rtpjitterbuffer.
I have attached gst debug level 9 for both pipelines.
Version: 1.2.0