分页: 4 / 13

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-09-10 12:52
SAPikachu
bitrate_ratio是直接作为target设置的,可以参考mkv_720p的设置。

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-10-17 10:04
tinkle
请问参数设置没有preset吗?还是说需要自行添加的?

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-10-17 10:11
SAPikachu
tinkle 写了:请问参数设置没有preset吗?还是说需要自行添加的?
绝大部分x264参数都可以自行添加到设置,示例的几个target并没有包含全部可设置的参数,需要自己添加。

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-10-20 21:43
tinkle
请教下timecode的问题,因为是在2pass时使用dedup生成tc文件,所以一开始的tc文件是不存在的,那么我要怎么使用这个tc参数封装2pass生成的timecode?

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-10-21 8:08
SAPikachu
tinkle 写了:请教下timecode的问题,因为是在2pass时使用dedup生成tc文件,所以一开始的tc文件是不存在的,那么我要怎么使用这个tc参数封装2pass生成的timecode?
好像除了先用avs2avi空跑一遍以外也没有其它好方法了。。。

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-10-21 8:14
06_taro
雖然記不清楚不過好像dedup的times好像是2nd pass的開始就可以根據log出來的?
如果是這樣的話tc裡填上times參數裡指定輸出的tc文件地址就可以了吧,如果不是一開始就出來的話就只能空跑一遍了……

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-08 2:21
help6288
請問一下(因為本人是壓制菜鳥,可能發問沒啥智慧)

代码: 全选

common_params = "--threads auto --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 --slow-firstpass --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}" --ssim  --direct auto '+ \
                      '--merange 64 ' + \
                      '--me umh --subme 10 --trellis 2 --output "{outFile}"'



encode_targets = {
    "mkv_720p" : {
        "default_sar": "1:1",
        "default_ref": 7,
        "bitrate_ratio": 1.0,
        "common": "--profile high --level 4.1 --bframes 7 " + \
                  "--vbv-bufsize 50000 --vbv-maxrate 50000",
        'pass1': '--crf {crf}',
        "pass2": '--bitrate {bitrate} --partitions "p8x8,b8x8,i4x4,i8x8"',

        # slot settings in task runner
        "slot_pass1": 1,
        "slot_pass2": 2,
    },
裡面的{sar},{statsFile},{bitrate},{crf}等等'....我還需要自行修改麼??
舉例:如何修改設定1pass 的crf 是跑crf 23 的??

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-08 9:11
SAPikachu
大括号里面的参数是在命令行或者脚本内部指定的,如果不知道是什么意思的话最好不要改动。另外初学者建议先使用MeGUI之类的非命令行工具入门。

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-16 23:30
kevinchan
在encx264_target.py里面我看到其中有个10bit的target设定,请问这个脚本是否支持10bit x264 ?
于是我试了一下,出现x264 error
捕获.PNG
捕获.PNG (2.79 KiB) 查看 13020 次

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-16 23:48
06_taro
去掉--profile high