[FFmpeg-trac] #9473(ffmpeg:new): gdigrab screen captures are interrupted by secure desktop pop-ups

FFmpeg trac at avcodec.org
Sun Oct 24 18:57:24 EEST 2021


#9473: gdigrab screen captures are interrupted by secure desktop pop-ups
------------------------------------+----------------------------------
             Reporter:  leopold84   |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  important   |                Component:  ffmpeg
              Version:  git-master  |               Resolution:
             Keywords:  gdigrab     |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+----------------------------------
Description changed by leopold84:

Old description:

> '''Summary of the bug:'''
>
> If you start screen capture with gdigrab and any secure desktop pop-up
> will appear (UAC or anything else), capture immediately stops.
>
> '''How to reproduce:'''
>
> 1. Start screen capture using '''gdigrab''' device as input
> {{{
> ffmpeg -f gdigrab -framerate 30 -i desktop output.mkv
> }}}
>
> 2. Launch any program as administrator or make a secure desktop to appear
> any other way
>
> 3. Once returned to the normal desktop, you will see that capture has
> stopped with the error similar to this one
> {{{
> Failed to capture image (error 5)trate=   2.2kbits/s speed=0.54x
> desktop: I/O error
> }}}
>
> '''Expect result:'''
>
> If it's not possible to capture secure desktop with gdigrab, at least
> make it so recording doesn't stop and capture a black screen instead of
> secure desktop

New description:

 '''Summary of the bug:'''

 If you start screen capture with gdigrab and any secure desktop pop-up
 will appear (UAC or anything else), capture immediately stops.

 '''How to reproduce:'''

 1. Start screen capture using '''gdigrab''' device as input
 {{{
 ffmpeg -f gdigrab -framerate 30 -i desktop output.mkv
 }}}

 2. Launch any program as administrator or make a secure desktop to appear
 any other way

 3. Once returned to the normal desktop, you will see that capture has
 stopped with the error similar to this one
 {{{
 Failed to capture image (error 5)trate=   2.2kbits/s speed=0.54x
 desktop: I/O error
 }}}

 '''Expect result:'''

 If it's not possible to capture secure desktop with gdigrab, it at least
 shouldn't interrupt the recording (i.e. back screen can be captured while
 secure desktop is present).

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9473#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list