jpsdr
9th April 2010, 17:42
I've encoded using the following bat file :
@echo off
SET E_SRC=%6%1.avs
SET E_DST=%3%1.264
SET STAT_FILE=%1.stats
SET TUNING=%4
SET LOG_FILE_1=%1_log_1.txt
SET LOG_FILE_2=%1_log_2.txt
REM Set of max bitrate (ici le bitrate max)
set MAX_BR=40000
REM Set of Buffer (ici le buffer)
set BUF_BR=30000
REM 1ère passe
x264_x64.exe --profile "high" --preset "placebo" --tune %TUNING% --pass 1 --bitrate %2 --stats %STAT_FILE% --level "4.1" --qpmin 0 --qpstep 2 --non-deterministic --vbv-maxrate %MAX_BR% --vbv-bufsize %BUF_BR% --keyint 24 --min-keyint 2 --mvrange 511 --ref 4 --bframe 3 --slices 4 --b-pyramid "strict" --subme 9 --trellis 1 --me "umh" --aq-mode 2 --aud --nal-hrd "vbr" --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --qpfile %5 --threads 0 --thread-input --output NUL %E_SRC% 2> %LOG_FILE_1%
REM 2ème passe
x264_x64.exe --profile "high" --preset "placebo" --tune %TUNING% --pass 2 --bitrate %2 --stats %STAT_FILE% --level "4.1" --qpmin 0 --qpstep 2 --non-deterministic --vbv-maxrate %MAX_BR% --vbv-bufsize %BUF_BR% --keyint 24 --min-keyint 2 --mvrange 511 --ref 4 --bframe 3 --slices 4 --b-pyramid "strict" --aq-mode 2 --aud --nal-hrd "vbr" --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --qpfile %5 --threads 0 --thread-input --output %E_DST% %E_SRC% 2> %LOG_FILE_2%
Bitrate (%2) : 27401
Tuning : animation
It was my first time i've tried --non-deterministic.
Result of pass 1 :
avs [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.1
x264 [info]: frame I:7213 Avg QP: 3.30 size:521604
x264 [info]: frame P:51201 Avg QP: 7.09 size:253036
x264 [info]: frame B:104636 Avg QP:10.63 size: 54946
x264 [info]: consecutive B-frames: 4.9% 10.7% 18.1% 66.3%
x264 [info]: mb I I16..4: 34.4% 30.7% 35.0%
x264 [info]: mb P I16..4: 5.0% 25.0% 6.3% P16..4: 21.5% 13.2% 6.9% 0.7% 1.8% skip:19.6%
x264 [info]: mb B I16..4: 0.7% 2.4% 0.5% B16..8: 27.6% 12.6% 5.6% direct: 9.0% skip:41.6% L0:38.3% L1:38.9% BI:22.9%
x264 [info]: 8x8 transform intra:59.4% inter:43.7%
x264 [info]: direct mvs spatial:100.0% temporal:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 87.3% 74.6% 71.9% inter: 38.0% 30.9% 19.3%
x264 [info]: i16 v,h,dc,p: 38% 14% 28% 20%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 18% 26% 6% 6% 6% 6% 7% 9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 16% 11% 8% 11% 10% 10% 9% 11%
x264 [info]: Weighted P-Frames: Y:4.5%
x264 [info]: ref P L0: 74.2% 15.1% 9.2% 1.5% 0.1%
x264 [info]: ref B L0: 94.4% 5.6%
x264 [info]: ref B L1: 95.4% 4.6%
x264 [info]: kb/s:26430.10
encoded 163050 frames, 13.82 fps, 26430.10 kb/s
Result of pass 2 :
avs [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.1
x264 [info]: frame I:7213 Avg QP: 3.87 size:502408
x264 [info]: frame P:51201 Avg QP: 6.51 size:280184
x264 [info]: frame B:104636 Avg QP:11.65 size: 51616
x264 [info]: consecutive B-frames: 4.9% 10.7% 18.1% 66.3%
x264 [info]: mb I I16..4: 30.2% 23.3% 46.5%
x264 [info]: mb P I16..4: 2.9% 19.3% 10.1% P16..4: 23.8% 16.9% 5.8% 0.5% 1.2% skip:19.4%
x264 [info]: mb B I16..4: 0.4% 1.8% 0.5% B16..8: 29.4% 13.8% 5.3% direct:11.6% skip:37.2% L0:38.6% L1:39.7% BI:21.8%
x264 [info]: 8x8 transform intra:50.8% inter:20.4%
x264 [info]: direct mvs spatial:99.0% temporal:1.0%
x264 [info]: coded y,uvDC,uvAC intra: 86.9% 75.1% 73.0% inter: 37.7% 29.1% 21.4%
x264 [info]: i16 v,h,dc,p: 45% 12% 26% 17%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 19% 28% 6% 5% 5% 6% 6% 9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 16% 11% 9% 11% 10% 10% 9% 11%
x264 [info]: Weighted P-Frames: Y:4.5%
x264 [info]: ref P L0: 75.8% 14.9% 8.5% 0.8% 0.0%
x264 [info]: ref B L0: 94.9% 5.1%
x264 [info]: ref B L1: 95.7% 4.3%
x264 [info]: kb/s:27492.48
encoded 163050 frames, 3.59 fps, 27492.48 kb/s
Bitrate is too high. I'm muxing now, but i'm almost sure that i'm screwed, and result will be too big to fit on BD-R...
I'll redo the encoding this night (fortunately, i've just received my i7@980 yesterday...), removing only --non-deterministic to see if it's the guilty...
BTW, is it normal to have bitrate over the expected, and with a so big difference ?:confused:
@echo off
SET E_SRC=%6%1.avs
SET E_DST=%3%1.264
SET STAT_FILE=%1.stats
SET TUNING=%4
SET LOG_FILE_1=%1_log_1.txt
SET LOG_FILE_2=%1_log_2.txt
REM Set of max bitrate (ici le bitrate max)
set MAX_BR=40000
REM Set of Buffer (ici le buffer)
set BUF_BR=30000
REM 1ère passe
x264_x64.exe --profile "high" --preset "placebo" --tune %TUNING% --pass 1 --bitrate %2 --stats %STAT_FILE% --level "4.1" --qpmin 0 --qpstep 2 --non-deterministic --vbv-maxrate %MAX_BR% --vbv-bufsize %BUF_BR% --keyint 24 --min-keyint 2 --mvrange 511 --ref 4 --bframe 3 --slices 4 --b-pyramid "strict" --subme 9 --trellis 1 --me "umh" --aq-mode 2 --aud --nal-hrd "vbr" --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --qpfile %5 --threads 0 --thread-input --output NUL %E_SRC% 2> %LOG_FILE_1%
REM 2ème passe
x264_x64.exe --profile "high" --preset "placebo" --tune %TUNING% --pass 2 --bitrate %2 --stats %STAT_FILE% --level "4.1" --qpmin 0 --qpstep 2 --non-deterministic --vbv-maxrate %MAX_BR% --vbv-bufsize %BUF_BR% --keyint 24 --min-keyint 2 --mvrange 511 --ref 4 --bframe 3 --slices 4 --b-pyramid "strict" --aq-mode 2 --aud --nal-hrd "vbr" --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --qpfile %5 --threads 0 --thread-input --output %E_DST% %E_SRC% 2> %LOG_FILE_2%
Bitrate (%2) : 27401
Tuning : animation
It was my first time i've tried --non-deterministic.
Result of pass 1 :
avs [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.1
x264 [info]: frame I:7213 Avg QP: 3.30 size:521604
x264 [info]: frame P:51201 Avg QP: 7.09 size:253036
x264 [info]: frame B:104636 Avg QP:10.63 size: 54946
x264 [info]: consecutive B-frames: 4.9% 10.7% 18.1% 66.3%
x264 [info]: mb I I16..4: 34.4% 30.7% 35.0%
x264 [info]: mb P I16..4: 5.0% 25.0% 6.3% P16..4: 21.5% 13.2% 6.9% 0.7% 1.8% skip:19.6%
x264 [info]: mb B I16..4: 0.7% 2.4% 0.5% B16..8: 27.6% 12.6% 5.6% direct: 9.0% skip:41.6% L0:38.3% L1:38.9% BI:22.9%
x264 [info]: 8x8 transform intra:59.4% inter:43.7%
x264 [info]: direct mvs spatial:100.0% temporal:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 87.3% 74.6% 71.9% inter: 38.0% 30.9% 19.3%
x264 [info]: i16 v,h,dc,p: 38% 14% 28% 20%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 18% 26% 6% 6% 6% 6% 7% 9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 16% 11% 8% 11% 10% 10% 9% 11%
x264 [info]: Weighted P-Frames: Y:4.5%
x264 [info]: ref P L0: 74.2% 15.1% 9.2% 1.5% 0.1%
x264 [info]: ref B L0: 94.4% 5.6%
x264 [info]: ref B L1: 95.4% 4.6%
x264 [info]: kb/s:26430.10
encoded 163050 frames, 13.82 fps, 26430.10 kb/s
Result of pass 2 :
avs [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.1
x264 [info]: frame I:7213 Avg QP: 3.87 size:502408
x264 [info]: frame P:51201 Avg QP: 6.51 size:280184
x264 [info]: frame B:104636 Avg QP:11.65 size: 51616
x264 [info]: consecutive B-frames: 4.9% 10.7% 18.1% 66.3%
x264 [info]: mb I I16..4: 30.2% 23.3% 46.5%
x264 [info]: mb P I16..4: 2.9% 19.3% 10.1% P16..4: 23.8% 16.9% 5.8% 0.5% 1.2% skip:19.4%
x264 [info]: mb B I16..4: 0.4% 1.8% 0.5% B16..8: 29.4% 13.8% 5.3% direct:11.6% skip:37.2% L0:38.6% L1:39.7% BI:21.8%
x264 [info]: 8x8 transform intra:50.8% inter:20.4%
x264 [info]: direct mvs spatial:99.0% temporal:1.0%
x264 [info]: coded y,uvDC,uvAC intra: 86.9% 75.1% 73.0% inter: 37.7% 29.1% 21.4%
x264 [info]: i16 v,h,dc,p: 45% 12% 26% 17%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 19% 28% 6% 5% 5% 6% 6% 9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 16% 11% 9% 11% 10% 10% 9% 11%
x264 [info]: Weighted P-Frames: Y:4.5%
x264 [info]: ref P L0: 75.8% 14.9% 8.5% 0.8% 0.0%
x264 [info]: ref B L0: 94.9% 5.1%
x264 [info]: ref B L1: 95.7% 4.3%
x264 [info]: kb/s:27492.48
encoded 163050 frames, 3.59 fps, 27492.48 kb/s
Bitrate is too high. I'm muxing now, but i'm almost sure that i'm screwed, and result will be too big to fit on BD-R...
I'll redo the encoding this night (fortunately, i've just received my i7@980 yesterday...), removing only --non-deterministic to see if it's the guilty...
BTW, is it normal to have bitrate over the expected, and with a so big difference ?:confused: