1

Topic: x264 Rate control -> lookahead threads divisor not working properly

Hi,

I need to set x264->main->threads to at least 13 to make Hybrid calculate more than 1 lookahead thread at x264->rate control->lookahead threads.
Description says Hybrid calculates x264 lookahead-threads=threads/4.

Greetz,

mogobime

2

Re: x264 Rate control -> lookahead threads divisor not working properly

Sorry, documentation is off there. Will remove that part.
Thread count calculation nowadays is way more complicated. smile
Divider is selected depending on:
a. the max b-frames
b. whether badapt is used or not
c. the subMe level
an can be between 1 and 12.
Then the x264 threads get's divided by divider and a the end limited by VIDEOHEIGHT/128.
I can post the relevant code if you are interested. smile

Cu Selur

3

Re: x264 Rate control -> lookahead threads divisor not working properly

The tooltip description has some typos now, after you've edited it wink

Lookahead threads:
Defines the number of lookahead threads.
Normally x264 will automatically choose a the lookahead cound threads,

4

Re: x264 Rate control -> lookahead threads divisor not working properly

should be fixed in the next release version,..