qtmux moov-recovery-file seems broken if gst-launch-1.0 used

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

qtmux moov-recovery-file seems broken if gst-launch-1.0 used

llama
Hi,

It seems that gst-launch-0.10 and gst-launch-1.0 are drifferent in working around recovery file creation. I see , there is no actual bug report of this feature but even on this simple pipeline it fails if gst-launch-1.0 used to create recovery file . With that fail i mean - recovery file creates .mp4 file that is impossible to open because of some unknown error.

Here is the pipeline i use to test : gst-launch-1.0 videotestsrc pattern=18 num-buffers=1 ! qtmux moov-recovery-file=recovery10.mrf ! filesink location=broken10.mp4.

gst-launch-1.0 warning : WARN                   qtmux gstqtmux.c:2065:gst_qt_mux_prepare_moov_recovery:<qtmux0> An error was detected while writing to recover file, moov recovery won't work

gst-launch-0.1 warning: WARN                   qtmux gstqtmux.c:2072:check_and_subtract_ts:<qtmux0> Subtraction would result in negative value, using 0 as result

Why it's different and how can i solve it or test in order to use gst-launch-1.0 ?

Thank!