Conquerist
9th November 2009, 12:39
My avisynth script consists of this line repeated and concatenated for each image in the source folder.
Dissolve(ImageSource("IMG_2040.jpg",end=5).Spline36Resize(1024,768),BlankClip(6,1024,768,"RGB24").KillAudio(),5)
As I understand it, these linear fades should benefit the most from weightp. Here's my script:
for %%A in (0 1 2) DO (
..\x264.weightp --weightp %%A --bitrate 1500 --pass 1 --preset slow --bframes 8 --ref 8 --tune ssim --ssim "fades.avs" --output NUL
..\x264.weightp --weightp %%A --bitrate 1500 --pass 2 --preset slow --bframes 8 --ref 8 --tune ssim --ssim "fades.avs" --output "weightp.%%A.264"
)
And the results:
WEIGHTP 0
avis [info]: 1024x768 @ 24.00 fps (273 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Main, level 3.1
x264 [info]: frame I:2 Avg QP:27.48 size: 66136
x264 [info]: frame P:80 Avg QP:30.22 size: 22919
x264 [info]: frame B:191 Avg QP:31.43 size: 76
x264 [info]: consecutive B-frames: 14.4% 1.5% 1.1% 1.5% 1.8% 79.7% 0.0% 0.
0% 0.0%
x264 [info]: mb I I16..4: 49.6% 0.0% 50.4%
x264 [info]: mb P I16..4: 96.2% 0.0% 0.0% P16..4: 0.2% 0.0% 0.0% 0.0% 0
.0% skip: 3.6%
x264 [info]: mb B I16..4: 0.4% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct:
0.2% skip:99.3% L0: 8.9% L1:81.3% BI: 9.8%
x264 [info]: final ratefactor: 26.00
x264 [info]: direct mvs spatial:52.4% temporal:47.6%
x264 [info]: coded y,uvDC,uvAC intra: 35.6% 27.2% 13.4% inter: 0.1% 0.1% 0.0%
x264 [info]: i16 v,h,dc,p: 61% 14% 14% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 29% 15% 6% 7% 7% 10% 5% 9%
x264 [info]: SSIM Mean Y:0.9611572
x264 [info]: kb/s:1392.76
encoded 273 frames, 2.08 fps, 1392.76 kb/s
avis [info]: 1024x768 @ 24.00 fps (273 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 4.0
x264 [info]: frame I:2 Avg QP:30.05 size: 52183
x264 [info]: frame P:80 Avg QP:28.61 size: 24588
x264 [info]: frame B:191 Avg QP:28.58 size: 286
x264 [info]: consecutive B-frames: 14.4% 1.5% 1.1% 1.5% 1.8% 79.7% 0.0% 0.
0% 0.0%
x264 [info]: mb I I16..4: 38.8% 37.8% 23.5%
x264 [info]: mb P I16..4: 55.6% 27.5% 11.0% P16..4: 2.1% 0.3% 0.1% 0.0% 0
.0% skip: 3.5%
x264 [info]: mb B I16..4: 0.8% 0.5% 0.1% B16..8: 0.2% 0.0% 0.0% direct:
0.1% skip:98.2% L0:43.9% L1:21.9% BI:34.2%
x264 [info]: 8x8 transform intra:29.6% inter:72.1%
x264 [info]: direct mvs spatial:55.0% temporal:45.0%
x264 [info]: coded y,uvDC,uvAC intra: 36.2% 31.6% 15.9% inter: 0.5% 0.4% 0.0%
x264 [info]: i16 v,h,dc,p: 81% 5% 7% 7%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 22% 26% 5% 6% 6% 6% 6% 8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 26% 12% 5% 7% 7% 6% 6% 8%
x264 [info]: ref P L0: 1.3% 67.8% 5.8% 5.4% 0.8% 8.7% 2.6% 7.6%
x264 [info]: ref B L0: 48.0% 34.5% 6.4% 3.7% 5.0% 0.2% 2.3%
x264 [info]: SSIM Mean Y:0.9711909
x264 [info]: kb/s:1495.20
encoded 273 frames, 1.88 fps, 1495.20 kb/s
WEIGHTP 1
avis [info]: 1024x768 @ 24.00 fps (273 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Main, level 3.1
x264 [info]: frame I:2 Avg QP:27.48 size: 66136
x264 [info]: frame P:80 Avg QP:30.22 size: 22919
x264 [info]: frame B:191 Avg QP:31.43 size: 76
x264 [info]: consecutive B-frames: 14.4% 1.5% 1.1% 1.5% 1.8% 79.7% 0.0% 0.
0% 0.0%
x264 [info]: mb I I16..4: 49.6% 0.0% 50.4%
x264 [info]: mb P I16..4: 96.2% 0.0% 0.0% P16..4: 0.2% 0.0% 0.0% 0.0% 0
.0% skip: 3.6%
x264 [info]: mb B I16..4: 0.4% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct:
0.2% skip:99.3% L0: 8.9% L1:81.3% BI: 9.8%
x264 [info]: final ratefactor: 26.00
x264 [info]: direct mvs spatial:52.4% temporal:47.6%
x264 [info]: coded y,uvDC,uvAC intra: 35.6% 27.2% 13.4% inter: 0.1% 0.1% 0.0%
x264 [info]: i16 v,h,dc,p: 61% 14% 14% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 29% 15% 6% 7% 7% 10% 5% 9%
x264 [info]: SSIM Mean Y:0.9611572
x264 [info]: kb/s:1392.76
encoded 273 frames, 1.89 fps, 1392.76 kb/s
avis [info]: 1024x768 @ 24.00 fps (273 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 4.0
x264 [info]: frame I:2 Avg QP:30.05 size: 52183
x264 [info]: frame P:80 Avg QP:28.60 size: 24588
x264 [info]: frame B:191 Avg QP:28.59 size: 286
x264 [info]: consecutive B-frames: 14.4% 1.5% 1.1% 1.5% 1.8% 79.7% 0.0% 0.
0% 0.0%
x264 [info]: mb I I16..4: 38.8% 37.8% 23.5%
x264 [info]: mb P I16..4: 55.7% 27.5% 10.9% P16..4: 2.0% 0.2% 0.1% 0.0% 0
.0% skip: 3.5%
x264 [info]: mb B I16..4: 0.8% 0.5% 0.1% B16..8: 0.3% 0.0% 0.0% direct:
0.1% skip:98.2% L0:45.3% L1:22.3% BI:32.4%
x264 [info]: 8x8 transform intra:29.7% inter:73.7%
x264 [info]: direct mvs spatial:55.0% temporal:45.0%
x264 [info]: coded y,uvDC,uvAC intra: 36.2% 31.6% 15.9% inter: 0.5% 0.4% 0.0%
x264 [info]: i16 v,h,dc,p: 80% 5% 7% 7%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 22% 26% 5% 6% 6% 6% 6% 9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 26% 12% 5% 7% 7% 6% 6% 8%
x264 [info]: ref P L0: 0.6% 71.6% 0.8% 2.1% 5.0% 0.5% 9.2% 2.5% 7.7%
x264 [info]: ref B L0: 45.6% 36.4% 6.9% 4.3% 4.5% 0.2% 2.1%
x264 [info]: SSIM Mean Y:0.9711826
x264 [info]: kb/s:1495.24
encoded 273 frames, 1.59 fps, 1495.24 kb/s
WEIGHTP 2
avis [info]: 1024x768 @ 24.00 fps (273 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Main, level 3.1
x264 [info]: frame I:2 Avg QP:26.77 size: 81072
x264 [info]: frame P:96 Avg QP:34.31 size: 16358
x264 [info]: frame B:175 Avg QP:36.94 size: 1000
x264 [info]: consecutive B-frames: 8.1% 25.1% 14.4% 17.7% 0.0% 24.4% 10.3% 0.
0% 0.0%
x264 [info]: mb I I16..4: 33.8% 0.0% 66.2%
x264 [info]: mb P I16..4: 91.1% 0.0% 0.0% P16..4: 4.3% 0.0% 0.0% 0.0% 0
.0% skip: 4.6%
x264 [info]: mb B I16..4: 22.2% 0.0% 0.0% B16..8: 1.0% 0.0% 0.0% direct:
0.5% skip:76.3% L0:64.1% L1:31.9% BI: 4.0%
x264 [info]: final ratefactor: 30.23
x264 [info]: direct mvs spatial:98.9% temporal:1.1%
x264 [info]: coded y,uvDC,uvAC intra: 22.3% 19.8% 6.1% inter: 2.0% 2.0% 0.1%
x264 [info]: i16 v,h,dc,p: 54% 22% 14% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 28% 14% 7% 7% 7% 9% 6% 9%
x264 [info]: Weighted P-Frames: Y:0.0%
x264 [info]: SSIM Mean Y:0.9169969
x264 [info]: kb/s:1341.53
encoded 273 frames, 2.00 fps, 1341.53 kb/s
avis [info]: 1024x768 @ 24.00 fps (273 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 4.0
x264 [info]: frame I:2 Avg QP:30.95 size: 46367
x264 [info]: frame P:96 Avg QP:32.87 size: 17927
x264 [info]: frame B:175 Avg QP:34.44 size: 1686
x264 [info]: consecutive B-frames: 8.1% 25.1% 14.4% 17.7% 0.0% 24.4% 10.3% 0.
0% 0.0%
x264 [info]: mb I I16..4: 24.6% 55.1% 20.3%
x264 [info]: mb P I16..4: 26.4% 56.0% 9.4% P16..4: 2.9% 0.6% 0.1% 0.0% 0
.0% skip: 4.6%
x264 [info]: mb B I16..4: 10.0% 5.6% 0.4% B16..8: 1.6% 0.0% 0.0% direct:
2.7% skip:79.6% L0:77.8% L1:20.4% BI: 1.8%
x264 [info]: 8x8 transform intra:54.7% inter:90.0%
x264 [info]: direct mvs spatial:98.3% temporal:1.7%
x264 [info]: coded y,uvDC,uvAC intra: 31.1% 27.2% 8.3% inter: 4.7% 2.3% 0.0%
x264 [info]: i16 v,h,dc,p: 38% 26% 16% 20%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 16% 51% 3% 3% 4% 3% 3% 4%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 27% 16% 5% 6% 6% 5% 5% 6%
x264 [info]: Weighted P-Frames: Y:0.0%
x264 [info]: ref P L0: 15.6% 26.2% 32.9% 9.9% 2.7% 3.2% 3.3% 4.0% 2.1%
x264 [info]: ref B L0: 26.4% 3.3% 8.2% 6.4% 9.3% 4.3% 42.1%
x264 [info]: SSIM Mean Y:0.9459391
x264 [info]: kb/s:1483.12
encoded 273 frames, 1.64 fps, 1483.12 kb/s
Surprisingly the quality was worse, and 0.0% weighted p-frames were used! I know that metrics aren't always a good indication of quality, but the SSIM dropped from 0.9711909 to 0.9459391, and visual quality decreased accordingly.
Dropping --tune ssim from the command line resulted in nearly identical results with and without weightp.
Dissolve(ImageSource("IMG_2040.jpg",end=5).Spline36Resize(1024,768),BlankClip(6,1024,768,"RGB24").KillAudio(),5)
As I understand it, these linear fades should benefit the most from weightp. Here's my script:
for %%A in (0 1 2) DO (
..\x264.weightp --weightp %%A --bitrate 1500 --pass 1 --preset slow --bframes 8 --ref 8 --tune ssim --ssim "fades.avs" --output NUL
..\x264.weightp --weightp %%A --bitrate 1500 --pass 2 --preset slow --bframes 8 --ref 8 --tune ssim --ssim "fades.avs" --output "weightp.%%A.264"
)
And the results:
WEIGHTP 0
avis [info]: 1024x768 @ 24.00 fps (273 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Main, level 3.1
x264 [info]: frame I:2 Avg QP:27.48 size: 66136
x264 [info]: frame P:80 Avg QP:30.22 size: 22919
x264 [info]: frame B:191 Avg QP:31.43 size: 76
x264 [info]: consecutive B-frames: 14.4% 1.5% 1.1% 1.5% 1.8% 79.7% 0.0% 0.
0% 0.0%
x264 [info]: mb I I16..4: 49.6% 0.0% 50.4%
x264 [info]: mb P I16..4: 96.2% 0.0% 0.0% P16..4: 0.2% 0.0% 0.0% 0.0% 0
.0% skip: 3.6%
x264 [info]: mb B I16..4: 0.4% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct:
0.2% skip:99.3% L0: 8.9% L1:81.3% BI: 9.8%
x264 [info]: final ratefactor: 26.00
x264 [info]: direct mvs spatial:52.4% temporal:47.6%
x264 [info]: coded y,uvDC,uvAC intra: 35.6% 27.2% 13.4% inter: 0.1% 0.1% 0.0%
x264 [info]: i16 v,h,dc,p: 61% 14% 14% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 29% 15% 6% 7% 7% 10% 5% 9%
x264 [info]: SSIM Mean Y:0.9611572
x264 [info]: kb/s:1392.76
encoded 273 frames, 2.08 fps, 1392.76 kb/s
avis [info]: 1024x768 @ 24.00 fps (273 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 4.0
x264 [info]: frame I:2 Avg QP:30.05 size: 52183
x264 [info]: frame P:80 Avg QP:28.61 size: 24588
x264 [info]: frame B:191 Avg QP:28.58 size: 286
x264 [info]: consecutive B-frames: 14.4% 1.5% 1.1% 1.5% 1.8% 79.7% 0.0% 0.
0% 0.0%
x264 [info]: mb I I16..4: 38.8% 37.8% 23.5%
x264 [info]: mb P I16..4: 55.6% 27.5% 11.0% P16..4: 2.1% 0.3% 0.1% 0.0% 0
.0% skip: 3.5%
x264 [info]: mb B I16..4: 0.8% 0.5% 0.1% B16..8: 0.2% 0.0% 0.0% direct:
0.1% skip:98.2% L0:43.9% L1:21.9% BI:34.2%
x264 [info]: 8x8 transform intra:29.6% inter:72.1%
x264 [info]: direct mvs spatial:55.0% temporal:45.0%
x264 [info]: coded y,uvDC,uvAC intra: 36.2% 31.6% 15.9% inter: 0.5% 0.4% 0.0%
x264 [info]: i16 v,h,dc,p: 81% 5% 7% 7%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 22% 26% 5% 6% 6% 6% 6% 8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 26% 12% 5% 7% 7% 6% 6% 8%
x264 [info]: ref P L0: 1.3% 67.8% 5.8% 5.4% 0.8% 8.7% 2.6% 7.6%
x264 [info]: ref B L0: 48.0% 34.5% 6.4% 3.7% 5.0% 0.2% 2.3%
x264 [info]: SSIM Mean Y:0.9711909
x264 [info]: kb/s:1495.20
encoded 273 frames, 1.88 fps, 1495.20 kb/s
WEIGHTP 1
avis [info]: 1024x768 @ 24.00 fps (273 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Main, level 3.1
x264 [info]: frame I:2 Avg QP:27.48 size: 66136
x264 [info]: frame P:80 Avg QP:30.22 size: 22919
x264 [info]: frame B:191 Avg QP:31.43 size: 76
x264 [info]: consecutive B-frames: 14.4% 1.5% 1.1% 1.5% 1.8% 79.7% 0.0% 0.
0% 0.0%
x264 [info]: mb I I16..4: 49.6% 0.0% 50.4%
x264 [info]: mb P I16..4: 96.2% 0.0% 0.0% P16..4: 0.2% 0.0% 0.0% 0.0% 0
.0% skip: 3.6%
x264 [info]: mb B I16..4: 0.4% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct:
0.2% skip:99.3% L0: 8.9% L1:81.3% BI: 9.8%
x264 [info]: final ratefactor: 26.00
x264 [info]: direct mvs spatial:52.4% temporal:47.6%
x264 [info]: coded y,uvDC,uvAC intra: 35.6% 27.2% 13.4% inter: 0.1% 0.1% 0.0%
x264 [info]: i16 v,h,dc,p: 61% 14% 14% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 29% 15% 6% 7% 7% 10% 5% 9%
x264 [info]: SSIM Mean Y:0.9611572
x264 [info]: kb/s:1392.76
encoded 273 frames, 1.89 fps, 1392.76 kb/s
avis [info]: 1024x768 @ 24.00 fps (273 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 4.0
x264 [info]: frame I:2 Avg QP:30.05 size: 52183
x264 [info]: frame P:80 Avg QP:28.60 size: 24588
x264 [info]: frame B:191 Avg QP:28.59 size: 286
x264 [info]: consecutive B-frames: 14.4% 1.5% 1.1% 1.5% 1.8% 79.7% 0.0% 0.
0% 0.0%
x264 [info]: mb I I16..4: 38.8% 37.8% 23.5%
x264 [info]: mb P I16..4: 55.7% 27.5% 10.9% P16..4: 2.0% 0.2% 0.1% 0.0% 0
.0% skip: 3.5%
x264 [info]: mb B I16..4: 0.8% 0.5% 0.1% B16..8: 0.3% 0.0% 0.0% direct:
0.1% skip:98.2% L0:45.3% L1:22.3% BI:32.4%
x264 [info]: 8x8 transform intra:29.7% inter:73.7%
x264 [info]: direct mvs spatial:55.0% temporal:45.0%
x264 [info]: coded y,uvDC,uvAC intra: 36.2% 31.6% 15.9% inter: 0.5% 0.4% 0.0%
x264 [info]: i16 v,h,dc,p: 80% 5% 7% 7%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 22% 26% 5% 6% 6% 6% 6% 9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 26% 12% 5% 7% 7% 6% 6% 8%
x264 [info]: ref P L0: 0.6% 71.6% 0.8% 2.1% 5.0% 0.5% 9.2% 2.5% 7.7%
x264 [info]: ref B L0: 45.6% 36.4% 6.9% 4.3% 4.5% 0.2% 2.1%
x264 [info]: SSIM Mean Y:0.9711826
x264 [info]: kb/s:1495.24
encoded 273 frames, 1.59 fps, 1495.24 kb/s
WEIGHTP 2
avis [info]: 1024x768 @ 24.00 fps (273 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Main, level 3.1
x264 [info]: frame I:2 Avg QP:26.77 size: 81072
x264 [info]: frame P:96 Avg QP:34.31 size: 16358
x264 [info]: frame B:175 Avg QP:36.94 size: 1000
x264 [info]: consecutive B-frames: 8.1% 25.1% 14.4% 17.7% 0.0% 24.4% 10.3% 0.
0% 0.0%
x264 [info]: mb I I16..4: 33.8% 0.0% 66.2%
x264 [info]: mb P I16..4: 91.1% 0.0% 0.0% P16..4: 4.3% 0.0% 0.0% 0.0% 0
.0% skip: 4.6%
x264 [info]: mb B I16..4: 22.2% 0.0% 0.0% B16..8: 1.0% 0.0% 0.0% direct:
0.5% skip:76.3% L0:64.1% L1:31.9% BI: 4.0%
x264 [info]: final ratefactor: 30.23
x264 [info]: direct mvs spatial:98.9% temporal:1.1%
x264 [info]: coded y,uvDC,uvAC intra: 22.3% 19.8% 6.1% inter: 2.0% 2.0% 0.1%
x264 [info]: i16 v,h,dc,p: 54% 22% 14% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 28% 14% 7% 7% 7% 9% 6% 9%
x264 [info]: Weighted P-Frames: Y:0.0%
x264 [info]: SSIM Mean Y:0.9169969
x264 [info]: kb/s:1341.53
encoded 273 frames, 2.00 fps, 1341.53 kb/s
avis [info]: 1024x768 @ 24.00 fps (273 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 4.0
x264 [info]: frame I:2 Avg QP:30.95 size: 46367
x264 [info]: frame P:96 Avg QP:32.87 size: 17927
x264 [info]: frame B:175 Avg QP:34.44 size: 1686
x264 [info]: consecutive B-frames: 8.1% 25.1% 14.4% 17.7% 0.0% 24.4% 10.3% 0.
0% 0.0%
x264 [info]: mb I I16..4: 24.6% 55.1% 20.3%
x264 [info]: mb P I16..4: 26.4% 56.0% 9.4% P16..4: 2.9% 0.6% 0.1% 0.0% 0
.0% skip: 4.6%
x264 [info]: mb B I16..4: 10.0% 5.6% 0.4% B16..8: 1.6% 0.0% 0.0% direct:
2.7% skip:79.6% L0:77.8% L1:20.4% BI: 1.8%
x264 [info]: 8x8 transform intra:54.7% inter:90.0%
x264 [info]: direct mvs spatial:98.3% temporal:1.7%
x264 [info]: coded y,uvDC,uvAC intra: 31.1% 27.2% 8.3% inter: 4.7% 2.3% 0.0%
x264 [info]: i16 v,h,dc,p: 38% 26% 16% 20%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 16% 51% 3% 3% 4% 3% 3% 4%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 27% 16% 5% 6% 6% 5% 5% 6%
x264 [info]: Weighted P-Frames: Y:0.0%
x264 [info]: ref P L0: 15.6% 26.2% 32.9% 9.9% 2.7% 3.2% 3.3% 4.0% 2.1%
x264 [info]: ref B L0: 26.4% 3.3% 8.2% 6.4% 9.3% 4.3% 42.1%
x264 [info]: SSIM Mean Y:0.9459391
x264 [info]: kb/s:1483.12
encoded 273 frames, 1.64 fps, 1483.12 kb/s
Surprisingly the quality was worse, and 0.0% weighted p-frames were used! I know that metrics aren't always a good indication of quality, but the SSIM dropped from 0.9711909 to 0.9459391, and visual quality decreased accordingly.
Dropping --tune ssim from the command line resulted in nearly identical results with and without weightp.