>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 :
[...]
>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.
This is a problem with x264 as far as I can tell; I've been getting it for
a few months now. My workaround is to just delete the offending line and
those below it -- in your example, the last three lines:
>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:-;
You'll get a warning about "more frames in pass 2 than pass 1", but since
it only affects those three frames it shouldn't be a big deal.
--Andrew Church
[email protected]
http://achurch.org/