LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-10-2009, 11:27 PM   #1
rc nai
Member
 
Registered: Jun 2008
Distribution: Slackware 13.37,14
Posts: 87

Rep: Reputation: 21
Question Take screenshots/screencaps of a movie?


Is there a command line program or gtk GUI program similar to windows media player classic that can take screencaps of a movie? For example, to have a set of screencaps or small thumbnails in one image file.

I've been searching everywhere and can't seem to find a linux program that can do this.
 
Old 11-11-2009, 10:54 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,849

Rep: Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024
xine and vlc can both have screenshot taking functions. I'm sure others do as well.

As for cli, most of the video editing programs out there, like mplayer and ffmpeg can do it too. You just have to set up the command properly. Try searching google.
 
Old 11-12-2009, 07:06 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
I use:

http://moviethumbnail.sourceforge.net/
 
Old 11-12-2009, 07:31 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
You can convert a video to jpeg or png files using ffmpeg.

This will convert the mpeg video to a sequence of png files, each 10 seconds apart:

ffmpeg -i video.mpg -f image2 -r .1 -y video-04%d.png

The -r option is for rate of the input. It should be the inverse of number of seconds between screencaps.
 
Old 11-12-2009, 05:53 PM   #5
rc nai
Member
 
Registered: Jun 2008
Distribution: Slackware 13.37,14
Posts: 87

Original Poster
Rep: Reputation: 21
Thank you all...

mtn sounds pretty good. I'll check this out later.

By the way, I found a bash script called slickslice and it works very well. It uses mplayer and ImageMagick which is both available from slackware by default so that's cool. You can check out slickslice here:

http://slickslice.sourceforge.net/

Consider this thread solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to edit AVI movie clip SOUND ONLY and re-save to original movie clip Balarabay1 Linux - Software 1 02-06-2008 01:49 PM
300 Spartans movie great movie pazzibazi Linux - General 1 04-12-2007 02:00 PM
Creating a dvd movie out of different movie files.. memo007 Linux - Software 4 04-10-2007 10:21 PM
LXer: Making animated movie/screenshots of your Ubuntu Desktop LXer Syndicated Linux News 0 03-05-2007 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration