On Mon, 2019-12-30 at 12:31 +0100, Marton Balint wrote:
>
> On Mon, 30 Dec 2019, [email protected] wrote:
>
> > From: FgoDt <[email protected]>
>
> > +@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 <[email protected]>
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".