Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mencoder -xvidencopts option to set the video size?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
StarDragon
Guru
Guru


Joined: 19 Jun 2005
Posts: 390
Location: tEXas

PostPosted: Wed Jan 24, 2007 4:44 am    Post subject: mencoder -xvidencopts option to set the video size? Reply with quote

Hi, I was wondering if there is a way to specify the .avi dimmensions like for example 720x480 or 480x240, etc. I am doing something like this so far:

Code:
mencoder dvd://# -ovc xvid -xvidencopts pass=2:bitrate=700 -alang en -oac mp3lame -lameopts vbr=3 -o movie.avi

_________________
"After all, a person's a person, no matter how small."--Horton Hears A Who!
Back to top
View user's profile Send private message
lonex
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2004
Posts: 107
Location: Karlsruhe, Germany

PostPosted: Wed Jan 24, 2007 1:46 pm    Post subject: Reply with quote

I don't think you can scale videos with the xvid encoder itself. Just use mplayer's internal video filters to scale the video, like for example this:

Code:
mencoder dvd://# -vf scale=480:240 -ovc xvid -xvidencopts pass=2:bitrate=700 -alang en -oac mp3lame -lameopts vbr=3 -o movie.avi


Note that fixed aspect ratios on DVDs for example will also be applied to your wanted output scale, so you might also have to deactivate the aspect ratio.
_________________
There are no dumb questions, just dumb answers. So please help users that are new to linux/gentoo by answering unanswered questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum