![]() |
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 |
easiest way is divide total frames by the number of thumbs you want, then grab those frames in a loop with ffmpeg.
i export 200 per video. # |
for i in *.mp4; do ffmpeg -i "$i" -vcodec mjpeg -vf fps=1/30 -s 160x120 "$i_%d.jpg"; done;
|
Quote:
|
fyi it was the 2nd result on google.
https://trac.ffmpeg.org/wiki/Create%...%20the%20video you should probably learn to use google if you are coding. :2 cents: # |
Quote:
|
Quote:
poor thing. such a weak ego. your mom can help with that. she helped me :1orglaugh # |
Thanks for this thread info! :)
|
Quote:
Go look for attention elsewhere now. We solved the ffmeg issue. Get lost. |
Quote:
(i was born before crack) the hilarious thing to me is someone getting butthurt about being trolled on a forum built for trolling. your low level of emotional intelligence is forever recorded in gfy history. its a good thing you hide your identity :1orglaugh i'm a very generous and helpful guy. i found this for you. i think it will help.. # |
All times are GMT -7. The time now is 07:57 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123