question about matroskamux's behavior
nucleus_wind
felixjojo199 at gmail.com
Thu Apr 11 00:37:09 UTC 2019
Hi All,
I have a question about the behavior of matroskamux element. I went through
its code and I saw that it's receiving buffers from its collectpad. However,
matroskamux did not override collectpad's default compare function. As a
result, when two frames' timestamp difference falls outside of the mkv
timestampScale, matroskamux could produce mkv that contains consecutive
frames that has the same timestamp. For example, assume the timestampScale
is 1,000,000, but frame n and n + 1 are only 10 microseconds apart. After
applying the timestampScale, frame n and n + 1 would have the same
timestamp. This can happen either within a cluster or across two consecutive
cluster - i.e. the last frame of cluster n has the same timestamp as the
first frame of cluster n + 1. I'm not an expert in mkv, can you guys help me
understand whether it is semantically correct to have consecutive frames
with the same timestamp in mkv and is there any risk of decoders having
issues with such frames. How is the decoder gonna handle frames with the
same timestamp?
Thanks
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list