]> git.sesse.net Git - ffmpeg/commit
avformat/movenc: implicitly enable negative CTS offsets for ismv
authorJan Ekström <jeebjp@gmail.com>
Wed, 25 Jul 2018 23:51:38 +0000 (02:51 +0300)
committerJan Ekström <jeebjp@gmail.com>
Fri, 24 Aug 2018 18:00:05 +0000 (21:00 +0300)
commit1931761f18cda3756a27087c366270c38160c754
treeca75d01e0d809ccf21ebcb34eb5366d6c920ea75
parent701aca55fd1186e440a5b208374d4754c9181f80
avformat/movenc: implicitly enable negative CTS offsets for ismv

ISMV lacks any sort of edit list support, as well as tfxd is
effectively the PTS of the fragment for most intents and purposes.

Thus, if b-frames are requested without negative CTS offsets you
end up with N frames' worth of delay (tfxd PTS plus the CTS offset
of the first sample). Negative CTS offsets enable the first sample
to have CTS=DTS, and thus a/v desync due to b-frame reorder delay
is avoided.
doc/muxers.texi
libavformat/movenc.c
tests/ref/fate/movenc
tests/ref/lavf/ismv