[FFmpeg-devel] [PATCH] When using ffmpeg to record screen, set the operating system time and set the system time backward. Stop screen recording, unable to save video.

Marton Balint cus at passwd.hu
Fri Feb 19 22:39:49 EET 2021



On Fri, 19 Feb 2021, Nicolas George wrote:

> houlei at uniontech.com (12021-02-19):
>> From: Hou Lei <houlei at uniontech.com>
>>
>> Signed-off-by: Hou Lei <houlei at uniontech.com>
>> ---
>>  libavdevice/xcbgrab.c | 11 ++++++++++-
>>  1 file changed, 10 insertions(+), 1 deletion(-)
>
> NAK. The correct fix is to use the monotonic clock for syncing.

I just sent a patch for this exactly.

Regards,
Marton

> And make
> it an option to use it for frame timestamps too.
>
> Regards,
>
> --
>  Nicolas George
>


More information about the ffmpeg-devel mailing list