View Single Post
Old 11-16-2022, 03:08 PM  
ANAL PASTE
Confirmed User
 
Industry Role:
Join Date: Mar 2006
Location: Puget Sound, WA
Posts: 7,653
Any FFmpeg gurus here? need help with command generating thunbs.

So I have this command that will make 4 thumbs for each video. The problem is thumb starts at certain position and makes 4 frames back to back. How would I space them out lets say 30 seconds apart or say make 4 thumbs for each video equally spaced.

This:

for i in *.mp4; do ffmpeg -i "$i" -an -ss 00:00:30 -an -r 1 -vframes 4 -s 160x120 -y `basename $i .mp4`_%d.jpg; done


Thanks
ANAL PASTE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote