Open HeXianrui opened 1 year ago
Auto Created VSMGWL-64056 for further analysis.
hi @HeXianrui , we analyzed the bit stream and encoding commands you provided. We found that the complexity of this content is very high, and it is a scene similar to Gaussian white noise. When -b is set to 1m, the maximum quantization parameter 51 has been used during brc encoding. Even if -b is set smaller, the size of the bitstream will not decrease much, which is expected. This is due to the complexity of the content.
hi @HeXianrui , we analyzed the bit stream and encoding commands you provided. We found that the complexity of this content is very high, and it is a scene similar to Gaussian white noise. When -b is set to 1m, the maximum quantization parameter 51 has been used during brc encoding. Even if -b is set smaller, the size of the bitstream will not decrease much, which is expected. This is due to the complexity of the content.
Hi, @bai-isaac , I got it, Thank you! But I still confused about one question. We tryed brc method with extbrc:on in that encode sample, it successfully controls the output bit rate, but with a few totally black frames in the output file. Could you help analyze it? Thank you very much!
hi @HeXianrui , we analyzed the bit stream and encoding commands you provided. We found that the complexity of this content is very high, and it is a scene similar to Gaussian white noise. When -b is set to 1m, the maximum quantization parameter 51 has been used during brc encoding. Even if -b is set smaller, the size of the bitstream will not decrease much, which is expected. This is due to the complexity of the content.
Hi,@bai-issac, one more important thing is that sample works fine with h264 encoder, no bit rate out of control issue.
hi @HeXianrui could you please share h264 encoder command here? Thanks!
hi @HeXianrui could you please share h264 encoder command here? Thanks!
./sample_encode h264 -gpucopy::on -i ./target.yuv -o ./output.h264 -w 1920 -h 1080 -b 10000 -f 50 -hw -async 1 -u speed -r 1 -g 100
Which component impacted?
Encode
Is it regression? Good in old configuration?
None
What happened?
Thank you very much!
What's the usage scenario when you are seeing the problem?
Playback, Video Analytics
What impacted?
intel media sdk version
/opt/intel/mediasdk/bin/vainfo
libva info: VA-API version 1.12.0 libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_12 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.12 (libva 2.12.0) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.2.3 (008fb3b4) vainfo: Supported profile and entrypoints
os version :5.10.0-1044-oem ubuntu1~20.04
Debug Information
No response
Do you want to contribute a patch to fix the issue?
None