You are not logged in.

#1 2007-07-19 12:53:08

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

encode in xvid [solved]

I have an uncompressed avi file which I would like to compress with xvid. i dont want to have to do anything fancy or complicated. what i'd like is a command like...

xvid -e oldfile.avi newfile.avi

is something like that possible? if not, what do i need to do to encode this file?

Last edited by tony5429 (2007-07-19 22:54:01)

Offline

#2 2007-07-19 13:53:33

FeatherMonkey
Member
Registered: 2007-02-26
Posts: 313

Re: encode in xvid [solved]

mencoder sounds like what you need. Comes with mplayer.

mencoder input.avi -o output.avi -ovc xvid -xvidencopts bitrate=3000

Found here http://wiki.qwdrama.com/Mencoder_howto maybe better optimisation configs but don't really know, plenty in man for mencoder.

Offline

#3 2007-07-19 22:53:32

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: encode in xvid [solved]

it works; thanks!

for other people seeing this, you need to specify -oac for audio encoding. to directly copy audio and compress the video to xvid...

mencoder input.avi -o output.avi -ovc xvid -xvidencopts bitrate=3000 -oac copy

Offline

Board footer

Powered by FluxBB