lwjkk666
帖子: 321
注册时间: 2012-05-29 13:43

Re: [置顶] SAP的EPx264压制脚本(2012-03-29更新)

嗯,改一下CRF了,继续试验。。
july
帖子: 7
注册时间: 2012-11-27 9:16

Re: [置顶] SAP的EPx264压制脚本(2012-03-29更新)

试过了,在32位系统里使用起来很方便,不知在64位系统使用情况如何,没有看到相关说明.暂时没有X64的系统,所以先来问问.
头像
dgwxx
管理猿
帖子: 771
注册时间: 2010-09-19 20:42
联系: 网站

Re: [置顶] SAP的EPx264压制脚本(2012-03-29更新)

x64系统下可以正常使用。
日常推 @dgwxx: 基本没什么技术的话题,欢迎没事看看消遣。
► 显示剧情透露 平庸的rip
► 显示剧情透露 “不知道”的五大理由
july
帖子: 7
注册时间: 2012-11-27 9:16

Re: [置顶] SAP的EPx264压制脚本(2012-03-29更新)

dgwxx 写了:x64系统下可以正常使用。
希望后期会出X64版本
cunhan
核心会员
核心会员
帖子: 214
注册时间: 2010-09-20 22:09

Re: [置顶] SAP的EPx264压制脚本(2012-03-29更新)

没什么必要出x64版本。
这只是个便民脚本而已,不涉及算法效率什么的。
只要在64位系统下能运行即可。
july
帖子: 7
注册时间: 2012-11-27 9:16

Re: [置顶] SAP的EPx264压制脚本(2012-03-29更新)

dgwxx 写了:x64系统下可以正常使用。
今天找了一台X64的机子试了一下,出错了,如下

D:\encx264.noPY_20120329>encx264 720P-1C2P "Z:\July\The Words 2012 1080p Blu-Ray AVC DTS-HD MA 5.1-HDChina\BDMV\STREAM\00012.m2ts" "Z:\July\The Words 2012 1080p Blu-ray AVC DTS-HD MA 5.1-HDChina\BDMV\STREAM\00012_1c2p.mp4" 23
应用程序无法启动,因为应用程序的并行配置不正确。有关详细信息,请参阅应用程序事件
日志,或使用命令行 sxstrace.exe 工具。

另外说一下,制作好AVS来压制也是同样的错误

以下是相关设置,在X86下使用很正常.

x264_path = r'x264.exe'


# possible values: idle, below_normal, normal, above_normal, high
default_priority = 'below_normal'

log_progress = False

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 = {
"720P-1C2P" : {
"default_sar": "1:1",
"default_ref": 8,
"bitrate_ratio": 1.0,
"common": "--profile high --level 4.1 --bframes 6 " + \
"--vbv-bufsize 50000 --vbv-maxrate 50000",
'pass1': '--crf {crf}',
"pass2": '--bitrate {bitrate} --preset slower --keyint 250 --min-keyint 24 --bframes 6 --ref 8 --pic-struct --b-adapt 2 --aq-mode 2 --aq-strength 0.9 --threads 6 --deblock -2:-2 --rc-lookahead 60 --trellis 2 --merange 48 --subme 10 --me umh --partitions all --chroma-qp-offset 1 --weightb --no-fast-pskip',

# slot settings in task runner
"slot_pass1": 1,
"slot_pass2": 2,
},
cunhan
核心会员
核心会员
帖子: 214
注册时间: 2010-09-20 22:09

Re: [置顶] SAP的EPx264压制脚本(2012-03-29更新)

这是缺少了Visual C++ Redistributable,至于缺的是哪个版本只有天知道了
我都是把2005-2008,x86和x64所以版本全部装上
头像
SAPikachu
帖子: 192
注册时间: 2011-02-28 19:55
联系: 网站

Re: [置顶] SAP的EPx264压制脚本(2012-03-29更新)

刚刚看了下,需求的应该是 http://www.microsoft.com/en-us/download ... px?id=5582 。注意是x86的,不是x64的。
T: @SAPikachu
头像
sammysui
帖子: 87
注册时间: 2012-07-06 20:13

Re: SAP的EPx264压制脚本(2012-03-29更新)

我想问一下 在命令行中 如何设置使x264-32.exe 这个程序在压制的时候 设置优先级为最低 这样压制视频的时候 电脑运行一些其它程序不会卡
头像
dgwxx
管理猿
帖子: 771
注册时间: 2010-09-19 20:42
联系: 网站

Re: SAP的EPx264压制脚本(2012-03-29更新)

encx264_targets.py的第6行:

代码: 全选

default_priority = 'below_normal'
日常推 @dgwxx: 基本没什么技术的话题,欢迎没事看看消遣。
► 显示剧情透露 平庸的rip
► 显示剧情透露 “不知道”的五大理由

回到 “视频编码器 / Video encoder discussion”