我用的是最新的免SAP的EPx264压制脚本(免Python打包版 ),x264 - 06_taro编译版的编码器,解码器是用的终极解码2012春节版,片源是10bit的mkv,x264只跑pass1,pass2不跑。
另外想问一下,黑界面上报code -1是什么原因啊!
日志文件:
First pass command line: "D:\x264\x264_10.exe" --threads auto --thread-input --sar 1:1 --ref 7 --aq-strength 1.5 --weightb --mixed-refs --no-fast-pskip --deblock 1:1 --pass 1 --slow-firstpass --stats "test.mp4.x264_stats" --direct auto --trellis 0 --no-8x8dct --me hex --subme 6 --partitions none --b-adapt 2 --output NUL --input-depth 10 --level 4.1 --bframes 7 --vbv-bufsize 50000 --vbv-maxrate 50000 --crf 25 "test.avs"
avs [info]: avisynth 16bit hack enabled
avs [info]: 640x720p 1:1 @ 10000000/417083 fps (cfr)
avs [info]: color matrix: undef
depth [info]: skipped depth filter
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High 10, level 4.1, 4:2:0 10-bit
x264 [info]: cabac=1 ref=7 deblock=1:1:1 analyse=0x1:0 me=hex subme=6 psy=1 fade_compensate=0.00 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=-2 threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 fgo=0 bframes=7 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=25.0000 qcomp=0.60 qpmin=0 qpmax=81 qpstep=4 vbv_maxrate=50000 vbv_bufsize=50000 crf_max=0.0 nal_hrd=none ip_ratio=1.40 aq=1:1.50
x264 [info]: started at Wed Mar 14 12:26:53 2012
x264 [info]: frame I:6 Avg QP:58.31 size: 97095
x264 [info]: frame P:758 Avg QP:59.40 size:129195
x264 [info]: frame B:676 Avg QP:61.05 size:107179
x264 [info]: consecutive B-frames: 26.7% 31.1% 5.8% 34.7% 0.0% 0.0% 0.0% 1.7%
x264 [info]: mb I I16..4: 41.9% 24.0% 34.1%
x264 [info]: mb P I16..4: 36.2% 0.0% 0.0% P16..4: 40.8% 22.9% 0.0% 0.0% 0.0% skip: 0.1%
x264 [info]: mb B I16..4: 33.9% 0.0% 0.0% B16..8: 39.5% 0.0% 0.0% direct:23.6% skip: 2.9% L0:59.4% L1:19.7% BI:20.9%
x264 [info]: direct mvs spatial:99.4% temporal:0.6%
x264 [info]: coded y,uvDC,uvAC intra: 91.5% 98.8% 96.2% inter: 93.7% 52.6% 46.8%
x264 [info]: i16 v,h,dc,p: 27% 25% 23% 24%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 100% 0% 0% 0% 0% 0% 0% 0% 0%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 55% 21% 19% 1% 1% 1% 1% 1% 1%
x264 [info]: i8c dc,h,v,p: 47% 12% 31% 10%
x264 [info]: Weighted P-Frames: Y:2.2% UV:0.3%
x264 [info]: ref P L0: 51.5% 10.7% 9.7% 8.1% 8.0% 7.9% 4.0% 0.1%
x264 [info]: ref B L0: 27.2% 20.7% 19.2% 16.4% 13.0% 3.4%
x264 [info]: ref B L1: 86.0% 14.0%
x264 [info]: kb/s:22772.70
encoded 1440 frames, 18.9046 fps, 0.0529 spf, 22772.70 kb/s
x264 [info]: ended at Wed Mar 14 12:28:09 2012
x264 [info]: encoding duration 0:01:16
---------------------------------------------
Second pass command line: "D:\x264\x264_10.exe" --threads auto --thread-input --sar 1:1 --ref 7 --aq-strength 1.5 --weightb --mixed-refs --no-fast-pskip --deblock 1:1 --pass 2 --stats "test.mp4.x264_stats" --ssim --direct auto --merange 64 --me umh --subme 10 --trellis 2 --output "test.mp4" --input-depth 10 --level 4.1 --bframes 7 --vbv-bufsize 50000 --vbv-maxrate 50000 --bitrate 22772 --partitions "p8x8,b8x8,i4x4,i8x8" "test.avs"
AVS:
SetWorkingDir("D:\AVS脚本小子3.86\LP\") #指定了外部滤镜的路径
LoadPlugin("UnDot.dll") #加载降噪滤镜
LoadPlugin("VSFilter.dll") #加载字幕插件
LoadPlugin("DGDecode.dll") #加载用于解码DVD(.d2v)的mpeg2格式的插件
Load_Stdcall_Plugin("yadif.dll") #Yadif反交错滤镜
LoadPlugin("Scanlines.dll") #添加扫描线
LoadPlugin("Convolution3DYV12.dll") #加载柔化插件
DirectShowSource("G:\下载\动画\[DHR&Hakugetsu][Sora no Otoshimono Tokei Jikake no Angeloid][Movie][720P][x264_Hi10P_AAC][GB&BIG5]\[DHR&Hakugetsu][Sora no Otoshimono Tokei Jikake no Angeloid][Movie][1280x720][x264_Hi10P_AAC][C07A0E46].mkv",convertfps=true)
ConvertToYV12()
Trim(21578,23017)
批处理命令:
encx264 mkv_720p_10bit test.avs test.mp4 25 --tc ""
pause
片源信息:
G:\下载\动画\[DHR&Hakugetsu][Sora no Otoshimono Tokei Jikake no Angeloid][Movie][720P][x264_Hi10P_AAC][GB&BIG5]\[DHR&Hakugetsu][Sora no Otoshimono Tokei Jikake no Angeloid][Movie][1280x720][x264_Hi10P_AAC][C07A0E46].mkv
General
Unique ID : 192930836747388612567029399820565564555 (0x912520A8587118108B12491916414C8B)
Complete name : G:\下载\动画\[DHR&Hakugetsu][Sora no Otoshimono Tokei Jikake no Angeloid][Movie][720P][x264_Hi10P_AAC][GB&BIG5]\[DHR&Hakugetsu][Sora no Otoshimono Tokei Jikake no Angeloid][Movie][1280x720][x264_Hi10P_AAC][C07A0E46].mkv
Format : Matroska
Format version : Version 2
File size : 1.37 GiB
Duration : 1h 37mn
Overall bit rate mode : Variable
Overall bit rate : 2 019 Kbps
Encoded date : UTC 2012-03-09 00:19:53
Writing application : mkvmerge v5.3.0 ('I could have danced') built on Feb 9 2012 10:38:07
Writing library : libebml v1.2.3 + libmatroska v1.3.0
Video #1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 10@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 37mn
Bit rate mode : Variable
Maximum bit rate : 40.0 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Scan type : Progressive
Writing library : x264 core 120 r2164+651+27 eca7666 tMod [10-bit@4:2:0 X86_64]
Encoding settings : cabac=1 / ref=6 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / fade_compensate=0.00 / psy_rd=0.60:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=16.0000 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / vbv_maxrate=40000 / vbv_bufsize=50000 / crf_max=0.0 / nal_hrd=vbr / ip_ratio=1.40 / aq=3:0.80
Default : Yes
Forced : No
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
Audio #2
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 1h 37mn
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : 20ms
Language : Japanese
Default : Yes
Forced : No
Menu
00:00:00.000 : :Chapter 1
00:03:55.402 : :Chapter 2
00:06:45.655 : :Chapter 3
00:10:14.155 : :Chapter 4
00:16:27.486 : :Chapter 5
00:20:05.454 : :Chapter 6
00:28:18.697 : :Chapter 7
00:33:57.661 : :Chapter 8
00:36:12.170 : :Chapter 9
00:43:58.636 : :Chapter 10
00:47:15.416 : :Chapter 11
00:53:43.804 : :Chapter 12
00:58:26.795 : :Chapter 13
01:05:44.941 : :Chapter 14
01:10:14.419 : :Chapter 15
01:17:35.860 : :Chapter 16
01:22:30.779 : :Chapter 17
01:31:00.121 : :Chapter 18
01:37:02.817 : :Chapter 19