[FFmpeg-devel] [PATCH v2] Add 2 timestamp print formats

Ulf Zibis Ulf.Zibis at CoSoCo.de
Tue Jul 2 03:09:58 EEST 2019


Am 02.07.19 um 00:28 schrieb Ulf Zibis:
>> If this could be done without float/double that would be preferred as it
>> avoids inaccuracies / slight differences between platforms
> I too thought on that, but the existing functions too rely on
> float/double. Should I anyway provide a solution with integer arithmetic?
Then there could be inconsistencies with the existing
av_ts_make_time_string function.

My current approach is result of this discussion:
https://stackoverflow.com/questions/56797715/which-format-string-to-use-with-printf-for-a-time-as-78901-234/56814382#

-Ulf



More information about the ffmpeg-devel mailing list