I have hundreds of videos in a folder
/home/videos/ and I would like to create a gif for each video.
The gif should be comprised of 10 different screenshots across the videos length. So for example if a video is 30 minutes long a screenshot should be taken every 3 minutes and all the 10 screenshots should be turned into a gif.
The gif must also be called exactly what the video is named. For example
'/home/videos/video 1 (test).mp4 gif should be saved to
'/home/videos/video 1 (test).gif'
Can I do this with ffmpeg?