[FFmpeg-trac] #10639(ffmpeg:new): gdigrab cut video if another monitor have higher dpi then primary (with two monitors)

FFmpeg trac at avcodec.org
Tue Oct 31 17:30:11 EET 2023


#10639: gdigrab cut video if another monitor have higher dpi then primary (with two
monitors)
---------------------------------+----------------------------------
             Reporter:  Glebka   |                    Owner:  (none)
                 Type:  defect   |                   Status:  new
             Priority:  normal   |                Component:  ffmpeg
              Version:  6.0      |               Resolution:
             Keywords:  gdigrab  |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+----------------------------------
Description changed by Glebka:

Old description:

> I have 2 monitors:
> (1): scale 125% 2568x1440
> (2): scale 150% 1920x1080
>
> Open "RoslynPad 15.1" (or another app) on monitor (2) and run script:
> {{{
> ffmpeg.exe -y -f gdigrab -i title="RoslynPad 15.1" -c:v libx264 -crf 23
> -profile:v:1 baseline -level 3.0 -pix_fmt yuv420p -c:a aac -ac 2 -b:a
> 128k -movflags faststart -vf "setpts=1*PTS" "output.mp4"
> }}}
>
> Video is cutted.
>
> If i set scale monitor (2) to 125% or 100% it working ok.
> Maybe #4232 related

New description:

 I have 2 monitors:
 (1): scale 125% 2568x1440 (primary)
 (2): scale 150% 1920x1080

 Open "RoslynPad 15.1" (or another app) on monitor (2) and run script:
 {{{
 ffmpeg.exe -y -f gdigrab -i title="RoslynPad 15.1" -c:v libx264 -crf 23
 -profile:v:1 baseline -level 3.0 -pix_fmt yuv420p -c:a aac -ac 2 -b:a 128k
 -movflags faststart -vf "setpts=1*PTS" "output.mp4"
 }}}

 Video is cutted.

 If i set scale monitor (2) to 125% or 100% it working ok.
 Maybe #4232 related

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


More information about the FFmpeg-trac mailing list