H.261 encoding: "-mbd rd" seems to confuse order of MBs in GOBs
|Reported by:||Maik Merten||Owned by:|
|Blocking:||Reproduced by developer:||yes|
|Analyzed by developer:||no|
Summary of the bug:
How to reproduce:
% ffmpeg -i tmp/test.y4m -f h261 -vb 256k -mbd rd /tmp/test.h261 ffmpeg version N-58246-g7d0e927 Copyright (c) 2000-2013 the FFmpeg developers built on Nov 18 2013 17:15:01 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu8)
Specifying the "-mbd rd" option for H.261 encoding results in massively corrupted output (see attached picture). From the looks of it, it appears that the position of macroblocks within a GOB gets messed up.
Intra frames are unaffected.
Bitrate does not get inflated, quite surprisingly. Internal reference stays intact, but failure to create a correct bitstream?