四叶草
帖子: 43
注册时间: 2011-09-02 19:08

求压片达人帮助一下我(已解决)

以前不知道在那里复杂了这个用,但现在把avs拖进不能转换,所以求达人把上面那些改成下面这个差不多的

x264.exe --crf 26 --level 3 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-adapt 2 --weightb --direct auto --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4 --me umh --threads 3 --thread-input --progress --no-psnr --no-ssim -o output.mp4 input.avs
上次由 四叶草 在 2011-09-04 20:14,总共编辑 3 次。
头像
vempx
管理猿
帖子: 146
注册时间: 2010-09-19 20:45

Re: 求压片达人帮助一下我

看完之后,完全不明白楼主你在说什么
在提问前还请仔细查阅公告帖以及各版置顶帖
相信置顶中也许会有您需要的内容


~My Blog~
四叶草
帖子: 43
注册时间: 2011-09-02 19:08

Re: 求压片达人帮助一下我

vempx 写了:看完之后,完全不明白楼主你在说什么
不好意思.....我是小白,讲的不够明白..... {:cat_5}

就是你们高手通常用的x264命令压片,我想你们帮我把那些参数,造一个bat文件,只要和x264放在一起,把影片拖进bat文件里就会压片的(命令脚本,是这样叫吗?){:cat_3}
sunyata
帖子: 29
注册时间: 2010-09-23 22:10

Re: 求压片达人帮助一下我

把input.avs改成%1就行了
四叶草
帖子: 43
注册时间: 2011-09-02 19:08

Re: 求压片达人帮助一下我

sunyata 写了:把input.avs改成%1就行了
还是不行,我把avs拖进取,即刻就关闭了,问一下大侠能帮我改到能用? {:cat_10}
头像
nuomi
帖子: 197
注册时间: 2010-09-25 12:59

Re: 求压片达人帮助一下我

四叶草 写了:还是不行,我把avs拖进取,即刻就关闭了,问一下大侠能帮我改到能用? {:cat_10}

代码: 全选

@echo off
:start
cd "/d %~dp0"
"x264.exe" --crf 26 --level 3 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-adapt 2 --weightb --direct auto --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4 --me umh --threads 3 --thread-input --progress --no-psnr --no-ssim -o "%~dpn1.mp4" "%~f1"
shift
if not "%~1"=="" goto start
echo. & pause
支持批量,輸出文件在AVS所在目錄,x264.exe的絕對路徑自行填寫。
四叶草
帖子: 43
注册时间: 2011-09-02 19:08

Re: 求压片达人帮助一下我

代码: 全选

@echo off
:start
cd "/d %~dp0"
"x264.exe" --crf 26 --level 3 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-adapt 2 --weightb --direct auto --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4 --me umh --threads 3 --thread-input --progress --no-psnr --no-ssim -o "%~dpn1.mp4" "%~f1"
shift
if not "%~1"=="" goto start
echo. & pause
支持批量,輸出文件在AVS所在目錄,x264.exe的絕對路徑自行填寫。[/quote]


请问x264.exe的路径怎么填写,我不会.....
我把我的x264.exe路径贴出了,最再拜托大侠帮我
C:\Users\LGX\Desktop\0 就是在怎么的0文件夹里了
头像
nuomi
帖子: 197
注册时间: 2010-09-25 12:59

Re: 求压片达人帮助一下我

代码: 全选

@echo off
cd "/d %~dp0"
:start
"C:\Users\LGX\Desktop\0\x264.exe" --crf 26 --level 3 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-adapt 2 --weightb --direct auto --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4 --me umh --threads 3 --thread-input --progress --no-psnr --no-ssim -o "%~dpn1.mp4" "%~f1"
shift
if not "%~1"=="" goto start
echo. & pause
其實這是copy某位大大的。
四叶草
帖子: 43
注册时间: 2011-09-02 19:08

Re: 求压片达人帮助一下我

nuomi 写了:

代码: 全选

@echo off
cd "/d %~dp0"
:start
"C:\Users\LGX\Desktop\0\x264.exe" --crf 26 --level 3 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-adapt 2 --weightb --direct auto --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4 --me umh --threads 3 --thread-input --progress --no-psnr --no-ssim -o "%~dpn1.mp4" "%~f1"
shift
if not "%~1"=="" goto start
echo. & pause
其實這是copy某位大大的。
捕获.JPG
大侠不行啊,我把avs拖进去,就如上图一样,点了就关闭了,怎么办。。。。 {:cat_5}
头像
nuomi
帖子: 197
注册时间: 2010-09-25 12:59

Re: 求压片达人帮助一下我

我的x264 core:116 r2074 2641b9e裏查了沒有--progress這參數,倒是有個--no-progress,不知道你是哪裡找來的。去掉這參數就行=V=

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