Re: [FFmpeg-devel] [PATCH] avdevice: add dxgigrab

2023-02-09 Thread Aline Gondim Santos Gondim Santos
> How do you get access to the d3d hwdevice, given this lives in lavd, > which has no provisions for that? > This looks much more like it'd fit in with the desktop duplication > capture, which ended up being a vsrc filter for that reason. Upon developing the device i did notice the d3dhwdevice but

Re: [FFmpeg-devel] [PATCH] avdevice/xcbgrab: enable window resizing

2023-02-09 Thread Aline Gondim Santos Gondim Santos
x video:959kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.199722% bench: utime=1.624s stime=0.049s rtime=9.920s bench: maxrss=51996kB Aline Gondim Santos, Software Developer - Montreal, QC Savoir-faire Linux inc. Contactez moi sur [ https://jami.net/ | Jami ]

[FFmpeg-devel] [PATCH] avdevice/xcbgrab: enable window resizing

2023-02-09 Thread Aline Gondim Santos
Signed-off-by: Aline Gondim Santos --- libavdevice/xcbgrab.c | 180 +- 1 file changed, 39 insertions(+), 141 deletions(-) diff --git a/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c index 64a68ba497..05282911a9 100644 --- a/libavdevice/xcbgrab.c +++ b

[FFmpeg-devel] (no subject)

2023-02-09 Thread Aline Gondim Santos
Hello Nicolas, Bellow you can find the bechmarks using `ffmpeg -benchmark` option. 1 - master ./ffmpeg -benchmark -t 10 -framerate 25 -f x11grab -i ":1+0,0 1920x1080" output1master.mp4 ffmpeg version N-109782-g458ae405ef Copyright (c) 2000-2023 the FFmpeg developers built with gcc 11 (Ubu

[FFmpeg-devel] avdevice/xcbgrab: allow window resizing

2022-07-25 Thread Aline Gondim Santos Gondim Santos
Problem: While grabbing a window, if that window is resized the pipeline does not follow the new size. Solution: Make xbcgrab follow the windows geometry by reinitializing the stream. The stream reinit asked for the SHM removal due to memory leak. Aline Gondim Santos, Software Developer