2
I would like the time that Thumb was generated to 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 stop instead of 00:00:18, be the exact time in the middle of the video?
If you need to save to a different size add the -s parameter with the desired resolution:
ffmpeg -ss 18 -i video.mp4 -vframes 1 -s 320x240 -f image2 frame.jpg
– Evandro Klimpel Balmant