LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-12-2012, 06:02 AM   #1
tomasdepomas
LQ Newbie
 
Registered: Jul 2012
Location: Amsterdam
Posts: 14

Rep: Reputation: 0
avconv to convert avi frames to single images


Hi,

I have some small avi movies which contain each about 20 frames which are shown at about 2 frames per second. I would like to convert these movies into individual images, so 20 images per movie. I have been trying to do this with 'avconc', but do not manage to do so. Right now I use

avconv -i test.avi -f image2 image-%03d.jpg

which gives the following error:

avconv -i test.avi -f image2 image-%03d.jpg
avconv version 0.8.3-6:0.8.3-7, Copyright (c) 2000-2012 the Libav developers
built on Aug 25 2012 11:19:52 with gcc 4.7.1
Input #0, avi, from 'test.avi':
Duration: 00:00:04.01, start: 0.000000, bitrate: 1948 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 352x297 [SAR 1:1 DAR 32:27], 5.47 tbr, 5.47 tbn, 5.47 tbc
Metadata:
title : stream name
[buffer @ 0x226d2a0] w:352 h:297 pixfmt:yuvj422p tb:1/1000000 sar:1/1 sws_param:
Output #0, image2, to 'image-%03d.jpg':
Metadata:
encoder : Lavf53.32.100
Stream #0:0: Video: mjpeg, yuvj422p, 352x297 [SAR 1:1 DAR 32:27], q=2-31, 200 kb/s, 90k tbn, 5.47 tbc
Metadata:
title : stream name
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> mjpeg)
Press ctrl-c to stop encoding
[buffer @ 0x226d2a0] Changing frame properties on the fly is not supported.
Last message repeated 21 times
frame= 0 fps= 0 q=0.0 Lsize= -0kB time=10000000000.00 bitrate= -0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead -inf%

Any help is very much appreciated!

Last edited by tomasdepomas; 10-13-2012 at 01:18 PM.
 
Old 10-18-2012, 05:32 AM   #2
tomasdepomas
LQ Newbie
 
Registered: Jul 2012
Location: Amsterdam
Posts: 14

Original Poster
Rep: Reputation: 0
I found a solution for this:

mplayer -vo jpeg test.avi
 
  


Reply



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
How to convert the VOBS of VIDEO_TS to a single AVI ? Xeratul Linux - Newbie 11 09-11-2011 03:40 PM
Gui that convert AVI to AVI DivX, with telling final avi target final size ? frenchn00b Linux - General 5 03-02-2008 05:37 AM
convert 2 cd avi to a single dvd initDr Linux - Software 1 08-10-2006 02:57 AM
Convert move frames (avi/dvi/etc) to images(png/jpg/etc) 3saul Linux - Software 1 03-05-2006 09:29 PM
Can I arbitrarily change the nbr of frames on an .avi file? rickh Linux - Newbie 10 04-08-2005 12:33 PM

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

All times are GMT -5. The time now is 10:15 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