[x264-devel] x264 crosses video information when numerous encoders running in multiple threads

Måns Rullgård mans at mansr.com
Sun Jan 25 02:05:15 CET 2009

Loren Merritt <lorenm at u.washington.edu> writes:

> On Fri, 23 Jan 2009, anton kropp wrote:
>> Basically I have several video streams coming in from different
>> sources all going to individual x264 encoding threads.  However, on
>> output there are lots of artifcats, and if I pause my saved videos
>> during these artifcats, I can actually see small segments of video's
>> that come from other threads.  I've made sure that I'm not crossing
>> any thread information myself and I am confident that somewhere x264
>> is statically storing information. Has anyone else ever encountered
>> this or have a fix?
> x264 is intended to be reentrant, but as far as I know it's never been 
> tested before. I don't know of any published program that uses multiple 
> instances of x264, let alone from multiple threads.

I used to do crazy things like that a few years ago, and it worked
then.  A lot has changed since, of course.

Måns Rullgård
mans at mansr.com

More information about the x264-devel mailing list