[FFmpeg-trac] #10622(avcodec:open): AMF encoder uses sleep() function, which is not precise on WIndows
FFmpeg
trac at avcodec.org
Tue Oct 17 09:22:50 EEST 2023
#10622: AMF encoder uses sleep() function, which is not precise on WIndows
-------------------------------------+-----------------------------------
Reporter: Evgeny | Owner: Evgeny
Type: defect | Status: open
Priority: important | Component: avcodec
Version: git-master | Resolution:
Keywords: AMF encoder | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by Aleksoid1978):
For Windows better way - use
**NtQueryTimerResolution/NtSetTimerResolution** functions for set accurate
timer ~1ms.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10622#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list