This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

hierarchical B frames or B-pyramid
#1
Hello,
Last year or so I was trying to learn about x264 encoding when I got my new chip, 16thread ryzen 7 3700x.

After a lot of tinkering and reading, source codes forum posts and all, I found something called "b pyramid" and in this website which is no longer available,there was a blog post about it at:
https://www.ramugedia.com/hierarchical-b...-b-pyramid
But to make use of the B Pyramid structure of x264 encoder, GOP length should be multiplies of 2^n like 64 or 128
This trick back then, improved the quality of CBR 6000 stream which I was aiming. Only oddity was using 64 Fps with GOP length of 128

My commandline options for x264 encoder in obs were:
preset=medium x264-params=vbv-bufsize=12000:vbv-maxrate=6000:threads=12:lookahead-threads=1:b-pyramid=strict:bframes=2:opencl=true:sync-lookahead=64:rc-lookahead=32:psy-rd=0.4:aq-strength=0.6:deblock=2,1:trellis=2:filler=1:crf=17

Skipping to present, I was finally able to upgrade the gpu to 3080ti (I upgrade only in 10 years) and now I would like to do the same trick with NVencoder, but FFMPEG doesn'T have too many options, I have tried reading nvencoder header file to get the variables in it but It is not accessible as x264. Unfortunately. Classic nvidia I guess. Most of the stuff I have been trying to add to obs command line option keeps refusing it, and up-to-date variable sheet is nowhere to be found.

Is there a way to tweak gpu encoder to do the same trick? x264 was beautiful with this. I wonder
Thanks
Budget Gamer
Reply


Messages In This Thread
hierarchical B frames or B-pyramid - by BudgetGamer123 - 15.04.2025, 14:42

Forum Jump:


Users browsing this thread: 1 Guest(s)