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

Loren Merritt lorenm at u.washington.edu
Sun Jan 25 00:41:16 CET 2009


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.

`nm libx264.a | grep -wi '[bd]'` shows only some tables that are run-time 
initialized but constant thereafter.

--Loren Merritt


More information about the x264-devel mailing list