Re: [FFmpeg-devel] [PATCH] x11grab: capture a window instead of the whole screen

2021-02-28 Thread sgerwk-at-aol . com
Hi, On Sat, 27 Feb 2021, Andriy Gelman wrote: On Mon, 22. Feb 17:53, sgerwk-at-aol@ffmpeg.org wrote: Hi, On Sun, 21 Feb 2021, Andriy Gelman wrote: > Hi, > > Thanks for updating the patch. Sorry for the delay in getting you some feedback.. > > When I tested with -show_mouse 1 -show_regio

Re: [FFmpeg-devel] [PATCH] x11grab: capture a window instead of the whole screen

2021-02-22 Thread sgerwk-at-aol . com
Hi, On Sun, 21 Feb 2021, Andriy Gelman wrote: Hi, Thanks for updating the patch. Sorry for the delay in getting you some feedback.. When I tested with -show_mouse 1 -show_region 1 -window_id xx, the mouse and border get drawn in the wrong place. There is around (0.6cm error). Can you reprodu

Re: [FFmpeg-devel] [PATCH] x11grab: capture a window instead of the whole screen

2021-02-10 Thread sgerwk-at-aol . com
On Sat, 6 Feb 2021, Paul B Mahol wrote: What happens if you use non-existing window? I added an error message for this case, but the output video is still created (empty). Is there a value I can return to avoid this? On Sun, 7 Feb 2021, Andriy Gelman wrote: Also the commit title should star

[FFmpeg-devel] [PATCH] x11grab: capture a window instead of the whole screen

2021-01-26 Thread sgerwk-at-aol . com
In my previous email the patch got mangled by the web mail interface, so I am sending it again. Sorry for the duplicate. This patch allows ffmpeg to capture a specific window instead of the whole screen. An example: ffmpeg -f x11grab -window_id 0xa0a -i :0 output.mp4 --- doc/indevs.texi

[FFmpeg-devel] [PATCH] allow x11grab to capture a window instead of the whole screen

2021-01-20 Thread sgerwk-at-aol . com
From 0f1a1c46f05def54869ccb58e5d914fa8e0c5d13 Mon Sep 17 00:00:00 2001 From: sgerwk Date: Wed, 20 Jan 2021 17:05:48 +0100 Subject: [PATCH] allow x11grab to capture a window instead of the whole screen --- doc/indevs.texi | 3 +++ libavdevice/xcbgrab.c | 19 --- 2 files ch