dashsink example in documentation fails when setting muxer=mp4
When running the example launch line from https://gstreamer.freedesktop.org/documentation/dash/dashsink.html?gi-language=c#example-launch-line, but with muxer=mp4
:
gst-launch-1.0 dashsink name=dashsink target-duration=3 muxer=mp4 \
audiotestsrc is-live=true ! \
avenc_aac ! \
dashsink.audio_0 \
videotestsrc is-live=true ! x264enc ! dashsink.video_0
the pipeline only writes a single audio fragment, and only two video fragments.
Additionally, running without the audiotestsrc
the same issue occurs as above regarding fragments, but the pipeline also gets set to the PAUSED
state after the second video fragment is written. That launch line is as follows:
gst-launch-1.0 dashsink name=dashsink max-files=5 muxer=mp4 \
videotestsrc is-live=true ! x264enc ! dashsink.video_0
Am I misunderstanding something about how to use the muxer
property?