[Ffmpeg-devel] Bug in multithreaded h/x264 encoding

Måns Rullgård mru
Sun Jun 19 13:12:10 CEST 2005


Erik Slagter <erik at slagter.name> writes:

> On Sun, 2005-06-19 at 12:12 +0200, M?ns Rullg?rd wrote:
>> Erik Slagter <erik at slagter.name> writes:
>> 
>> > This doesn't work when I specify -threads 2 as well, without it it's
>> > fine:
>> >
>> > ffmpeg -y -i input.vob -aspect 4:3 -g 25 -qscale 6 -bf 2 -coder 1 \
>> >  -ab 64 -async 1 -acodec aac -vcodec h264 -f mp4 output.mp4
>> >
>> > Large parts of the image are completly mangled all of the time. I guess
>> > it can be reproduced with any input.
>> 
>> That's a fairly long command line.  Does the bug still show if you
>> simplify it a bit, such as disable B frames?  Does the x264 command
>> line interface work?
>
> It's gone when the -coder 1 is removed (CABAC iirc).

Does the x264 command line work properly?  I can't imagine how the
lavc wrapper could misbehave with cabac enabled.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list