AMF amfh264enc gop-size
Describe your issue
Expected Behavior
Observed Behavior
Our application using amf and nvcodec, which require the encoder to disable IDR frame generation periodically (by setting gop-size to -1 or 0), and instead call gst_video_event_new_upstream_force_key_unit.
However, for AMFh264enc, when we set AMF_VIDEO_ENCODER_IDR_PERIOD to 0, IDR still be generated every 4sec (~gop-size=200), I Frame did not generated when we call AMF_VIDEO_ENCODER_FORCE_PICTURE_TYPE.
I highly doubt that this issue cause by AMF it self
Setup
- Operating System: Window 10
- Device: Virtual Machine with AMD v520 GPU
- GStreamer Version: 1.22.3
- Command line:
Steps to reproduce the bug
- open terminal
- type
command