Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out NVENC CBR GStreamer parameters #3

Open
raspi opened this issue Jan 19, 2021 · 3 comments
Open

Figure out NVENC CBR GStreamer parameters #3

raspi opened this issue Jan 19, 2021 · 3 comments

Comments

@raspi
Copy link
Owner Author

raspi commented Jan 22, 2021

GStreamer nvh264enc:

Property Description
aq-strength Adaptive Quantization Strength when spatial-aq is enabled from 1 (low) to 15 (aggressive), (0 = autoselect)
aud Use AU (Access Unit) delimiter
b-adapt Enable adaptive B-frame insert when lookahead is enabled
bframes Number of B-frames between I and P
bitrate Bitrate in kbit/sec (0 = from NVENC preset)
const-quality Target Constant Quality level for VBR mode (0 = automatic)
cuda-device-id Get the GPU device to use for operations
gop-size Number of frames between intra frames (-1 = infinite)
i-adapt Enable adaptive I-frame insert when lookahead is enabled
max-bitrate Maximum Bitrate in kbit/sec (ignored for CBR mode)
min-force-key-unit-interval Minimum interval between force-keyunit requests in nanoseconds
name The name of the object
nonref-p Automatic insertion of non-reference P-frames
parent The parent of the object
preset Encoding Preset
qos Handle Quality-of-Service events from downstream
qp-const Constant quantizer (-1 = from NVENC preset)
qp-const-b Constant QP value for B frame, When >= 0, "qp-const-i" and "qp-const-p" should be also >= 0. Overwritten by "qp-const" (-1 = from NVENC preset)
qp-const-i Constant QP value for I frame, When >= 0, "qp-const-p" and "qp-const-b" should be also >= 0. Overwritten by "qp-const" (-1 = from NVENC preset)
qp-const-p Constant QP value for P frame, When >= 0, "qp-const-i" and "qp-const-b" should be also >= 0. Overwritten by "qp-const" (-1 = from NVENC preset)
qp-max Maximum quantizer (-1 = from NVENC preset)
qp-max-b Maximum QP value for B frame, When >= 0, "qp-max-i" and "qp-max-p" should be also >= 0. Overwritten by "qp-max" (-1 = from NVENC preset)
qp-max-i Maximum QP value for I frame, When >= 0, "qp-max-p" and "qp-max-b" should be also >= 0. Overwritten by "qp-max" (-1 = from NVENC preset)
qp-max-p Maximum QP value for P frame, When >= 0, "qp-max-i" and "qp-max-b" should be also >= 0. Overwritten by "qp-max" (-1 = from NVENC preset)
qp-min Minimum quantizer (-1 = from NVENC preset)
qp-min-b Minimum QP value for B frame, When >= 0, "qp-min-i" and "qp-min-p" should be also >= 0. Overwritten by "qp-min" (-1 = from NVENC preset)
qp-min-i Minimum QP value for I frame, When >= 0, "qp-min-p" and "qp-min-b" should be also >= 0. Overwritten by "qp-min" (-1 = from NVENC preset)
qp-min-p Minimum QP value for P frame, When >= 0, "qp-min-i" and "qp-min-b" should be also >= 0. Overwritten by "qp-min" (-1 = from NVENC preset)
rc-lookahead Number of frames for frame type lookahead
rc-mode Rate Control Mode
spatial-aq Spatial Adaptive Quantization
strict-gop Minimize GOP-to-GOP rate fluctuations
temporal-aq Temporal Adaptive Quantization
vbv-buffer-size VBV(HRD) Buffer Size in kbits (0 = NVENC default)
weighted-pred Weighted Prediction
zerolatency Zero latency operation (no reordering delay)

@raspi
Copy link
Owner Author

raspi commented Jan 22, 2021

Not needed:

  • cuda-device-id
  • name
  • parent

@raspi
Copy link
Owner Author

raspi commented Jan 22, 2021

Starting point:

nvh264enc aq-strength=??? aud=??? b-adapt=??? bframes=??? bitrate=??? const-quality=??? gop-size=??? i-adapt=??? max-bitrate=??? min-force-key-unit-interval=??? nonref-p=??? preset=??? qos=??? qp-const=??? qp-const-b=??? qp-const-i=??? qp-const-p=??? qp-max=??? qp-max-b=??? qp-max-i=??? qp-max-p=??? qp-min=??? qp-min-b=??? qp-min-i=??? qp-min-p=??? rc-lookahead=??? rc-mode=??? spatial-aq=??? strict-gop=??? temporal-aq=??? vbv-buffer-size=??? weighted-pred=??? zerolatency=???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant