On Wed, May 14, 2025 at 4:38 PM Rakesh Chowdhury <[email protected]> wrote: > > 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?
I only compiled recently this Linux screengragger utility, but hopefully it contain some ideas? https://git.dec05eba.com/gpu-screen-recorder/about/ > > Thank you for your time and assistance. > _______________________________________________ > 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". _______________________________________________ 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".
