<div dir="auto"><div>Hello libav users,</div><div dir="auto"><br></div><div dir="auto">I'm new to libav and have been following along ffmpeg tutorials on GitHub and reading ffmpeg documentation.</div><div dir="auto"><br></div><div dir="auto">I have stumbled across a command line example usage of Desktop Duplication API using Ffmpeg and I would like to replicate this using C code</div><div dir="auto"><br></div><div dir="auto">ffmpeg -filter_complex ddagrab=0,hwdownload,format=bgra -c:v libx264 -crf 20 output.mkv</div><div dir="auto"><br></div><div dir="auto">I have searched through the internet and couldn't find any good references to this filter graph in particular. Can someone please guide me with an example?</div><div><br></div><div dir="auto">Thank you,</div></div>