Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


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

Rep: Reputation: 15
getting images from a video


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,


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

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
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.



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 > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:36 PM.

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