头像
yabbay
帖子: 62
注册时间: 2012-05-31 10:39
来自: Tokyo

[新人求助]avs4x264mod的管道问题

由于x86版x264的内存限制只好在管道上打主意 {:cat_9}
以前测试过ffmpeg的视频管道 只能输出8bit
于是今天找来avs4x264mod-0.8.0-git-r61(099ad2f)试验一下管道 想看看能不能输出10bit
这是错误信息 {:cat_4}
avs [info]: AviSynth 2.60, build:Sep 27 2009 [18:39:23]
avs [info]: Video colorspace: YV12
avs [info]: Video resolution: 1280x720
avs [info]: Video framerate: 24000/1001
avs [info]: Video framecount: 740
avs4x264 [info]: "x264_64" - --level 5.1 --crf 18 --ref 4 --b-adapt 2 --bframes 5 --open-gop --
keyint 110 -i 1 --scenecut 50 -A all -w --direct auto --me umh --merange 16 -m 6 -t 2 --mixed-r
efs --chroma-qp-offset -1 --rc-lookahead 60 --qpmin 0 --qpmax 69 --qpstep 4 --qcomp 0.8 --deblo
ck 0:0 --psy-rd 1.0:0.0 --sar 1:1 --threads 12 --ipratio 1.4 --pbratio 1.2 --aq-mode 2 --aq-str
ength 1.0 --stats .stats -o B:\xxx_v.mp4 --frames 740 --fps 24000/1001 --input-res 1280x720 --
input-csp i420
Error: Failed to create process <2>!请按任意键继续. . .

使用的avs是

FFmpegSource2("B:\xxx.mp4",atrack = -1,timecodes = "B:\xxx_v.txt")
LanczosResize(1280,720)

使用的avs4x264mod参数是
avs4x264mod --seek-mode safe --level 5.1 --crf 18 --ref 4 --b-adapt 2 --bframes 5 --open-gop --keyint 110 -i 1 --scenecut 50 -A all -w --direct auto --me umh --merange 16 -m 6 -t 2 --mixed-refs --chroma-qp-offset -1 --rc-lookahead 60 --qpmin 0 --qpmax 69 --qpstep 4 --qcomp 0.8 --deblock 0:0 --psy-rd 1.0:0.0 --sar 1:1 --threads 12 --ipratio 1.4 --pbratio 1.2 --aq-mode 2 --aq-strength 1.0 --stats ".stats" -o "B:\xxx_v.mp4" "B:\xxx.avs"
          .∧__,,∧
         ( ´・ω・`) ブルブル
          (つまくら) アリと明日(ant and tomorrow)
          `u―u´ レッツ・エッグ・ペイン(Let`s egg pain)
头像
Holy
核心会员
核心会员
帖子: 235
注册时间: 2010-09-24 9:28

Re: [新人求助]avs4x264mod的管道问题

因為 avs4x264mod 找不到 x264_64.exe 可以執行。
图片
头像
-o-o-304-o-o-
超级版主
帖子: 640
注册时间: 2010-10-10 20:00
来自: US
联系: 网站

Re: [新人求助]avs4x264mod的管道问题

同holy菊苣

如果不是放在相同目录且文件名命名不是"x264_64.exe"的话,avs4x264是找不到x264的,你需要手工指定x264的位置

加上--x264-binary "[路径]\x264.exe"就行了
► 显示剧情透露 En Taro 06!Taro Pie NC Fanclub project始动!聊天用Q群开放中
► 显示剧情透露 胸中有万言,退敌无一策,是谓书生误国"
► 显示剧情透露 前辈们的信念
► 显示剧情透露 妇联招新广告,走过路过可以看看撒
► 显示剧情透露 香芋派,后期菊苣们的一致选择
► 显示剧情透露 众菊苣喜评香芋派
► 显示剧情透露 聊天用工具
头像
yabbay
帖子: 62
注册时间: 2012-05-31 10:39
来自: Tokyo

Re: [新人求助]avs4x264mod的管道问题

gracias楼上2位前辈
请问是不是之后直接调用x264的10bit版以后压制的时候就可以avs和x264各有满格的2GB的内存使用了?(虽然偶是x86系统 不过用ready for 4GB后总体可以使用12G的内存)
          .∧__,,∧
         ( ´・ω・`) ブルブル
          (つまくら) アリと明日(ant and tomorrow)
          `u―u´ レッツ・エッグ・ペイン(Let`s egg pain)
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: [新人求助]avs4x264mod的管道问题

32位系統單程序最高可以有3GB的尋址空間,只要啟動設置裡開啟了3GB
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
头像
yabbay
帖子: 62
注册时间: 2012-05-31 10:39
来自: Tokyo

Re: [新人求助]avs4x264mod的管道问题

gracias
GGRKS了一下简单教程
是不是如下
 
win7开启3GB
  1 进入system32目录,右击鼠标“以管理员身份运行”运行cmd.exe
  2 输入如下命令bcdedit /set increaseuserva 3072来开启3GB内存支持
然后再配合管道的话就有3GB avs和3GB x264的使用空间
不用管道的话就是avs+x264合集3GB的内存使用空间了?
          .∧__,,∧
         ( ´・ω・`) ブルブル
          (つまくら) アリと明日(ant and tomorrow)
          `u―u´ レッツ・エッグ・ペイン(Let`s egg pain)
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: [新人求助]avs4x264mod的管道问题

是的,如果是XP的話直接編輯boot.ini就行了,NT 6.0之後則需要用bcdedit來編輯bcd文件裡的啟動選項

當然這還需要程序在編譯的時候開了LAA。avs4x264mod和x264都是開了的,ffmpeg官方的nightly build似乎沒開,我在本區編譯的ffmpeg/libav是開啟的。沒開的程序可以用十六進制編輯器來開啟,或者找專門的工具。像avspmod、aviutl之類的自己開一下還是很有必要的
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
头像
yabbay
帖子: 62
注册时间: 2012-05-31 10:39
来自: Tokyo

Re: [新人求助]avs4x264mod的管道问题

gracias taro大
以后用avs4x264mod管道估计1080P做supersampling也不会内存溢出了 {:cat_2}
          .∧__,,∧
         ( ´・ω・`) ブルブル
          (つまくら) アリと明日(ant and tomorrow)
          `u―u´ レッツ・エッグ・ペイン(Let`s egg pain)
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: [新人求助]avs4x264mod的管道问题

其實還可以用MPP,沒開一個新block其實就是用一個新的slave.exe來跑這個block,可以把要跑的部分分割成很多部分,所以內存很容易控制下來了……
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
头像
yabbay
帖子: 62
注册时间: 2012-05-31 10:39
来自: Tokyo

Re: [新人求助]avs4x264mod的管道问题

MPP? 请问全称是?
GGRKS上找的答案太乱
wiki上给了一串http://en.wikipedia.org/wiki/MPP
难道是Massive parallel processing?(貌似是给超级电脑用的系统;)
          .∧__,,∧
         ( ´・ω・`) ブルブル
          (つまくら) アリと明日(ant and tomorrow)
          `u―u´ レッツ・エッグ・ペイン(Let`s egg pain)

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