I\'m wondering how to use FFMpeg to grap the middle frame of a video. I\'ve already written the C# to grab a frame at a certain time (ie pull one frame at second 3). But I\'
FFmpeg helps you get the framerate and the length of the video, so you can multiply one by the other and divide by 2 to get the number of the middle frame.
ie for a 30 seconds video running at 15 frames per second : 30 * 15 = 450 / 2 = 225, meaning you need to grab the 225th frame.