[Libav-user] How can I use Windows Desktop Duplication complex filter using ffmpeg lib in C
Rakesh Chowdhury
rakeshchow202 at gmail.com
Wed Dec 11 19:19:20 EET 2024
Hello Ffmpeg Community,
I'm new to ffmpeg lib so excuse my knowledge about the lib.
I'm trying to create a C program that would use Ffmpeg Lib to capture
desktop and write to an output context, preferably a file. I intend to use
the filter graph just like the `filter_complex` string is used in the cli.
How can I achieve this? There seems to be no documentation / examples
related to filter generators like gradient etc. I'd really appreciate some
help.
"ffmpeg -filter_complex ddagrab=0,hwdownload,format=bgra -c:v libx264 -crf
20 output.mkv"
https://learn.microsoft.com/en-us/windows/win32/direct3ddxgi/desktop-dup-api
https://trac.ffmpeg.org/wiki/Capture/Desktop#UseWindows8DesktopDuplicationAPI
https://ffmpeg.org/doxygen/7.0/decode_filter_video_8c-example.html
https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/decode_filter_video.c
Thankfully,
Rakesh Chowdhury
--
*Signed-Off By: Rakesh Chowdhury*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20241211/28eaf6ea/attachment.htm>
More information about the Libav-user
mailing list