mp4mux complains about missing PTS
sebastian at centricular.com
Tue Apr 18 11:45:22 UTC 2023
On Tue, 2023-04-18 at 13:42 +0200, Florian Echtler via gstreamer-devel
> I'm trying to record multiple H.264 and Opus streams to a MP4 file.
> there is apparently some sort of race condition going on, because in
> roughly 8
> out of 10 attempts, the pipeline fails with the following error and
> an EOS:
> gst-stream-error-quark: Could not multiplex stream. (10):
> ../gst/isomp4/gstqtmux.c(5402): gst_qt_mux_add_buffer ():
> Buffer has no PTS.
> In the other 20% of cases, the pipeline starts and the resulting MP4
> contains all the streams, correctly synchronized and playable. I also
> tried with
> qtmux instead of mp4mux, but got the same results.
> I'm attaching the dot graph for the failure case; the dot graph for a
> run looks exactly identical, with the only difference being that the
> doesn't flag EOS.
> Side question: even if everything works, the resulting MP4 file is
> not seekable.
> Is there a straightforward fix for that?
Can you create an issue with this with a way to reproduce it?
Most likely this is one of the known h264parse/baseparse PTS handling
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel