mp4mux: pipeline never starts playing when specifying the moov-recovery-file option
Describe your issue
The moov-recovery-file
option seems to be broken in (at least) 1.18.5. The pipeline never starts playing when using it.
Expected Behavior
I expected the pipeline to play, and produce a video.
Observed Behavior
The pipeline never plays, and the video is empty:
$ gst-launch-1.0 -e videotestsrc ! video/x-raw,width=1920,height=1080 ! x264enc ! h264parse ! mp4mux moov-recovery-file=out.recover ! filesink location=out.mp4
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
^C^Z
[1]+ Stopped gst-launch-1.0 -e videotestsrc ! video/x-raw,width=1920,height=1080 ! x264enc ! h264parse ! mp4mux moov-recovery-file=out.recover ! filesink location=out.mp4
$
$ du out.mp4 out.recover
0 out.mp4
0 out.recover
The pipeline works without the moov-recovery-file option.
Setup
- Operating System: Linux
- Device: Computer
- GStreamer Version: 1.18.5, also observed on 1.18.3 and 4.
-
Command line:
$ gst-launch-1.0 -e videotestsrc ! video/x-raw,width=1920,height=1080 ! x264enc ! h264parse ! mp4mux moov-recovery-file=out.recover ! filesink location=out.mp4
Steps to reproduce the bug
- open terminal
- type
gst-launch-1.0 -e videotestsrc ! video/x-raw,width=1920,height=1080 ! x264enc ! h264parse ! mp4mux moov-recovery-file=out.recover ! filesink location=out.mp4
How reproducible is the bug?
It always happens on my system, in addition to my imx6, so seems like a general gstreamer 1.18 issue to me.