始めて初めてみる警告

久しぶりにPSPでみるようにエンコードしていたら始めて初めてみる警告が出ていた。そのときのログを示す。

"C:\program files\x264\x264.exe"  --pass 1 --subme 1 --analyse none --me dia -A none \
 -I 300 -i 6 -b 5 -r 2 --b-adapt 2  -B 464 --vbv-maxrate 10000 --vbv-bufsize 10000 \
 --ratetol 32.0  --direct auto -w --merange 32 --mixed-refs --no-dct-decimate \
 --no-fast-pskip --direct-8x8 -1  --level 3 --thread-input  --threads 3 \
 --non-deterministic --aud --nal-hrd  --output NUL "h:\temp\A.avi.tmp\A.avi_tmp.2.avs" 
avis [info]: 480x272 @ 29.97 fps (2162 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast
x264 [info]: profile Main, level 3.0
x264 [info]: slice I:31    Avg QP:22.39  size:  6756  PSNR Mean Y:45.57 U:48.32 V:47.94 Avg:45.93 Global:44.17
x264 [info]: slice P:1463  Avg QP:23.05  size:  2769  PSNR Mean Y:42.34 U:45.84 V:45.47 Avg:43.08 Global:41.06
x264 [info]: slice B:668   Avg QP:27.73  size:   684  PSNR Mean Y:39.46 U:43.70 V:43.53 Avg:40.38 Global:38.59
x264 [info]: consecutive B-frames: 45.3% 33.5% 16.9%  2.8%  0.9%  0.6%
x264 [info]: mb I  I16..4: 51.0%  0.0% 49.0%
x264 [info]: mb P  I16..4: 33.1%  0.0%  0.0%  P16..4: 52.7%  0.0%  0.0%  0.0%  0.0%    skip:14.2%
x264 [info]: mb B  I16..4:  2.6%  0.0%  0.0%  B16..8: 16.2%  0.0%  0.0%  direct: 7.9%  skip:73.2%  L0:39.3% L1:50.1% BI:10.6%
x264 [info]: final ratefactor: 27.17
x264 [info]: direct mvs  spatial:99.1%  temporal:0.9%
x264 [info]: ref P L0  86.3% 13.7%
x264 [info]: SSIM Mean Y:0.9831483
x264 [info]: PSNR Mean Y:41.493 U:45.218 V:44.906 Avg:42.288 Global:40.164 kb/s:523.16

encoded 2162 frames, 63.56 fps, 528.24 kb/s
"C:\program files\x264\x264.exe"  --pass 2  --subme 9 --trellis 2 \
 --analyse p8x8,b8x8,i4x4 --me tesa -I 300 -i 6 -b 5 -r 2 --b-adapt 2  -B 464 \
 --vbv-maxrate 10000 --vbv-bufsize 10000 --ratetol 32.0  --direct auto -w \
 --merange 32 --mixed-refs --no-dct-decimate --no-fast-pskip --direct-8x8 -1  \
 --level 3 --thread-input  --threads 3 --non-deterministic --aud --nal-hrd \
 --output "tmp.video.mp4" "h:\temp\A.avi.tmp\A.avi_tmp.2.avs" 
                                                        
avis [info]: 480x272 @ 29.97 fps (2162 frames)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast
x264 [info]: profile Main, level 3.0
mp4 [info]: initial delay 1001 (scale 30000)
x264 [warning]: internal error (MV out of thread range)
mb type: 7 
mv: l1r0 (0,200) 
limit: 160 
mb_xy: 3,5 
completed: 120 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 18 
mv: l1r0 (0,200) 
limit: 160 
mb_xy: 3,5 
completed: 120 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 7 
mv: l1r0 (0,196) 
limit: 160 
mb_xy: 6,5 
completed: 120 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 7 
mv: l1r0 (15,201) 
limit: 160 
mb_xy: 8,5 
completed: 120 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 7 
mv: l1r0 (5,201) 
limit: 160 
mb_xy: 9,5 
completed: 120 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 7 
mv: l1r0 (5,191) 
limit: 160 
mb_xy: 11,5 
completed: 120 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 7 
mv: l1r0 (5,191) 
limit: 160 
mb_xy: 11,5 
completed: 120 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 7 
mv: l1r0 (88,191) 
limit: 160 
mb_xy: 12,5 
completed: 120 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 7 
mv: l1r0 (88,191) 
limit: 160 
mb_xy: 12,5 
completed: 120 
x264 [warning]: recovering by using intra mode
x264 [info]: slice I:30    Avg QP:22.40  size:  7250  PSNR Mean Y:45.31 U:49.20 V:48.72 Avg:46.07 Global:44.58
x264 [info]: slice P:1466  Avg QP:23.84  size:  2205  PSNR Mean Y:42.49 U:46.87 V:46.43 Avg:43.35 Global:42.41
x264 [info]: slice B:666   Avg QP:26.72  size:   748  PSNR Mean Y:41.32 U:45.62 V:45.48 Avg:42.25 Global:40.91
x264 [info]: consecutive B-frames: 45.5% 33.5% 16.7%  2.8%  0.9%  0.6%
x264 [info]: mb I  I16..4: 47.6%  0.0% 52.4%
x264 [info]: mb P  I16..4:  6.1%  0.0%  6.6%  P16..4: 36.0%  7.4%  5.8%  0.0%  0.0%    skip:38.1%
x264 [info]: mb B  I16..4:  0.8%  0.0%  0.7%  B16..8: 23.9%  1.8%  2.1%  direct: 4.5%  skip:66.2%  L0:37.6% L1:55.2% BI: 7.1%
x264 [info]: direct mvs  spatial:94.4%  temporal:5.6%
x264 [info]: ref P L0  80.1% 19.9%
x264 [info]: SSIM Mean Y:0.9879219
x264 [info]: PSNR Mean Y:42.167 U:46.520 V:46.170 Avg:43.052 Global:41.908 kb/s:437.80

encoded 2162 frames, 14.49 fps, 442.89 kb/s

オプションがいい加減なのはPSP用の変換バッチを作ったときからかなり立った経ったのでその間にx264側に変更があり、そのテストも兼ねていたから。で、警告が出たと。"thread range"というからにはthread分割の影響なのだろう。いつもに比べると元データの画素数が圧倒的に少ないから出たのだろうか。とすると"--threads"を減らしてやれば出なくなったりするのか。

まあ警告なので出来たものは正常に再生できたが、影響が気になる。1pass目に比べて2pass目はIとBが減ってPが増えているのが影響の一端だろう。にしてもIntraなのにIが減るとはどういうこと?Iが減ったのは別の要因か?