Gstreamer splitmuxsink resulting mp4 file not playable.
Gstreamer version- 1.22
Distribution used - Debian GNU/Linux 10 (buster)
Kernel version - 5.10.0-0.deb10.16-amd64
While upgrading Gstreamer version to 1.22 I have run the following pipeline:
gst-launch-1.0 -e rtspsrc location="rtsp://user:password@x.x.x.x" retry=100 watchdog timeout=300000 valve name=valve drop=false ! rtph264depay ! h264parse ! tee name=emitter ! queue ! out_video. tee name=out_video ! queue ! splitmuxsink name=mp4mux max-size-time=10000000000 location=/tmp/record_repo/stream_ tee name=out_video ! queue ! mp4mux.video
Expected Behaviour: The mp4 file generated is playable.
Actual Behaviour: This is one side of the pipeline which generates output mp4 file which failed.
I have removed the "sync" property in element "splitmuxsink" (which was property of "filesink" ) which results in failed to send an EOS into the pipeline and resulting mp4 file is not playable although the images are generated correctly.