[MPlayer-dev-eng] [PATCH] (mencoder) lavc option "notch_matrix"

Steven M. Schultz sms at 2BSD.COM
Mon Oct 20 00:55:31 CEST 2003


On Sun, 19 Oct 2003, Diego Biurrun wrote:

> Do you have a copy of the matrix from back then?  Then please post the
> free version here and we will be rid of this problem.

	Yes, I do.   I made the mods to mpeg2enc to add both the kvcd 
	and tmpgenc tables.

	The numbers in the attachment are identical (if I did not make
	any typographic errors) to the ones currently on their website.
	
	Attached are the matrices extracted from mjpegtools mpeg2enc

	My observation was that the biggest change was in the B frame
	size (when doing mpeg2 encoding), the I frame grew a few percent
	but the B frames dropped considerable.   Visually I couldn't see
	the difference so I've been using the kvcd or tmpgenc tables
	rather than the default for my encodings.

> This is a charade, but this should put us on the safe side anyway.

	Yes, it is.   Sigh

	Happy Reading ;)

	Steven Schultz
-------------- next part --------------
EXTERNTBL const uint16_t kvcd_intra_quantizer_matrix[64]
#ifdef GLOBAL
=
{
  8,  9, 12, 22, 26, 27, 29, 34,
  9, 10, 14, 26, 27, 29, 34, 37,
 12, 14, 18, 27, 29, 34, 37, 38,
 22, 26, 27, 31, 36, 37, 38, 40,
 26, 27, 29, 36, 39, 38, 40, 48,
 27, 29, 34, 37, 38, 40, 48, 58,
 29, 34, 37, 38, 40, 48, 58, 69,
 34, 37, 38, 40, 48, 58, 69, 79
}
#endif
;

EXTERNTBL const uint16_t kvcd_nonintra_quantizer_matrix[64]
#ifdef GLOBAL
=
{
 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
}
#endif
;


More information about the MPlayer-dev-eng mailing list