[x264-devel] recovering by using intra mode on many threads

Jason Garrett-Glaser darkshikari at gmail.com
Wed Apr 16 19:14:01 CEST 2008


>  I'm using a recent snapshot of your sensational x264 encoder
>  (x264-snapshot-20080403-2245), and to keep a quad core optimally busy I need
>  to use more than 4 threads (8 seems about optimal). Unfortunately that ends
>  up giving me lots of errors like this:

This error previously would have caused a crash; my recent commit
changes this to have it swap to intra mode instead, which costs a few
bits but lets x264 continue encoding without error.  However, in
reality, its just coverup for what appears to be a bug in B-Direct and
B-Skip motion vector handling in threaded mode.

>  mb type: 18
>  mv: l1r0 (0,116)
>  limit: 96
>  mb_xy: 34,4
>  completed: 88
>  x264 [warning]: recovering by using intra mode
>  x264 [warning]: internal error (MV out of thread range)
>  mb type: 7
>  mv: l1r0 (0,117)
>  limit: 96
>  mb_xy: 35,4
>  completed: 88
>  x264 [warning]: recovering by using intra mode
>  x264 [warning]: internal error (MV out of thread range)

If you have an input stream and settings that consistently generates
this error, please post it somewhere (Mediafire/Rapidshare/etc); we
could potentially use this to debug the actual problem and eliminate
it.

Dark Shikari


More information about the x264-devel mailing list