LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 04-26-2007, 04:51 AM   #1
jackandking
Member
 
Registered: Dec 2004
Posts: 92

Rep: Reputation: 15
problem on converting photos of different aspect ratio into a video with mencoder


I have lots of photos, they are of different aspect ratios, for example: some of them are 2048x1536, the others are 1536x2048.
Now, I want to use mencoder to generate a avi file which can contain all the photos.
However, because of the different aspect ratios of them,
mencoder mf://*.JPG -mf fps=1 -ovc lavc -o out.avi
some photos displayed in out.avi are squished.

any suggestion?
 
Old 04-27-2007, 12:10 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: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
I'm not sure how to do it exactly, but I'm certain you can use the convert (imagemagick) command to batch-process all the images into fields of the same size before putting them through mencoder.

I'm guessing that the -resize and -extent options are probably the ones you want to look at. See here: http://www.imagemagick.org/script/convert.php
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xine (and Kaffeine) Aspect Ratio Problem g8keepR Linux - Software 1 01-11-2006 04:37 PM
Aspect ratio problems! genderbender Linux - Laptop and Netbook 1 04-13-2005 10:24 PM
Display/Aspect ratio problem surfdog88 Mandriva 2 03-12-2005 10:17 AM
Mplayer Aspect Ratio Glock Shooter Linux - Software 6 11-22-2003 06:19 PM
16/9 aspect ratio abby_normal Linux - Software 4 11-03-2003 03:40 PM


All times are GMT -5. The time now is 10:04 AM.

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