On Mon, 2019-12-30 at 12:31 +0100, Marton Balint wrote:
> 
> On Mon, 30 Dec 2019, fgodt...@hotmail.com wrote:
> 
> > From: FgoDt <fgodt...@hotmail.com>
> 
> > +@item use_captureblt
> > +When use gdigrab to capture window or desktop, the mouse cursor
> > will flicker.
> 
> Why? Does this happen with every windows version? This does not seem
> like 
> the right fix. In fact, I dont't see how this can work, because mouse
> is 
> drawn upon the captured video "manually" in paint_mouse_pointer.
> Could you 
> dig deeper what is the main cause of the issue?

I'm guessing that what happens here is that on some OS versions, with
some graphics drivers, the cursor on the *real* display might flicker
while ffmpeg is capturing. I've never actually seen this happen, but if
you have bad/old drivers and have desktop compositing disabled, maybe?

> > +Disable CAPTUREBLT FLAG by set value @code{0} to fix cursor
> > flickering. Default value is @code{1}
> > +
> 
> Doesn't this change what is captured when the user captures a single 
> window and something is dragged on top? That alone might be a useful 
> addition, but the documentation as is would be totally misleading.

Yes, this definitely needs to be clarified in docs.

Another thing to check: If the cursor is included in the captured image
when the CAPTUREBLT flag is disabled, then you should make ffmpeg skip
adding the cursor itself in that case.

-- 
Calvin Walton <calvin.wal...@kepstin.ca>

_______________________________________________
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".

Reply via email to