LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 09-09-2009, 08:18 AM   #1
skazhy
LQ Newbie
 
Registered: Nov 2008
Location: Latvia
Distribution: arch
Posts: 23

Rep: Reputation: 15
getting images from a video


Hi!

How can I image stills from a video? Vice versa operation (making a video from images) is possible with mencoder. Is there an option for mencoder to do this too, or is there other software?


thanks in advance,

-skazhy

Last edited by skazhy; 09-10-2009 at 02:54 AM.
 
Old 09-09-2009, 09:09 AM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
mplayer supports various image formats as video output drivers if compiled with support for them. tga, jpeg, png, gif, pnm all come to mind.

So 'mplayer -vo png video-file.avi' will dump each frame as a png image. You can combine this with the -ss and -frames option to grab a single frame at any given time in the video:

mplayer -vo png -ss 00:30:00 -frames 1 video-file.avi

This will grab one frame, at the 30 minute mark, and save it as a png file.

Adam
 
  


Reply

Tags
images, video


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
[SOLVED] making a video from many images skazhy Linux - Desktop 2 09-03-2009 06:25 AM
no /dev/video file to grab images from Sonarc Linux - Newbie 1 07-07-2009 04:06 AM
Need program to extract images from video! badgerbox76 Linux - Software 7 06-04-2006 03:18 AM
images to video. bruse Linux - Newbie 1 12-16-2005 06:22 AM
converting JPEG images to MPEG-2 video using <convert>? BeetleBailey Programming 3 06-11-2004 09:07 AM


All times are GMT -5. The time now is 05:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration