On Tue, 19 May 2020, Lynne wrote:
May 19, 2020, 11:25 by e...@fastwebnet.it:
I wouldn't be surprised if the xlib code has some PTS issues and schedules
downloading a frame late.
I'm far from being an expert, but I would be surprised if that had issues
considering it's the main Linux screen capture we have?
The xcb calls to grab a frame are quite simple/straightforward (both shm and
non shm versions).
The avdevice polls to get new frames. If it polls too late, it will miss a
frame. I think that's where a possible issue is.
This is a good point. As far as I see I can greatly improve the smoothness
of captured frames of xcbgrab by changing the av_usleep(delay) line in
xcbgrab.c to av_usleep(delay/2).
Regards,
Marton
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".