![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Mar 2006
Location: Puget Sound, WA
Posts: 7,605
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
bored
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
|
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. #
__________________
# ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
for i in *.mp4; do ffmpeg -i "$i" -vcodec mjpeg -vf fps=1/30 -s 160x120 "$i_%d.jpg"; done;
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Industry Role:
Join Date: Mar 2006
Location: Puget Sound, WA
Posts: 7,605
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
bored
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
|
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. ![]() #
__________________
# ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: Mar 2006
Location: Puget Sound, WA
Posts: 7,605
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
bored
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
|
Quote:
![]() ![]() poor thing. such a weak ego. your mom can help with that. she helped me ![]() #
__________________
# ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Industry Role:
Join Date: Mar 2003
Location: San Diego
Posts: 32,173
|
Thanks for this thread info!
![]()
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Mar 2006
Location: Puget Sound, WA
Posts: 7,605
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
bored
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
|
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 ![]() i'm a very generous and helpful guy. i found this for you. i think it will help.. #
__________________
# ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |