acdarc
13th January 2010, 20:06
Hi,
I have a 14G raw vid captured with Fraps, and I packed it with x264 2-pass.
I ran:
x264.exe --pass 1 --bitrate 1500 -o outfile_p1.mp4 video.avs
x264.exe --pass 2 --bitrate 1500 -o outfile_p2.mp4 video.avs
video.avs consists:
###
AviSource("infile.avi")
ConvertToYV12()
###
The problem is that the 1st pass file is smaller, and _far_ superior in quality. The 2nd pass file first fade-in looks absolutely horrifying. It's full of blocks, tiling etc. And its 3mb's bigger than the 1st pass. In overall quality it's like its ran with 30% of the original bitrate.
What did I do wrong? I didn't mess up the bitrate-settings in the middle etc. Previous videos I've done the same way have been quite fine.
x264 version is: core:78 r1318 fe83a90
This is what the encoding looked like in the command prompt:
###################################
>x264 --pass 1 --bitrate 1500 -o outfile_p1.mp4 video.avs
avis [info]: 960x600 @ 25.00 fps (15828 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile Main, level 3.1
mp4 [info]: initial delay 1 (scale 25)
x264 [info]: frame I:66 Avg QP:26.73 size: 70478
x264 [info]: frame P:8659 Avg QP:31.04 size: 10921
x264 [info]: frame B:7103 Avg QP:36.05 size: 2350
x264 [info]: consecutive B-frames: 15.6% 70.3% 8.3% 5.9%
x264 [info]: mb I I16..4: 28.0% 0.0% 72.0%
x264 [info]: mb P I16..4: 15.5% 0.0% 0.0% P16..4: 39.9% 0.0% 0.0% 0.0% 0.0% skip:44.6%
x264 [info]: mb B I16..4: 1.6% 0.0% 0.0% B16..8: 14.2% 0.0% 0.0% direct: 5.9% skip:78.3% L0:33.6% L1:50.1% BI:16.3%
x264 [info]: final ratefactor: 28.47
x264 [info]: coded y,uvDC,uvAC intra: 48.8% 53.3% 23.2% inter: 12.7% 11.1% 1.4%
x264 [info]: i16 v,h,dc,p: 20% 35% 26% 19%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 29% 14% 6% 7% 5% 9% 5% 9%
x264 [info]: kb/s:1464.62
encoded 15828 frames, 25.54 fps, 1464.62 kb/s
>x264 --pass 2 --bitrate 1500 -o outfile_p2.mp4 video.avs
avis [info]: 960x600 @ 25.00 fps (15828 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.1
mp4 [info]: initial delay 1 (scale 25)
x264 [info]: frame I:66 Avg QP:26.92 size: 72312
x264 [info]: frame P:8659 Avg QP:31.39 size: 10723
x264 [info]: frame B:7103 Avg QP:36.22 size: 2972
x264 [info]: consecutive B-frames: 15.6% 70.3% 8.3% 5.9%
x264 [info]: mb I I16..4: 13.0% 48.0% 39.0%
x264 [info]: mb P I16..4: 2.5% 7.2% 1.8% P16..4: 27.9% 10.4% 5.3% 0.0% 0.0% skip:45.1%
x264 [info]: mb B I16..4: 0.2% 0.7% 0.1% B16..8: 23.9% 1.1% 1.3% direct: 3.4% skip:69.2% L0:38.2% L1:55.3% BI: 6.5%
x264 [info]: 8x8 transform intra:62.3% inter:66.3%
x264 [info]: coded y,uvDC,uvAC intra: 58.2% 62.3% 27.7% inter: 15.4% 13.1% 1.9%
x264 [info]: i16 v,h,dc,p: 23% 45% 9% 23%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 18% 20% 6% 8% 7% 11% 6% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 26% 17% 6% 8% 6% 9% 5% 7%
x264 [info]: ref P L0: 78.5% 11.9% 9.6%
x264 [info]: ref B L0: 87.9% 12.1%
x264 [info]: kb/s:1500.33
encoded 15828 frames, 20.82 fps, 1500.33 kb/s
###################################
Thank you for any assistance.
I have a 14G raw vid captured with Fraps, and I packed it with x264 2-pass.
I ran:
x264.exe --pass 1 --bitrate 1500 -o outfile_p1.mp4 video.avs
x264.exe --pass 2 --bitrate 1500 -o outfile_p2.mp4 video.avs
video.avs consists:
###
AviSource("infile.avi")
ConvertToYV12()
###
The problem is that the 1st pass file is smaller, and _far_ superior in quality. The 2nd pass file first fade-in looks absolutely horrifying. It's full of blocks, tiling etc. And its 3mb's bigger than the 1st pass. In overall quality it's like its ran with 30% of the original bitrate.
What did I do wrong? I didn't mess up the bitrate-settings in the middle etc. Previous videos I've done the same way have been quite fine.
x264 version is: core:78 r1318 fe83a90
This is what the encoding looked like in the command prompt:
###################################
>x264 --pass 1 --bitrate 1500 -o outfile_p1.mp4 video.avs
avis [info]: 960x600 @ 25.00 fps (15828 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile Main, level 3.1
mp4 [info]: initial delay 1 (scale 25)
x264 [info]: frame I:66 Avg QP:26.73 size: 70478
x264 [info]: frame P:8659 Avg QP:31.04 size: 10921
x264 [info]: frame B:7103 Avg QP:36.05 size: 2350
x264 [info]: consecutive B-frames: 15.6% 70.3% 8.3% 5.9%
x264 [info]: mb I I16..4: 28.0% 0.0% 72.0%
x264 [info]: mb P I16..4: 15.5% 0.0% 0.0% P16..4: 39.9% 0.0% 0.0% 0.0% 0.0% skip:44.6%
x264 [info]: mb B I16..4: 1.6% 0.0% 0.0% B16..8: 14.2% 0.0% 0.0% direct: 5.9% skip:78.3% L0:33.6% L1:50.1% BI:16.3%
x264 [info]: final ratefactor: 28.47
x264 [info]: coded y,uvDC,uvAC intra: 48.8% 53.3% 23.2% inter: 12.7% 11.1% 1.4%
x264 [info]: i16 v,h,dc,p: 20% 35% 26% 19%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 29% 14% 6% 7% 5% 9% 5% 9%
x264 [info]: kb/s:1464.62
encoded 15828 frames, 25.54 fps, 1464.62 kb/s
>x264 --pass 2 --bitrate 1500 -o outfile_p2.mp4 video.avs
avis [info]: 960x600 @ 25.00 fps (15828 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.1
mp4 [info]: initial delay 1 (scale 25)
x264 [info]: frame I:66 Avg QP:26.92 size: 72312
x264 [info]: frame P:8659 Avg QP:31.39 size: 10723
x264 [info]: frame B:7103 Avg QP:36.22 size: 2972
x264 [info]: consecutive B-frames: 15.6% 70.3% 8.3% 5.9%
x264 [info]: mb I I16..4: 13.0% 48.0% 39.0%
x264 [info]: mb P I16..4: 2.5% 7.2% 1.8% P16..4: 27.9% 10.4% 5.3% 0.0% 0.0% skip:45.1%
x264 [info]: mb B I16..4: 0.2% 0.7% 0.1% B16..8: 23.9% 1.1% 1.3% direct: 3.4% skip:69.2% L0:38.2% L1:55.3% BI: 6.5%
x264 [info]: 8x8 transform intra:62.3% inter:66.3%
x264 [info]: coded y,uvDC,uvAC intra: 58.2% 62.3% 27.7% inter: 15.4% 13.1% 1.9%
x264 [info]: i16 v,h,dc,p: 23% 45% 9% 23%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 18% 20% 6% 8% 7% 11% 6% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 26% 17% 6% 8% 6% 9% 5% 7%
x264 [info]: ref P L0: 78.5% 11.9% 9.6%
x264 [info]: ref B L0: 87.9% 12.1%
x264 [info]: kb/s:1500.33
encoded 15828 frames, 20.82 fps, 1500.33 kb/s
###################################
Thank you for any assistance.