How to use hardware acceleration with ffmpeg How to use hardware acceleration with ffmpeg c c