还是以1080P为例
Bitstream profile选High,关于High 10见之前的番外篇教程,
Bitstream level设为51。
Use a preset to select encoding settings:选custom(自定义)。其他选项为预设的,就是大多数参数是预设好的。从Ultra Fast到Placebo,视频质量和编码速度(转换)是递增的。
Tune the settings for a particular type of source:根据片源选择一个合适的预设,一般选择
normal,动漫就选anime,电影就选film,动作片/游戏视频选grain,幻灯片一样的静止图片选Still Image。
P frame Quantitizer:不变。也可以改为22,不过如果选了固定质量模式就不用改了。
Maximum interval between IDR-frames: 一般选择250-360之间。
改为360。
Minimum interval between IDR-frames:改为1Use recovery points to close GOPs: 不要勾选。
How aggressive to insert an I-frames: I帧灵敏度,越高表示越容易插入I帧。I帧因为独立编码所以拥有最好的画质,建议
改为50。
QP difference between chroma and luma:不变,0。
Frames used as predictors in B and P frames:参考帧数量。
1080p最大值为4,720p不高于6,其余分辨率不高于8。越大数值编码越慢,质量也越好。
Maximum B frames between I and P frames:最大允许连续B帧数量。
推荐3,不建议超过10。越大的数值一般使得文件大小越小。
Adaptive B-frames decision method:选择判断是否插入B帧的方式。Fast,快速模式。
Optimical(推荐),更好的决策方式,编码速度比Fast慢。
B-frames used for predicting: Normal
Enable deblocking filter:勾选
下面alpha,beta: 建议默认0:0
Use CABAC:勾选
Minimum quantizer:0
Maximum quantizer:69
Quantizer step:5Number of frames for frametype lookahead:为了控制码率预读取的帧数。
250最大。越大的数值对码率控制越有效但也越慢,DVD-Rip建议不低于70,720p建议不低于100。画面党直接拉到250未尝不可,不慢太多。我的
内存是4g的,设为150。(
注意:数值越大占用内存越高,内存不够用的可以降低数值,但最低不要低于50。)
Macroblock-tree ratecontrol:勾选
Quantizer compression percentage:50
Direct macroblocks prediction:Auto
Use weighted prediction for B-frames:勾选
Use weighted prediction for P-frames:Smart analysis
Enable all macroblock type:勾选
Adaptive special transform size:勾选
Fullpixel motion estimation algorithm:推荐Uneven Multi-HexagonMotion search radius:一般1080p建议32-64,720p建议24-48,540p/800*600建议16-32,360p/480p建议16-24,更低分辨率建议8-16。Ignore chroma in motion estimation:不要勾选
Subpel refinement quality:推荐9(对于所有帧高度精细化)
Enable psychovisual optimizations:勾选
Mixed reference frame:勾选
Rate-distortion optimal quantization(trellis):Enabled during all mode decisions
接下来除了把Turbo Mode设置成Disabled,其余全部默认。----------------------------------------------------
其他分辨率不同处720P
Frames used as predictors in B and P frames:5
Motion search radius:48
---------------
540P/800*600
Bitstream level:0(即Auto)
Frames used as predictors in B and P frames:6
Number of frames for frametype lookahead:100
Motion search radius:32
--------------
360p/480p
Bitstream level:0
Frames used as predictors in B and P frames:7
Number of frames for frametype lookahead:100
Motion search radius:24
-----------------------------
注意:MediaCoder的视频编码不知是bug还是什么,最后画面总会少几秒的帧。逐行扫描的视频建议用MeGUI,隔行扫描推荐用MediaCoder转换成逐行扫描(用剪辑软件在末尾加几秒,编码后再剪掉,再和音频流封装)。(关于隔行和逐行自行百度,比较复杂,这里一两句也说不清)