PDA

View Full Version : MEncoder with support for custom quantization matrix for x264


hellfred
3rd September 2005, 11:42
11 hours ago, support for custom quantization matrix was added to mplayer in its cvs.
Revision 1.35 / (download) - annotate - [select for diffs] , Fri Sep 2 21:54:16 2005 UTC (11 hours, 44 minutes ago) by gpoirier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.34: +63 -0 lines
Diff to previous 1.34

custom quantization matrix for x264, original patch by Robert Swain < robert POUM swain AH gmail POUM com>
Lots of nits and improvement by the MPlayer team
Original thread:
Date: Jul 12, 2005 5:04 PM
Subject: [MPlayer-dev-eng] [PATCH] CQMs in x264

link (http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/libmpcodecs/ve_x264.c?cvsroot=MPlayer&sortby=date)

EDIT:
To clarify: Support for custom quantization matrix for encoding with mencoder using x264 was added. As mplayer uses libavcodec for decoding, but there is no support for custom quantization in mplayer at the moment, like it is in ffdshwo, which is based on ffmpegs libavcodec, too.

Sharktooth
3rd September 2005, 14:26
nice, but 8x8dct and i8x8 are still a major issue :(

akupenguin
5th September 2005, 11:49
What issue? from the manpage:
(no)i8x8
Use additional macroblock type i8x8 (default: enabled). This option has no effect unless
8x8dct is enabled.

(no)8x8dct
Adaptive spatial transform size: allows macroblocks to choose between 4x4 and 8x8 DCT. Also
allows the i8x8 macroblock type. Without this option, only 4x4 DCT is used.

Sharktooth
5th September 2005, 13:56
was talking about mplayer, not mencoder.
is mplayer now able to playback avc with 8x8dct and i8x8 enabled?

akupenguin
5th September 2005, 14:00
yes. I added them to libavcodec at the same time I added them to x264...

Sharktooth
5th September 2005, 14:02
i missed it. tnx for the info.

Revgen
6th September 2005, 17:48
Could this feature be ported over to FFDshow?

celtic_druid
6th September 2005, 18:41
x264 encoding in ffdshow can already make use of CQM's.

Think a lot of the confusion is coming from the title. Perhaps if it said mencoder instead of mplayer?

hellfred
6th September 2005, 21:28
Think a lot of the confusion is coming from the title. Perhaps if it said mencoder instead of mplayer?
I have changed the title now, too. Hope this helps.

Hellfred

superdump
10th September 2005, 19:31
It's also worth noting the things I added to the man page when writing the patch: "Windows CMD.EXE users may experience problems with parsing the command line if they attempt to use all the CQM lists. This is due to a command line length limitation. In this case it is recommended the lists be put into a JM format CQM file and loaded as specified above."

And I don't think absolute paths (such as "/c/path/to/cqm.cfg") work in MinGW though relative ones do. I can't quite remember but you'll soon know if something doesn't work in your 'shell'. ;)