Opened 8 years ago
#6299 new enhancement
Add option for filler / nal-hrd cbr to h264_vaapi encoder similar to the libx264 encoder
Reported by: | mmvb | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avcodec |
Version: | git-master | Keywords: | vaapi h264 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
I'm not sure to which extend this is possible with VAAPI, but it would be nice to see an option for adding filler/padding similar to the -nal-hrd cbr and -filler options of the libx264 encoder.
It seems that Intel QSV can already do this using its CBR rate control mode, but QSV is only available on just a few platforms because of the limitations of Intel Media Server Studio (only supports specific CPU series, this is an artificial limitation set by Intel), it's also a complicated process to get it working on Linux if you happen to have a supported CPU.
I want to use this option to create a true constant bitrate encode for RTMP streaming, without using a software encoder like libx264.