a1234b45
帖子: 10
注册时间: 2011-08-29 18:51

求助:X264不明錯誤?

先付上AVS 按照這篇文章的:http://www.spirton.com/convert-videos-to-60fps/

代码: 全选

Setmemorymax(1024)
SetMTMode(2,3)
PluginPath = "C:\Program Files\AviSynth 2.5\plugins\"
LoadPlugin(PluginPath+"mvtools2.dll")
LoadPlugin(PluginPath+"RemoveGrainSSE3.dll")
Import(PluginPath+"InterFrame.avsi")
LoadPlugin("C:\Program Files\Haali\MatroskaSplitter\avss.dll")
dss2("C:\neverland\Neverland.mp4", fps=24.000).AssumeFPS(24,1).ConvertToYV12()
#deinterlace
crop( 2, 0, 0, -2)

#denoise
Spline64Resize(1920,1080) # Spline64 (Sharp)
InterFrame(FlowPath=PluginPath, GPU=true)

使用置頂的10bit編譯版壓製會出現錯誤 (使用原版r2085 8bit可以順利壓製)
图片
另外也附上log文件

代码: 全选

avs [info]: 1920x1080p 0:0 @ 60000/1001 fps (cfr)
avs [info]: color matrix: undef, color range: undef
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64
x264 [info]: profile High 10, level 4.2, 4:2:0 10-bit
x264 [info]: cabac=1 ref=4 deblock=1:-2:-2 analyse=0x3:0x113 me=umh subme=7 psy=1 fade_compensate=0.00 psy_rd=1.00:0.00 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 fgo=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=240 keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=20.0000 qcomp=0.60 qpmin=0 qpmax=51 qpstep=4 vbv_maxrate=50000 vbv_bufsize=50000 crf_max=0.0 nal_hrd=vbr ip_ratio=1.40 aq=1:1.00
x264 [info]: started at Wed Sep 28 22:16:25 2011
x264 [error]: malloc of size 4981760 failed
x264 [error]: x264_encoder_encode failed
                                                                               

aborted at input frame 33, output frame 0
x264 [info]: ended at Wed Sep 28 22:16:33 2011
x264 [info]: encoding duration 0:00:08
^C
懇請各位前輩回答 {:cat_5}
头像
4h4h270
帖子: 163
注册时间: 2011-04-10 17:59

Re: 求助:X264不明錯誤?

看log像是爆内存了
头像
Holy
核心会员
核心会员
帖子: 235
注册时间: 2010-09-24 9:28

Re: 求助:X264不明錯誤?

先把SetMemoryMax那行去掉看看…以及 Source Filter 不要用 mode 2

代码: 全选

SetMTMode(5, 3)
PluginPath = "C:\Program Files\AviSynth 2.5\plugins\"
LoadPlugin(PluginPath+"mvtools2.dll")
LoadPlugin(PluginPath+"RemoveGrainSSE3.dll")
Import(PluginPath+"InterFrame.avsi")
LoadPlugin("C:\Program Files\Haali\MatroskaSplitter\avss.dll")
dss2("C:\neverland\Neverland.mp4", fps=24.000).AssumeFPS(24,1).ConvertToYV12()
SetMTMode(2)
#deinterlace
Crop(2, 0, 0, -2)
#denoise
Spline64Resize(1920,1080) # Spline64 (Sharp)
InterFrame(FlowPath=PluginPath, GPU=true)
图片
头像
vempx
管理猿
帖子: 146
注册时间: 2010-09-19 20:45

Re: 求助:X264不明錯誤?

MT的话,出什么问题都不奇怪的
在提问前还请仔细查阅公告帖以及各版置顶帖
相信置顶中也许会有您需要的内容


~My Blog~
a1234b45
帖子: 10
注册时间: 2011-08-29 18:51

Re: 求助:X264不明錯誤?

感謝Holy大相助 您幫我改的腳本現在順利壓製 (應該不會跑到一半又來了吧~~~~ {:cat_15} )
头像
dgwxx
管理猿
帖子: 771
注册时间: 2010-09-19 20:42
联系: 网站

Re: 求助:X264不明錯誤?

我用x64MT的AVS压的视频全花瓶了 lol 最后全v2了
日常推 @dgwxx: 基本没什么技术的话题,欢迎没事看看消遣。
► 显示剧情透露 平庸的rip
► 显示剧情透露 “不知道”的五大理由
头像
upyzl
帖子: 446
注册时间: 2010-12-25 18:44
来自: 湘/京
联系: 网站

Re: 求助:X264不明錯誤?

原来MT已经能RP到这样了(指x264.nl 2085 8bit没事但换个x264 2085 就出问题= =)
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: 求助:X264不明錯誤?

source filter開MT的話什麼情況都不奇怪的……
つまんねー事聞くなよ!

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日。
头像
-o-o-304-o-o-
超级版主
帖子: 640
注册时间: 2010-10-10 20:00
来自: US
联系: 网站

Re: 求助:X264不明錯誤?

MT啊,这玩意当初用过2次没问题之后就再也没正常过了(配合GPU滤镜会把驱动拉黑,只在源滤镜上用预览还凑合压制报错且每次报错的地方还不一样。。以后就乖乖的选择ST然后切开跑了。。拖。。。
► 显示剧情透露 En Taro 06!Taro Pie NC Fanclub project始动!聊天用Q群开放中
► 显示剧情透露 胸中有万言,退敌无一策,是谓书生误国"
► 显示剧情透露 前辈们的信念
► 显示剧情透露 妇联招新广告,走过路过可以看看撒
► 显示剧情透露 香芋派,后期菊苣们的一致选择
► 显示剧情透露 众菊苣喜评香芋派
► 显示剧情透露 聊天用工具
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: 求助:X264不明錯誤?

配合GPU濾鏡= =

MT在avs的wiki裡早就有部分濾鏡能對應的mode的頁面吧,我覺得看到fft3dgpu不行就應該死心了……再說GPU濾鏡處理又不怎麼耗CPU,開MT幹嘛,還怕GPU吃不滿麼? {:cat_13}
つまんねー事聞くなよ!

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日。

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