Categories
askquestion

What can i use to automate video snapshots

What can i use to automate video snapshots

Ask Question

Asked
11 years ago

Active
1 year, 2 months ago

Viewed
3k times

.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{
margin-bottom:0;
}

3

2

What command line util can i use to create a thumbnail preview of a video i made? I do not want a single thumb that windows make, i want a large jpg file that has 30 or less shots so i can preview the movie w/o running it.

I either need an app that can do a batch at once or a command line util so i can loop through a folder or w/e i need and feed it to the util. I was thinking of hacking up ffplay to do this, i dont know what i am getting myself into so is that recommended? (i used SDL many times, never its YUV settings nor with ffmpeg)

video-processing

share|improve this question

edited Jan 20 ’09 at 10:48

Keltia

13.5k33 gold badges2626 silver badges2929 bronze badges

asked Jan 20 ’09 at 10:43

user34537user34537

How is this programming related, aside from you saying you were thinking about writing something for it?

– Cody Brocious
Jan 20 ’09 at 10:45

add a comment
 | 

5 Answers
5

active

oldest

votes

2

You could use MTN. It can scan whole directories and create thumbnails for every video found.

share|improve this answer

answered Jan 20 ’09 at 10:56

Sven LilienthalSven Lilienthal

5,80644 gold badges2626 silver badges2525 bronze badges

add a comment
 | 

4

You can use ffmpeg to perform frame extraction, here’s how I’ve done something similar

ffmpeg -i my_input_video.flv -y -an -sameq -f image2 -r 1 my_frame_%05d.jpg

-i my_input_video.flv specifies the input file
-y overwrite output files
-an disables audio (we’re transcoding a video to a series of jpegs, we don’t need audio)
-sameq – use same quality as source
-f image2 sets the output format to image2 (an image sequence)
The -r parameter is the frames per second, so the above command will produce one jpeg per second.

Once you have your collection of jpegs, you can use ImageMagick montage command to build a montage image.

share|improve this answer

edited Jan 20 ’09 at 11:05

answered Jan 20 ’09 at 10:51

Paul DixonPaul Dixon

261k4545 gold badges290290 silver badges325325 bronze badges

add a comment
 | 

2

Use mplayer:

mplayer -vo jpeg -frames 1 your_file

Will extract the first frame.

share|improve this answer

answered Jan 20 ’09 at 10:53

MatthieuPMatthieuP

1,09055 silver badges1212 bronze badges

add a comment
 | 

0

Media Player Classic can make a collection (it’s called save as thumbnail; with matrix i.e. 4×4), but only from a single file.

share|improve this answer

edited Jan 20 ’09 at 10:59

answered Jan 20 ’09 at 10:53

Xn0vv3rXn0vv3r

15.9k1313 gold badges5353 silver badges6262 bronze badges

add a comment
 | 

0

Potplayer can automatically generate the thumbnails for a batch of videos in folders or even in subfolders. It just takes a few clicks.

Add all the videos you want to get thumbnails from to the playlist (You can do this by go to menu “Open-Open Folder…”)
Select all the videos in playlist and right click on them.
Select “Create Thumbnail Image(s)…” in pop-up menu.
Custom the output folder, number of Thumbnails, image size and other setting.
Click “OK”.

share|improve this answer

answered Nov 27 ’18 at 7:56

Qin HeyangQin Heyang

64333 silver badges99 bronze badges

add a comment
 | 

Your Answer

Thanks for contributing an answer to Stack Overflow!Please be sure to answer the question. Provide details and share your research!But avoid …Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.To learn more, see our tips on writing great answers.

Draft saved
Draft discarded

Sign up or log in

Sign up using Google

Sign up using Facebook

Sign up using Email and Password

Submit

Post as a guest

Name

Email
Required, but never shown

Post Your Answer

Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Blog

When laziness is efficient: Make the most of your command line

Ben Popper is the worst coder in the world: Something awry with my array

Featured on Meta

TLS 1.0 and TLS 1.1 removal for Stack Exchange services

Did Stack Exchange cut the number of negative comments nearly in half between…

An account of my meeting with the Stack Overflow management team

Related

1automate video capture404Rotating videos with FFmpeg0Get snapshot from streaming video (newbie)3What libraries can I use to modify a video?0Extract some YUV frames from large YUV file47Fastest way to extract a specific frame from a video (PHP/ffmpeg/anything)3ffmpeg status & quality / cuda (CPU/GPU)1Create a video preview image like youtube or whatsapp from a Video file (.mp4) using JAVA Code

Hot Network Questions

Series of interestingly increasing words!

How can I constructively address the fact that a coworker with the same (senior) title doesn’t have the basic skills for the role

What is a circling approach?

Can Harry swim?

How could I find x in this equation x^2-x+6 = 0 (mod 9)

Was it possible to listen to music and work on old PCs? When was it possible to for the first time?

In the UK parliament, how much of Prime Minister’s Questions is pre-planned?

Could New Horizons take a “Pale Blue Dot”-like image this year?

Can I get an honest review about my workout plan?

When was Alice Born?

Why is China interested in Socotra Rock?

Is there any dangerous command in LaTeX?

How to explain that there can only be one magic portal between a planet and another

create empty img with dd so that it its sectors are of 4096bytes rather than 512

Converting JPG images to PNG

How does the file command distinguish text and LaTeX files?

I have a 2nd broken spoke after 300km on a new bike, is it the wheel or me?

Is there any independent evaluation/report on the feasibility of SpaceX going to Mars by 2024?

Security risk of connecting to two networks simultaneously

Why exactly did telegraphs have to use “STOP” instead of a period and “QUOTE” instead of a quotation mark? (Or special codes.)

How can I generate a sine wave with time varying frequency that is continuous, in C?

How are jerk equations connected to chaos theory?

Did general purpose I/O controller chips come with fewer than 40 pins?

Removing a nested list associated with a key and inserting into a new list

more hot questions

Question feed

Subscribe to RSS

Question feed
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Leave a Reply

Your email address will not be published. Required fields are marked *