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

BugMaster BugMaster at narod.ru
Thu Jun 8 20:09:45 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.

> ...

> 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
> --------------------------------------------------

Found what the problem was. It appeared only when --fake-interlaced and
 --mbtree was used with some input video heights. Try with attached
 patch or this build: http://rgho.st/8NvT2b25N

> 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.?

Try if the above build works but I didn't make anything special in it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-buffer-overwrite-on-1st-pass-with-fake-interlace.patch
Type: application/octet-stream
Size: 993 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20170608/23265ae9/attachment.obj>


More information about the x264-devel mailing list