PDA

View Full Version : a question about x264 multi-thread mode


huang_ch
29th November 2006, 08:11
When using --thread 2 to make x264 work as multi-thread mode for performance gain on multi-core platform, but I want to ask how much input threads (which means the thread loading AVISynth to get input frames) will be created? one or two? Thanks.

check
29th November 2006, 11:28
the switches refer to seperate counts. --thread-input will create one more thread, and the thread will handle avisynth input. then the encoder will spawn n threads (where --threads n) that will encode the file.
So if you have --thread-input --threads 2, you end up with three threads in total.

foxyshadis
29th November 2006, 12:07
(Although --threads 2 or more automatically implies --thread-input for a while now.)

You still need to handle multithreading of avisynth separately, if you need that.

huang_ch
29th November 2006, 14:38
Thanks check & foxyshadis for a quick reply. :)