[FFmpeg-devel] [PATCH] lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.
Derek Buitenhuis
derek.buitenhuis at gmail.com
Tue Nov 14 20:06:39 EET 2017
On 11/14/2017 2:15 AM, Sasi Inguva wrote:
> Signed-off-by: Sasi Inguva <isasi at google.com>
> ---
> libavformat/mov.c | 48 ++++++++++++++++++++++++++++++++++++++++
> tests/fate/mov.mak | 5 +++++
> tests/ref/fate/mov-guess-delay-1 | 3 +++
> tests/ref/fate/mov-guess-delay-2 | 3 +++
> 4 files changed, 59 insertions(+)
> create mode 100644 tests/ref/fate/mov-guess-delay-1
> create mode 100644 tests/ref/fate/mov-guess-delay-2
Going to play the part of wm4 here.
This seems like one giant hack to me (and potentially yet more slowness
during init/index).
Should we *really* be populating codecpar with a heuristic guess and
should we *really* be putting this in one specific demuxer?
Seems pretty gross to me.
- Derek
More information about the ffmpeg-devel
mailing list