[x264-devel] bug report: MB-tree frametype x doesn't match actual frametype y.

BugMaster BugMaster at narod.ru
Thu Jun 8 09:19:26 CEST 2017


On Thu, 08 Jun 2017 08:40:51 +0200, M. S. wrote:
> Hi, this is a bug report for x264. If this is the wrong place to post 
> it, then please ignore it and point me to the right location. Thanks!

> When I do 2-pass DVD recodes with x264, I often encounter this error: 
> x264 aborts the second pass at the beginning and reports that "MB-tree
> frametype (whatever number) doesn't match actual frametype (whatever 
> number)". You find more info on a recent case below, together with the
> AviSynth and MS-DOS (actually Win XP SP3) scripts used.

> Obviously the two passes produce different frametypes at locations where
> they should be identical. I have no idea why. But I found a similar bug
> report for x265, which led me to this link:
> https://patches.videolan.org/patch/14453/
> Maybe this is the or a related source of the problem, but as I said, 
> this is beyond my knowledge. I tried several versions of x264 (r2345, 
> r2579, r2762) but it seems to depend on the source video.

> By the way, I was unable to try r2833, because it terminates at the 
> beginning  of pass 1 (when the "status line" comes up: "Encoding frame x
> of y...") without leaving any error message. Maybe this version is no 
> longer compatible with old software like Win XP SP3 & Co.?

What CPU you use?

> Best regards, Mike


> Here you have
> - the error message:
> --------------------------------------------------
> C:\_ia\v\dvds\start "dummywindow" /b /low /wait 
> C:\Portable\x264\2762\x264.exe --bitrate 879 --preset slower --profile
> high --tune film --bluray-compat --vbv-maxrate 15000 --vbv-bufsize 15000
> --level 3.1 --keyint 50 --fake-interlaced --pic-struct --colorprim 
> "bt470bg" --transfer "bt470bg" --colormatrix "bt470bg" --fps 25.0 --sar
> 16:11 --pass 2 -o C:\_ia\v\dvds\dvds.264 C:\_ia\v\dvds\dvds.avs
> avs [ifo]: 720x428p 16:11 @ 25/1 fps (cfr)
> x264 [info]: using SAR=16/11
> x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowCTZ
> SlowAtom SlowPshufb
> x264 [info]: profile High, level 3.1
> x264 [error]: MB-tree frametype 237 doesn't match actual frametype 0.
> x264 [error]: x264_encoder_encode failed

> aborted at input frame 2, output frame 0
> --------------------------------------------------

Problem here is not different frametypes between passes but because
something broken mbtree stats file or it is incorrect reading of
mbtree stats file because frametype 237 is out of range for frametypes.

Have you overcloked your system?



More information about the x264-devel mailing list