[Libav-user] How to use ddagrab Filter Graph in libav C API
Rakesh Chowdhury
rakeshchow202 at gmail.com
Wed May 14 16:38:27 EEST 2025
Hello libav-devel,
I'm new to the libav library and have been learning through FFmpeg
tutorials and documentation.
I'm trying to implement a screen capture functionality similar to the
following FFmpeg command-line example using C code with libav:
`ffmpeg -filter_complex ddagrab=0,hwdownload,format=bgra -c:v libx264
-crf 20 output.mkv`
Specifically, I'm looking for guidance on how to translate this
particular filter graph (ddagrab=0,hwdownload,format=bgra) into the
libav C API. I've searched online but haven't found any relevant
examples for this specific combination of filters.
Would someone be able to provide an example or point me towards
resources that demonstrate how to achieve this screen capture and
format conversion using libav in C?
Thank you for your time and assistance.
More information about the Libav-user
mailing list