LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-14-2006, 05:38 PM   #1
Gutya
LQ Newbie
 
Registered: Aug 2006
Posts: 11

Rep: Reputation: 0
Extracting video frames to image files.


How can I extract all the frames in an AVI to seperate image files?

I need to do this as I have a short clip I need to turn into a GIF, I need the induvidual frames as images so that I can animate them.

Thanks in advance.
 
Old 10-15-2006, 04:16 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
Transcode should be able to do it. Something like:

Code:
transcode -i inputvid.avi -y im,null -F gif -w 50 -o ./image
the -w is for image quality. It works for .png, but the man page doesn't make it clear if it works for .gif or not.

I just tested it on a short .mpg I have, and it seems to work, giving a series of 'image00001.gif images in the working directory. It's uncommonly slow though. It only encodes about 0.3 frames a second on my system.

I don't doubt mplayer could do it as well, but I'm not familiar with the commands for it.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a video from frames Piquant77 Linux - Desktop 2 08-20-2006 03:07 PM
Extracting an ISO image logosys Linux - Newbie 1 08-04-2005 06:37 PM
Extracting individual frames as pictures from various movie formats.? rhinomite Linux - Software 0 01-24-2005 06:28 PM
convert jpegs into 2 frames per second video ? qwijibow Linux - Software 2 09-05-2004 08:32 PM
extracting iso image lil213 Linux - Software 2 01-04-2004 03:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration