[MEncoder-users] Custom quantizer matrix

Giacomo Comes comes at naic.edu
Tue Oct 9 17:08:03 CEST 2007


On Tue, Oct 09, 2007 at 03:33:13PM +0200, Tobias Brockamp wrote:
> Doesn't anybody have such custom matrix in use? I only need one for  
> editing, because
> i haven't found any documentation how such a matrix look like so mencoder  
> can use it.
> 
> In the mencoder man-page it says that xvid4conf does produce the matrix  
> but i can't find
> a windows binary.
> 
> please, i strongly need this feature.

Are you asking about how to use custom quantization matrix with mencoder?
With libavcodec it is really easy:
-lavcopts inter_matrix=a,b,c....:intra_matrix=d,e,f.....
with xvid:
-xvidencopts quant_type=mpeg:quant_inter_matrix=file1:quant_intra_matrix=file2
the content of file1/2 looks like (8x8 coefficents):
 16 18 20 22 24 26 28 30
 18 20 22 24 26 28 30 32
 20 22 24 26 28 30 32 34
 22 24 26 30 32 32 34 36
 24 26 28 32 34 34 36 38
 26 28 30 32 34 36 38 40
 28 30 32 34 36 38 42 42
 30 32 34 36 38 40 42 44
The values of the coefficent for various metrixes can be easily found with 
google.

Ciao
Giacomo

> 
> Am 08.10.2007, 23:06 Uhr, schrieb Tobias Brockamp <tobiasbrockamp at gmx.de>:
> 
> > Hi,
> >
> > can anybody tell me where i found custom quantizer matrix like sixofnine
> > or eqm v3lr in mencoder
> > readable format?
> > Or has anybody a windows binary for the xvid4conf tool, so i can build
> > them for myself?



More information about the MEncoder-users mailing list