[FFmpeg-devel] [PATCH 0/2] avformat movenc add flag to allow disabling limit on timescale

vectronic hello.vectronic at gmail.com
Mon May 4 19:24:26 EEST 2020


I needed to encode to mov/mp4 with a timebase of 1/600 and the output was not as expected.

I discovered the reason is a silent limiting of a track timebase added here:

https://github.com/FFmpeg/FFmpeg/commit/b02493e47668e66757b72a7163476e590edfea3a

The patch attached provides a new flag to disable the timebase limit, and in the case that the limit
is applied, a debug message is logged to prevent future user confusion.

vectronic (2):
  avformat movenc add flag to disable silent limit on timescale
  avformat movenc add flag to disable silent limit on timescale

 libavformat/movenc.c | 8 ++++++--
 libavformat/movenc.h | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)

-- 
2.24.2 (Apple Git-127)



More information about the ffmpeg-devel mailing list