PDA

View Full Version : xvid options in commandline encoders


naysayer
21st April 2005, 19:54
I'm trying to get away from VFW, but it always seems like the expert Xvid options get left out of the non VFW encoders. I'm using windows XP, but I'm not afraid to use mingw and compile from source myself when needed.

FFmpeg added Xvid support recently, and it works beautifully. But the recent windows compiled versions of ffmpeg.exe I found online didnt show, or even support all of Xvid's options. I decided to downloaded the 04/15/05 version of ffmpeg sources, and compiled it against xvidcore 1.1.0 beta 2 myself. After a while I found /libavcodec/xvidff.c had all the xvid options, and how to turn them on. But ffmpeg had left out the "VHQ for b-frames" setting. After sticking in "x->vop_flags |= XVID_VOP_RD_BVOP;" in that file myself, I finally had that option forced on for Xvid in ffmpeg.

Now I'm trying mencoder, and I'm running into the same thing. I'd like to turn on "adaptive quantization" aka "lumi masking", but none of the compiled versions of mencoder have that option listed.
Does anyone know where to get a compiled mencoder.exe with Xvid 1.1.0b2 and that feature enabled?
If not, does anyone know where to look in the mencoder sources to enable specific Xvid options?

Mencoder and ffmpeg seem to be the best at Xvid right now, does anyone know of any other non VFW encoders that can compile under windows?
I read in the x264 threads that theyve recently added avisynth input and mp4 output to the x264.exe program in the vlc x264 sources...wouldnt it be great of Xvid had a similiar exe?!

CREXbzh
4th June 2005, 17:49
I'm working on adding adaptive quantization to MEncoder right this minute.
It should get merged into MEncoder in a couple of days.
(I accidently found your post while looking for a good description of adaptive quantization).

Doom9
4th June 2005, 18:08
in the xvid source tree you'll find an app called encraw.. it's sorta like x264.exe for x264, but as x264.exe for a long time, input and output options are severely limited.