[x264-devel] Threading/parallel processing question

Jason Garrett-Glaser darkshikari at gmail.com
Wed Jul 14 07:19:55 CEST 2010


On Tue, Jul 13, 2010 at 10:07 PM, tsuraan <tsuraan at gmail.com> wrote:
> If I understand correctly, x264 currently does frame-based
> multithreading, where work on adjacent frames is done in parallel with
> frames being able to do motion vectors on the completed parts of
> previous frames, and the not-yet-completed parts are hopefully not
> relevant.
>
> I was wondering, at least in the case of encoding a completed file to
> h.264 (which I think is probably pretty common), would it be possible
> to do parallel encoding of large chunks of the stream, such as the
> chunks between iframes?

Yes.  This is very, very, very not a new idea.  It can also be done
outside of libx264 -- that is, it's not a feature of the encoder, but
rather a feature of the frontend.

Dark Shikari


More information about the x264-devel mailing list