LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-04-2006, 11:16 AM   #1
General
Member
 
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Rep: Reputation: 31
Convert picture to AVI


Is there a way to create an AVI from a picture? Basically, I need to display a single image for 5 seconds.

I have had no luck creating DVDs and VCDs with proper proportions on screen (they end up either compressed horizontally or cropped). So I want to create a video disk that has just a with a series of test screens (consisting of still images) to determine what is the best method of converting movies to DVD. One image will be all white, with a thin red border to test if the edges are being cropped. Another image will have a red square in the middle, to test if the picture has been stretched on screen.

I will create the images in GIMP, but I need them to be converted to AVI. Then I will use ffmpeg to convert them to DVD and VCD formats.
 
Old 03-04-2006, 07:01 PM   #2
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
This can be done with mencoder, which is part of mplayer.

The command you will probably need looks like

Code:
mencoder mf://*.jpg -mf w=720:h=576:fps=1:type=jpg -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o output.avi
just fiddle the fps for the timing of the slides.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i convert psf picture to jpg? laszlar Linux - Software 7 05-19-2008 02:58 PM
Convert avi to mp3 dexim Linux - Software 13 10-06-2006 03:30 AM
sound but no picture with .avi files sgold7878 Linux - Newbie 8 07-07-2005 03:11 PM
Convert avi to svcd skon Linux - General 2 12-28-2003 11:18 PM
convert avi to mpg jbogins Linux - Software 1 12-28-2003 09:30 AM

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

All times are GMT -5. The time now is 08:43 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
Open Source Consulting | Domain Registration