Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
13th October 2006, 11:16 | #1 | Link |
Registered User
Join Date: Feb 2004
Posts: 1,348
|
Custom Matrices
[edit] I was going to leave this post as it was, but it has been recently bumped to the front page. Currently the cases that these cqms were meant to fix are handled very well by psychovisual optimizations within X264, such as Dark Shikari's aq, psy rd, and psy trellis, which usually work better then cqms, in my (and everyone elses) opinion. Cqms can still be usefull, but not most of the time, and certainly not for the majority of people.
This thread is to provide a place for me to keep up to date versions of my Mpeg4-avc cqms, and somewhere to refer people who want copies of them. If you have any questions about these matrices in particular feel free to ask them here; however I would apriciate it if more general questions (stuff about matrices in general, etc.) were kept out of this thread, to keep it succinct. Some matrices used in commercial HD-DVD/Blu-Ray encodes can be found in another thread. With the addition of the deadzone parameter there is yet another value that needs to be tweaked to get the best results, I will specify any deadzone settings that i think are neccesary to get the most out of a matrix by posting the command line, IE "--deadzone-inter 6 --deadzone-intra 6". Megui now has gui options for changing the deadzone settings, reffered to as luma intra deadzone, and luma inter deadzone. M4G LRM V4: LRM is for low to very low bitrates, 1cd or less, and MRM may even be better for some 1cd encodes at this point. It is designed to avoid artefacts more then to preserve detail. 0:0 for smooth encodes, -3;0 for moderate encodes. Code:
INTRA4X4_LUMA = 8,22,32,47, 22,48,55,57, 32,55,63,69, 47,57,69,84 INTRA4X4_CHROMAU = 16,20,34,64, 20,40,62,78, 34,62,98,138, 64,78,138,168 INTRA4X4_CHROMAV = 16,20,34,64, 20,40,62,78, 34,62,98,138, 64,78,138,168 INTER4X4_LUMA = 12,28,28,32, 28,32,35,38, 28,35,42,46, 32,38,46,55 INTER4X4_CHROMAU = 18,24,34,41, 24,40,48,56, 34,48,64,92, 41,56,92,110 INTER4X4_CHROMAV = 18,24,34,41, 24,40,48,56, 34,48,64,92, 41,56,92,110 INTRA8X8_LUMA = 8,11,10,16,24,28,29,32, 12,13,14,19,26,27,29,33, 14,13,16,24,28,29,32,35, 14,17,22,30,32,34,38,39, 18,22,28,32,37,42,45,47, 24,27,29,34,42,49,55,57, 29,29,32,38,45,55,63,69, 32,33,35,39,47,57,69,84 INTER8X8_LUMA = 13,14,16,18,20,21,22,24, 14,15,18,19,20,21,22,25, 16,18,20,21,22,23,25,27, 18,19,21,23,25,26,29,31, 20,20,22,25,28,31,35,38, 21,21,23,26,31,37,42,48, 22,22,25,29,35,42,51,61, 24,25,27,31,38,48,61,76 Code:
INTRA4X4_LUMA = 10,10,20,30, 10,10,34,33, 20,34,52,76, 30,33,76,112 INTRA4X4_CHROMAU = 8,8,24,72, 8,8,41,144, 24,41,96,200, 72,144,200,255 INTRA4X4_CHROMAV = 8,8,24,72, 8,8,41,144, 24,41,96,200, 72,144,200,255 INTER4X4_LUMA = 10,18,20,20, 18,18,34,44, 20,34,52,76, 20,44,76,112 INTER4X4_CHROMAU = 16,22,22,22, 22,22,22,56, 22,22,72,96, 22,56,96,128 INTER4X4_CHROMAV = 16,22,22,22, 22,22,22,56, 22,22,72,96, 22,56,96,128 INTRA8X8_LUMA = 12,12,14,20,24,26,30,32, 12,12,15,22,24,27,30,36, 14,15,20,26,27,31,34,40, 20,22,26,30,35,38,40,46, 24,24,27,35,42,48,50,52, 26,27,31,38,48,56,60,64, 30,30,34,40,50,60,72,80, 32,36,40,46,52,64,80,96 INTER8X8_LUMA = 12,16,16,18,20,22,25,28, 16,16,17,20,20,23,26,28, 16,17,20,22,24,26,29,31, 18,20,22,25,28,31,33,38, 20,20,24,28,33,37,43,49, 22,23,26,31,37,46,56,65, 25,26,29,33,42,56,70,88, 28,28,31,38,49,65,88,115 Code:
INTRA4X4_LUMA = 15,6,15,22, 6,7,25,30, 15,25,38,48, 22,30,48,96 INTRA4X4_CHROMAU = 16,6,24,72, 6,8,41,144, 24,41,96,200, 72,144,200,255 INTRA4X4_CHROMAV = 16,6,24,72, 6,8,41,144, 24,41,96,200, 72,144,200,255 INTER4X4_LUMA = 4,11,15,22, 11,11,25,30, 15,25,38,48, 22,30,48,96 INTER4X4_CHROMAU = 5,16,16,16, 16,16,16,56, 16,16,72,96, 16,56,96,128 INTER4X4_CHROMAV = 5,16,16,16, 16,16,16,56, 16,16,72,96, 16,56,96,128 INTRA8X8_LUMA = 24,7,7,12,15,20,21,23, 8,9,14,15,18,21,23,21, 10,12,15,17,17,21,26,20, 14,15,17,17,18,33,30,23, 15,17,17,21,26,39,39,29, 18,18,20,24,33,39,41,35, 21,24,29,34,39,45,45,38, 27,35,36,39,38,38,38,38 INTER8X8_LUMA = 6,10,13,13,15,16,18,22, 10,10,12,15,15,16,21,24, 13,12,15,16,19,21,25,27, 13,15,16,21,24,28,30,34, 15,15,19,24,30,36,37,40, 16,16,21,28,36,42,45,52, 18,21,25,30,37,45,55,72, 22,24,27,34,40,52,72,96 Code:
INTRA4X4_LUMA = 4,9,18,45, 9,16,35,180, 18,35,225,255, 45,180,255,255 INTRA4X4_CHROMAU = 14,22,32,72, 22,24,41,144, 32,41,96,200, 72,144,200,255 INTRA4X4_CHROMAV = 14,22,32,72, 22,24,41,144, 32,41,96,200, 72,144,200,255 INTER4X4_LUMA = 4,9,18,45, 9,16,35,180, 18,35,225,255, 45,180,255,255 INTER4X4_CHROMAU = 16,22,22,22, 22,22,22,56, 22,22,72,96, 22,56,96,128 INTER4X4_CHROMAV = 16,22,22,22, 22,22,22,56, 22,22,72,96, 22,56,96,128 INTRA8X8_LUMA = 5,11,10,16,28,68,80,80, 12,12,14,18,32,73,90,110, 14,13,16,30,51,87,138,112, 14,17,28,36,80,174,160,124, 18,28,47,88,136,255,206,154, 30,42,86,128,162,208,226,184, 60,128,156,174,206,241,240,202, 144,184,190,196,224,200,206,198 INTER8X8_LUMA = 5,11,10,16,22,28,38,46, 12,12,14,18,26,38,45,70, 14,13,16,24,34,41,51,125, 14,17,22,24,37,50,100,155, 18,22,28,42,70,135,160,180, 24,26,39,50,135,175,200,205, 30,45,51,100,160,200,225,230, 48,70,125,155,180,205,230,255 Code:
INTRA4X4_LUMA = 6,16,22,28, 16,24,32,40, 22,32,48,72, 28,40,72,112 INTRA4X4_CHROMAU = 12,22,32,72, 22,24,41,144, 32,41,96,200, 72,144,200,255 INTRA4X4_CHROMAV = 12,22,32,72, 22,24,41,144, 32,41,96,200, 72,144,200,255 INTER4X4_LUMA = 9,20,21,24, 20,21,24,44, 21,24,56,80, 24,44,80,112 INTER4X4_CHROMAU = 16,22,22,22, 22,22,22,56, 22,22,72,96, 22,56,96,128 INTER4X4_CHROMAV = 16,22,22,22, 22,22,22,56, 22,22,72,96, 22,56,96,128 INTRA8X8_LUMA = 8,9,11,13,16,21,24,27, 9,9,12,15,18,22,24,29, 11,12,15,19,22,25,28,32, 13,15,19,24,27,30,34,37, 16,18,22,27,34,39,41,46, 21,22,25,30,39,48,59,74, 24,24,28,34,41,59,81,109, 27,29,32,37,46,74,109,160 INTER8X8_LUMA = 12,12,12,12,13,16,19,25, 12,12,12,12,13,16,21,27, 12,12,13,15,18,21,26,33, 12,12,15,21,25,30,37,45, 13,13,18,25,34,43,54,64, 16,16,21,30,43,60,76,94, 19,21,26,37,54,76,102,132, 25,27,33,45,64,94,132,177 Last edited by *.mp4 guy; 22nd August 2008 at 05:01. |
|
|