オプショナルなマクロブロック・タイプの指定(default: p8x8,b8x8,i8x8,i4x4)。
このオプションの指定に関わらず、p16x16, b16x16, i16x16 は常に有効。
基本的な考え方としては、あるピクチャの中の特定箇所を一番ウマく扱えるタイプとサイズを見つけるためのもの。例えば、画面全体に渡るパンには16x16が最適な一方、小さな動く物体にはもっと小さなブロックを使うほうが良い。
defalt |
指定 |
enableになるタイプ | 備考 |
---|---|---|
p8x8 | p16x8, p8x16, p8x8 | |
p4x4 | p8x4, p4x8, p4x4 | p4x4推奨はsubq >= 5、かつ、低解像度の場合のみ。 |
b8x8 | b16x8, b8x16, b8x8 | |
i8x8 | i8x8 | i8x8 は 8x8dctと一緒に使わないと無意味。 |
i4x4 | i4x4. | |
all | 上記全部 | |
none | 上記全部disable |
エンコードで使うマクロブロック・タイプを選択。
種類はできるだけ沢山使う方がx264の判断が賢くなる。例えば、ディテイルがちょびっとしかないモーションブロックには16x16が適している一方、ディテイルの精細なブロックには4x4が適している。つまり基本的にこのオプションはマクロブロックの効率的な符号化をもたらすという事だ。このオプションの有用度はサブペル動き予測の方式に依存する。p4x4 を使うには p8x8が、i8x8 を使うには --8x8dctが必要。
http://aflux.deltaanime.net/Zero1/MP4/x264.html#rate-control
--analyseThis sets the macroblock types that will be available when encoding. It is better to have more if not all of these modes enabled so as to allow the encoder to make a better decision when encoding, for instance large blocks of motion with little detail can be assigned 16x16 macroblocks, and fine detail can go right down to 4x4. It basically amounts to more efficient coding of macroblocks. The usefulness of some of these modes is dependant on the subpixel motion estimation used. p4x4 requires p8x8. i8x8 requires --8x8dct.
partitions=all: このオプションは予測されたマクロブロックの中のサブパーティションサイズに、8x4, 4x8, 4x4 を加えるものです。コンスタントに 10%-15% の速度低下があります。ローモーション素材ではまず無意味ですが、一部のハイモーション素材、特に細かい動く物体が大量にある場面では 0.1dB 程度のPSNRゲインが期待できます。
*まるも製作所さんはp4x4を非推奨としている事に注意。
This option enables the use of 8x4, 4x8 and 4x4 subpartitions in predicted macroblocks (in addition to the default partitions). Enabling it results in a fairly consistent 10%-15% loss of speed. This option is rather useless in source containing only low motion, however in some high-motion source, particularly source with lots of small moving objects, gains of about 0.1dB can be expected.