GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Any FFmpeg gurus here? need help with command generating thunbs. (https://gfy.com/showthread.php?t=1359315)

ANAL PASTE 11-16-2022 03:08 PM

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

plsureking 11-16-2022 09:44 PM

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.

#

k0nr4d 11-17-2022 12:32 AM

for i in *.mp4; do ffmpeg -i "$i" -vcodec mjpeg -vf fps=1/30 -s 160x120 "$i_%d.jpg"; done;

ANAL PASTE 11-18-2022 01:07 PM

Quote:

Originally Posted by k0nr4d (Post 23062773)
for i in *.mp4; do ffmpeg -i "$i" -vcodec mjpeg -vf fps=1/30 -s 160x120 "$i_%d.jpg"; done;

:thumbsup Thank you

plsureking 11-18-2022 07:27 PM

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:

#

ANAL PASTE 11-19-2022 01:46 PM

Quote:

Originally Posted by plsureking (Post 23063433)
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:

#

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. :2 cents:

plsureking 11-19-2022 09:56 PM

Quote:

Originally Posted by ANAL PASTE (Post 23063622)
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. :2 cents:

:1orglaugh:1orglaugh

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

#

RyuLion 11-20-2022 12:48 PM

Thanks for this thread info! :)

ANAL PASTE 11-20-2022 03:16 PM

Quote:

Originally Posted by plsureking (Post 23063743)
:1orglaugh:1orglaugh

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

#

You aren't the only child of a crack head hoe my mother helped to foster :2 cents:
Go look for attention elsewhere now. We solved the ffmeg issue. Get lost.

plsureking 11-20-2022 10:06 PM

Quote:

Originally Posted by ANAL PASTE (Post 23063902)
You aren't the only child of a crack head hoe my mother helped to foster :2 cents:
Go look for attention elsewhere now. We solved the ffmeg issue. Get lost.

i dont know about crackhead, but she was definitely a ho :1orglaugh

(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