Question / Help x264 lookAhead

sandrix

Member
Добрый день, есть ли аргумент для запуска lookAhead для кодера x264? Я могу установить максимальное значение b-кадров, но я также хочу включить lookAhead.
2020-05-02_140829.png
 

sandrix

Member
It doesn't seem to work for me. I got the opinion that lookahead works by default, when the bframes = parameter is turned on
But I could be wrong.
I always get this result with and without teams.
bframes=1 (here is clearly not what it should be)
Assassin's Creed Origins Cinematic Trailer
2020-05-02_172510.png

bframes=1 Cyberpunk 2077 Trailer
2020-05-02_182017.png


and this is the result via nvenc h.264 (new). bframe 1 and lookahead
2020-05-02_180716.png
 

sandrix

Member
I managed to figure it out. I can say with confidence that "lookahead" works by default for x264. 3 b-frames are used. To turn off lookahead, you can use the lookahead_threads = 0 command. I am still testing the most optimal number of b-frames to get the best quality. I can confidently say that no more than 2, the rest of the tests are different.
 
Top