I would like the time the thumb to be generated correspond to 50% of the time of the episode with ffmpeg I am using this code
$ffmpeg -ss 00:00:18 -i $video -vf scale=800:-1 -vframes 1 $output
How do I in place of 00:00:18, be the exact time in the middle of the video?