Critical error on fmp4 dashmp4mux element
GStreamer version: 1.20.3
fmp4 Version: 0.9.1-274e57a5
Rust version: rustc 1.65.0 (897e37553 2022-11-02)
OS: Ubuntu 22.04
Linux kernel version: 5.15.0-52-generic
Hi. I am building a pipeline to split a video into fragmented mp4 1s chunks with gstreamer. The below command is causing an error output:
gst-launch-1.0 filesrc location="sample_1080p_h265.mp4" ! qtdemux name=demux demux.video_0 ! libde265dec ! x265enc key-int-max=30 ! h265parse ! video/x-h265,stream-format=hvc1,alignment=au ! .video splitmuxsink location="fragments-dash/%02d.mp4" max-size-time=1000000000 muxer=dashmp4mux
However same command with default mp4mux
muxer is working fine.
Here is log output of the command:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstLibde265Dec:libde265dec0: Unsupported extra data version 1, decoding may fail
Additional debug info:
../ext/libde265/libde265-dec.c(583): gst_libde265_dec_set_format (): /GstPipeline:pipeline0/GstLibde265Dec:libde265dec0
Redistribute latency...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', mux/fmp4/src/fmp4mux/imp.rs:650:34
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
ERROR: from element /GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink0/GstDASHMP4Mux:dashmp4mux0: GStreamer encountered a general supporting library error.
Additional debug info:
/home/bedilbek/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/5dd56d8/gstreamer-base/src/subclass/aggregator.rs(876): gstreamer_base::subclass::aggregator (): /GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink0/GstDASHMP4Mux:dashmp4mux0:
Panicked: called `Option::unwrap()` on a `None` value
Execution ended after 0:00:34.788963538
Setting pipeline to NULL ...
ERROR: from element /GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink0/GstDASHMP4Mux:dashmp4mux0: GStreamer encountered a general supporting library error.
Additional debug info:
/home/bedilbek/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/5dd56d8/gstreamer/src/subclass/element.rs(443): gstreamer::subclass::element (): /GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink0/GstDASHMP4Mux:dashmp4mux0:
Panicked
ERROR: from element /GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink0/GstDASHMP4Mux:dashmp4mux0: GStreamer encountered a general supporting library error.
Additional debug info:
/home/bedilbek/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/5dd56d8/gstreamer/src/subclass/element.rs(443): gstreamer::subclass::element (): /GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink0/GstDASHMP4Mux:dashmp4mux0:
Panicked
ERROR: from element /GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink0/GstDASHMP4Mux:dashmp4mux0: GStreamer encountered a general supporting library error.
Additional debug info:
/home/bedilbek/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/5dd56d8/gstreamer/src/subclass/element.rs(443): gstreamer::subclass::element (): /GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink0/GstDASHMP4Mux:dashmp4mux0:
Panicked
Freeing pipeline ...
Edited by Bedilbek Khamidov