What VAAPI Settings Should I use on Linux Mint?

Ryu945

New Member
I will be recording more high action scenes now and not just static frames so I know I need to move it from 30 fps to 60 fps. I am also recording at 1920x1080. I did a test at the following settings.

VAAPI x264 hardware encoded on AMD.
Level: 5
CQP: 16
FrameRate: 30

It records roughly 3.534 GB per hour to a file. If I understand Level correctly, it only acts as a bitrate cap. If this is true then shouldn't I keep Level at its max setting and use CQP to control bit rate as that will probably do it in such a way that doesn't cause glaring graphic errors a forced and dum bit rate cap would cause? In short, what VAAPI settings should I use on Linux Mint?


As for the stream going to servers itself, should I just set Level to highest setting possible and cap the stream at whatever constant bit rate is best?
 
Last edited:

Most levels are quite far above what is streamed on either youtube or twitch; but essentially, yeah, it's an overall 'cap' on the bitrate.

I'm not convinced CQP is a great way to trade off bitrate vs quality.

I'm not exactly sure which video output you're using. Do you mean "FFMPEG VAAPI H.264"? What version of OBS are you using?
 

Ryu945

New Member
Do you mean "FFMPEG VAAPI H.264"?
yes
What version of OBS are you using?
31.1.2 (64 bit) on Linux mint. Debian version. I pulled it from OBS Ubuntu Repository.

I'm not convinced CQP is a great way to trade off bitrate vs quality.
The only other way is to set a bit rate and that can make scenes that need a higher bit rate look bad. The only down side I have found so far is that websites that downgrade the quality of a video (like BitChute) will ignore how optimized the video is already and downgrade its quality further so it becomes so low that it looks terrible.
 
Last edited:
If storage isn't an issue and you want to keep some 'high quality' videos for editing or other production work, then I guess use CQP and set it to a low number (higher quality).

If you want to stream, you'll almost surely need CBR and you'll have to eat whatever the streaming platform does when it transcodes.
 
Top