all but first file of splitmuxsink are corrupted
Tim Müller
tim at centricular.com
Thu Jan 13 10:28:54 UTC 2022
Hi Tom,
> trying to split a video stream using splitmuxsink like:
>
> gst-launch-1.0 videotestsrc is-live=true ! videoconvert ! video/x-raw
> ! queue ! x264enc bitrate=2000000 ! h264parse ! splitmuxsink
> muxer=matroskamux max-size-time=20000000000
> location=/data/videos/afile%05d.mkv -v -e
>
> I'm finding that the first file afile00000.mkv works alright, and
> although the next files ( afile00001.mkv , afile00002.mkv ) play in
> vlc, the time indicator is always at the end of the timeline as if it
> was playing a live stream.
Does it play fine with gst-play-1.0?
It sounds like a bug in VLC where it doesn't handle files that start
with non-0 timestamps properly.
muxer="matroskamux offset-to-zero=true" might help.
Cheers
Tim
More information about the gstreamer-devel
mailing list