H.264 encoder does not encode specific resolution such as 240x180, 240x178 and etc

Hi, I have tried H.264 encode with resolution size 240x180. but it does not work. As my test result, following resolutions are not encoded.
240x178
240x180
240x182
240x184
240x190
240x192

$ ./video_encode h264.yuv 240 180 H264 out.h264
Creating Encoder in blocking mode 
Opening in BLOCKING MODE 
NvMMLiteOpen : Block : BlockType = 4 
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4 
875967048
842091865
H264: Profile = 66, Level = 51 
NVMEDIA: Need to set EMC bandwidth : 126000 
NVMEDIA_ENC: bBlitMode is set to TRUE 

Could you please check it? Thanks.

Hi,
We are checking if the resolution is lower than capability of hardware encoder. Will update.

Hi,
Please set level to 5.0 and try again:

$ ./video_encode /home/nvidia/a.yuv 240 178 H264 /home/nvidia/a.264 -l 5.0

Thank you for your comment. This issue does not occur with level 5.0. This solution is enough for us. Thanks.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.