[FFmpeg-devel] [PATCH v3] avformat/movenc: fix duration in mdhd box

Martin Storsjö martin at martin.st
Fri Dec 17 20:48:08 EET 2021


On Fri, 17 Dec 2021, Zhao Zhili wrote:

> mvhd and tkhd present the post-editlist duration, while mdhd should
> have the pre-editlist duration. Regression since c2424b1f3.
> ---
> libavformat/movenc.c  | 2 +-
> tests/ref/fate/movenc | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)

Thanks, this looks sensible to me. I haven't verified these details with 
the spec, but it sounds reasonable.

// Martin



More information about the ffmpeg-devel mailing list