Hi, sorry to boher again with my stuff. :-| Sometimes, when transcoding vobs to h264 m4v files with the new "encode" way, the first pass seems to work well :
encode_x264.so] set display aspect ratio to input [encode_x264.so] using SAR=1/1 [encode_x264.so] using cpu capabilities: MMX2 SSE2 [encode_x264.so] profile High, level 3.0 [iodir.c] warning: left out 1 directory entries3:17, ( 0| 8| 9) [encode_x264.so] slice I:583 Avg QP:25.06 size: 31980 PSNR Mean Y:39.02 U:42.46 V:45.31 Avg:40.04 Global:39.34 [encode_x264.so] slice P:40866 Avg QP:27.39 size: 13708 PSNR Mean Y:36.59 U:40.80 V:44.37 Avg:37.76 Global:36.97 [encode_x264.so] slice B:40070 Avg QP:29.18 size: 4357 PSNR Mean Y:35.34 U:40.72 V:44.20 Avg:36.63 Global:35.81 [encode_x264.so] consecutive B-frames: 13.5% 53.9% 22.6% 9.9% [encode_x264.so] mb I I16..4: 10.3% 48.8% 41.0% [encode_x264.so] mb P I16..4: 7.1% 24.5% 4.2% P16..4: 40.8% 14.3% 3.9% 0.3% 0.0% skip: 4.9% [encode_x264.so] mb B I16..4: 1.5% 0.0% 0.0% B16..8: 23.3% 1.5% 0.8% direct:32.2% skip:40.7% L0:31.5% L1:50.6% BI:17.8% [encode_x264.so] final ratefactor: 25.92 [encode_x264.so] 8x8 transform intra:65.1% inter:50.4% [encode_x264.so] SSIM Mean Y:0.9043194 [encode_x264.so] PSNR Mean Y:35.995 U:40.773 V:44.292 Avg:37.224 Global:36.373 kb/s:1848.41 [transcode] encoded 81523 frames (2 dropped, 0 cloned), clip length 3260.92 s but the second pass fails almost immediately with the following error : [encode_x264.so] using cpu capabilities: MMX2 SSE2 [encode_x264.so] critical: bad frame number (81519) at stats line 81516 [encode_x264.so] critical: x264_encoder_open() returned NULL - sorry. [encoder.c] critical: video export module error: init failed [transcode] critical: failed to init encoder The last line of the logs look like this : in:81512 out:81514 type:b q:12.17 tex:100 mv:17 misc:211 imb:0 pmb:9 smb:1443 d:-; in:81514 out:81515 type:b q:12.27 tex:243 mv:23 misc:262 imb:0 pmb:20 smb:1432 d:-; in:81519 out:81516 type:P q:10.00 tex:398 mv:191 misc:307 imb:27 pmb:2 smb:1423 d:-; in:81517 out:81517 type:B q:11.14 tex:236 mv:26 misc:258 imb:0 pmb:20 smb:1432 d:-; in:81516 out:81518 type:b q:12.17 tex:100 mv:17 misc:211 imb:0 pmb:9 smb:1443 d:-; Is that something that depends on transcode or something that should be reported to the x264 team? The source are standard PAL documentary DVD in 4:3 ratio. Best regards, Richard