[FFmpeg-devel] Is AV_TIME_BASE required to be a full millisecond?
Michael Fabian 'Xaymar' Dirks
michael.dirks at xaymar.com
Tue May 18 23:04:44 EEST 2021
Hello,
while tracking some time stamp issues unique to FFmpeg I noticed AV_Time_BASE(_Q) being present quite often, which appears to be a value to define time stamps in milliseconds. Tracking it back to its origin I could find very little to no information about why this value was chosen. All I know so far is that it was chosen for compatibility with very early versions of FFmpeg.
Does FFmpeg require this value to be a full millisecond? Or is it possible to adjust this to microseconds and "fix" many of the time stamp issues that occur? While it seems to be possible to work-around this issue on a muxer/demuxer level, the underlying issue in FFmpeg would still be present. At the moment, most non-integer ms framerates and sample rates end up performing weird without post-processing.
--
Sincerely | Mit freundlichen Grüßen
Michael Fabian 'Xaymar' Dirks
More information about the ffmpeg-devel
mailing list