As titles says, I want to extract certain frame from video file. Now I can use FFmpeg command line tool to do that.
ffmpeg -i in_video.avi -vf "select=gte(n\,100)" -vframes 1 out_img.png
However I can not use FFmpeg command line tool directly. So can I extract specific frame in C/C++ ?