Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
2904 Discussions

What's the maximum compression ratio for h264 and h265 encoding now?

yu__luo
Beginner
311 Views

Well, in my situation, my encoding configuration is:

resolution=3840x2160

target bitrate=500kbps

fps=30

codec=h264

RC mode=CBR

And the real encoded bitrate is 4000kbps. And I found some sentences in this forum that said the limit of the compression ratio is 500x.

I can understand the real bitrate is mismatched now. But I want to make sure that the limit of the compression ratio is still 500x? Is h265 encoding the same?

BTW, there is a parameter named BitrateLimit in CodingOptionValue. I tried to set it to false, and nothing changed.

 

0 Kudos
1 Solution
Dmitry_E_Intel
Employee
311 Views

For AVC case, min bitrate logic is here: https://github.com/Intel-Media-SDK/MediaSDK/blob/master/_studio/mfx_lib/shared/src/mfx_h264_enc_common_hw.cpp#L3504

Are you sure you turned off BitrateLimit? I mean did you set BitrateLimit=MFX_CODINGOPTION_OFF (not "=false")?

As for HEVC, I don't think MediaSDK has similar limit logic.

BTW, you always can get internal (actual) MSDK parameters by GetVideoParam function and check if MSDK made any tuning to initialization parameters.   

 

View solution in original post

1 Reply
Dmitry_E_Intel
Employee
312 Views

For AVC case, min bitrate logic is here: https://github.com/Intel-Media-SDK/MediaSDK/blob/master/_studio/mfx_lib/shared/src/mfx_h264_enc_common_hw.cpp#L3504

Are you sure you turned off BitrateLimit? I mean did you set BitrateLimit=MFX_CODINGOPTION_OFF (not "=false")?

As for HEVC, I don't think MediaSDK has similar limit logic.

BTW, you always can get internal (actual) MSDK parameters by GetVideoParam function and check if MSDK made any tuning to initialization parameters.   

 

View solution in original post

Reply