PDA

View Full Version : XVID & MEncoder


The Shemeta
14th June 2003, 15:52
HI guys,

since i am linux newbie i would like to know if there is guide to encode movies with MEncoder & XVID. how can i change the libavcodec with the xvid one? or is it necessary? any help & suggestions would be appreciated!

Thanks, TheShemeta!

TactX
14th June 2003, 18:45
If your mencoder was compiled with XviD enabled, you can simply pass "xvid" to the -ovc setting at the command-line. It should look like this:

-ovc xvid -xvidencopts bitrate=738556:me_quality=6:hintedme:pass=1

This is how you do it.

Or did I get you completely wrong?

The Shemeta
17th June 2003, 11:19
Hi,

how can i encode only one .vob file? what is the command line for .vob input?

TactX
17th June 2003, 13:49
mencoder MYVOB.vob -ovc xvid -xvidencopts bitrate=738556:me_quality=6:hintedme:pass=1

Maybe you should have a look at the mplayer/mencoder man page. All options are listed there (plus some examples).

The Shemeta
20th June 2003, 09:33
Hi,

thanks for the help! :) now i have another weird problem. after i am done with the first pass, i can't do the second. i get some kind of error. all i change is the number of passes, so i have no clue why this happens. any help will be appreciated. thanks

TheShemeta

TactX
20th June 2003, 10:07
Have you tried re-doing the 1st pass?

Are you using "hintedme" like I do? In the mplayer man page it is said to be buggy, although it did always work for me.

The Shemeta
20th June 2003, 14:17
well when i use hintedme , mencoder says, it's unknown option or something like that. so i encode the 1st pass without it. but then the 2nd one i get an error. i will check again & then i will tell you what exactly the error is!

TactX
20th June 2003, 17:13
Originally posted by The Shemeta
well when i use hintedme , mencoder says, it's unknown option or something like that.
:confused: This sounds quite strange :confused:

Could you post all your options you ue when starting mencoder (both passes)?

The Shemeta
20th June 2003, 18:26
for divx i get the following message :
pass (2) and rate control mode (0) doesn't match, please consult encore2.h

& for libavcodec i get:
segmentation fault

Xvid is working fine, but i can't use the hintedme & for bitrate=1000 i get 340MB avi file for 5min video clip. pretty strange. for xvid i use the options you posted!

thanks for your help! very cool of you! :D

TactX
20th June 2003, 18:48
Originally posted by The Shemeta
Xvid is working fine, but i can't use the hintedme & for bitrate=1000 i get 340MB avi file for 5min video clip.
Is it 340 MB after the 1st or the 2nd pass?

Have you compiled mplayer yourself, or did you use a package (which distribution?)?

The Shemeta
20th June 2003, 19:25
i did compile it myself. it is 340 MB after the 1st & 2nd pass. it doesn't matter which pass.