mbox

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

Message ID 20200504162428.85535-1-hello.vectronic@gmail.com
Headers show

Message

vectronic May 4, 2020, 4:24 p.m. UTC
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(-)