Re: [置顶] SAP的EPx264压制脚本(2012-03-29更新)
发表于 : 2012-04-05 1:59
SAPikachu应该没弄明白我的意思,我的意思就是2pas的的码率就是1st pass CRF这个过程分配出来的码率,比如跑第一次CRF 20,它检测出这个码率有1200,那么2pass的时候就根扰这个1200来跑
代码: 全选
encx264 SOMETARGET "x:\xxx.avs" "x:\xxx.mkv" --crf 22 --tc "" --bitrate-ratio 1.0
与主题无关的问题请开新帖。longhuizhu 写了:这 个码率还真不好控制啊。有什么可以控制码率一点的方法吗
代码: 全选
common_params = "--threads 2 --thread-input {tc} --sar {sar} "+ \
"--ref {ref} --aq-strength 1.5 "+ \
"--weightb --mixed-refs --no-fast-pskip "+ \
"--deblock 1:1 "
common_params_pass1 = '--pass 1 --stats "{statsFile}" ' + \
'--direct auto --trellis 0 --no-8x8dct --me hex ' + \
'--subme 6 --partitions none --b-adapt 2 --output NUL'
common_params_pass2 = '--pass 2 --stats "{statsFile}" --direct auto '+ \
'--merange 64 ' + \
'--me umh --subme 10 --trellis 2 --output "{outFile}"'
encode_targets = {
"720P" : {
"default_sar": "1:1",
"default_ref": 1,
"bitrate_ratio": 0.9,
"common": "--profile high --level 3.1 --bframes 5 " + \
"--vbv-bufsize 0 --vbv-maxrate 0",
'pass1': '--crf {crf}',
"pass2": '--bitrate {bitrate} --partitions "p8x8,b8x8,i4x4,i8x8"',
# slot settings in task runner
"slot_pass1": 1,
"slot_pass2": 2,
lwjkk666 写了:请教一下支持1Pass crf + 2Pass bitrate模式,自动获取crf出来的码率作为2pass参数
的命令行怎样写?