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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-16-2022, 03:08 PM   #1
ANAL PASTE
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
ANAL PASTE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-16-2022, 09:44 PM   #2
plsureking
bored
 
plsureking's Avatar
 
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.

#
__________________
#
plsureking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2022, 12:32 AM   #3
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
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;
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2022, 01:07 PM   #4
ANAL PASTE
Confirmed User
 
Industry Role:
Join Date: Mar 2006
Location: Puget Sound, WA
Posts: 7,605
Quote:
Originally Posted by k0nr4d View Post
for i in *.mp4; do ffmpeg -i "$i" -vcodec mjpeg -vf fps=1/30 -s 160x120 "$i_%d.jpg"; done;
Thank you
ANAL PASTE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2022, 07:27 PM   #5
plsureking
bored
 
plsureking's Avatar
 
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.



#
__________________
#
plsureking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2022, 01:46 PM   #6
ANAL PASTE
Confirmed User
 
Industry Role:
Join Date: Mar 2006
Location: Puget Sound, WA
Posts: 7,605
Quote:
Originally Posted by plsureking View Post
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.



#
You should learn how to keep you mouth shut if you have nothing to say. My problem was about generating and naming thumbs in a loop not how to generate 3 frames from 1 file.
ANAL PASTE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2022, 09:56 PM   #7
plsureking
bored
 
plsureking's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
Quote:
Originally Posted by ANAL PASTE View Post
You should learn how to keep you mouth shut if you have nothing to say. My problem was about generating and naming thumbs in a loop not how to generate 3 frames from 1 file.


poor thing. such a weak ego. your mom can help with that. she helped me

#
__________________
#
plsureking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-20-2022, 12:48 PM   #8
RyuLion
 
RyuLion's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: San Diego
Posts: 32,173
Thanks for this thread info!
__________________

Adult Biz Consultant A tech head since 1995
RyuLion is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-20-2022, 03:16 PM   #9
ANAL PASTE
Confirmed User
 
Industry Role:
Join Date: Mar 2006
Location: Puget Sound, WA
Posts: 7,605
Quote:
Originally Posted by plsureking View Post


poor thing. such a weak ego. your mom can help with that. she helped me

#
You aren't the only child of a crack head hoe my mother helped to foster
Go look for attention elsewhere now. We solved the ffmeg issue. Get lost.
ANAL PASTE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-20-2022, 10:06 PM   #10
plsureking
bored
 
plsureking's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
Quote:
Originally Posted by ANAL PASTE View Post
You aren't the only child of a crack head hoe my mother helped to foster
Go look for attention elsewhere now. We solved the ffmeg issue. Get lost.
i dont know about crackhead, but she was definitely a ho

(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..



#
__________________
#
plsureking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
video, thumbs, command, ffmpeg, equally, in.mp4;, spaced, vframes, 160x120, .mp4`_%d.jpg;, `basename, makes, thunbs, generating, gurus, frames, position, thumb, starts, space



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.