PDA

View Full Version : Does xvid encoder can do pre-encoding resize ?


mcsimer
12th March 2007, 17:00
Hi people

I'm writing a kind of custom xvid encoding tool (using dshow) and i wonder whether xvid encoder filter (Koepis Vanilla build) can output picture with another size than input is.
F.e. input will be 320x240, rgb24
and xvid encoder filter will produce 640x480, xvid compressed.

Is it possible ? If so, should i configure output pin of the xvid filter to a larger image size (filling WMVIDEOINFOHEADER) or use some registry settings ?

ps: i know, picture can be resized in other ways, but this is particular case of mine

Any help or tip will be appreciated

Brother John
12th March 2007, 18:59
DivX has a built-in resizer, but Xvid doesn't. You could try to put ffdshow into your DS graph as a preprocessor for resizing.

Blue_MiSfit
13th March 2007, 02:23
Hmmm...

This may be totally out in left field, but I recall something about reduced resolution mode, that was in older XviD builds.

Anyone care to comment?

~MiSfit

mcsimer
14th March 2007, 21:52
thanx for your replies

actually this question has arisen by the fact that MS's wmv encoder can be configured to change output size of the picture simply by filling WMVIDEOINFOHEADER structure.

as i can see xvid has no same behaviour

henryho_hk
21st March 2007, 02:24
Why not try AVS scripting? There are quite a number of high quality resizers, definitely better than that of WM.