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*
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to