As I know, it can use -hwaccel_device or -gpu to specify a GPU device in command line, but how can I specify a GPU while using API?
I have tryed to find out it in ffmpeg.c while that is too complicated for a new guy to c++ and ffmpeg.
Can I use AVDictionary? What is Keyword?
it is much appreciate if someone can give some hints!