Log in

View Full Version : How do I tell XviD to use a custom matrix?


xtknight
10th June 2005, 02:54
How do I tell XviD to use a custom matrix?

Thanks.

celtic_druid
10th June 2005, 03:47
Set it to MPEG custom. Then load the matrix.

unskinnyboy
10th June 2005, 05:20
To be a bit more clear..

Profile@Level->more...->Quantization Matrix=MPEG Custom->Edit Matrix->Load Matrix->load your CQM->OK->OK->OK.

xtknight
10th June 2005, 21:06
thanks..i got it. what about mencoder? do you guys know the specific parameter i need to specify the matrices?

unskinnyboy
10th June 2005, 22:40
quant_intra_matrix=<filename with path>
quant_inter_matrix=<filename with path>

celtic_druid
11th June 2005, 02:08
Once again I think you are supposed to enable mpeg and load the matrix, so I think you should also have quant_type=mpeg.

unskinnyboy
11th June 2005, 03:43
Yes, he should. Thought that was implicit..:)

@xtknight,

quant_type=mpeg:quant_intra_matrix=<filename with path>:quant_inter_matrix=<filename with path>

xtknight
11th June 2005, 05:44
Yes, he should. Thought that was implicit..:)

@xtknight,

quant_type=mpeg:quant_intra_matrix=<filename with path>:quant_inter_matrix=<filename with path>

ok thanks...does this work with xvid? I heard the matrices in mencoder only worked with certain codecs. do i put this under xvidopts or is this just another parameter on the same level as xvidopts (like -oac, -ovc, etc?)

celtic_druid
11th June 2005, 05:47
They are xvidencopts.

Also to create the matrix files: http://www.aziendeassociate.it/cd//Misc/xvid4conf.7z

unskinnyboy
11th June 2005, 05:51
Under -xvidencopts.

EDIT: c_d beat me to it.