OpenVisualCloud / SVT-HEVC

SVT HEVC encoder. Scalable Video Technology (SVT) is a software-based video coding technology that is highly optimized for Intel® Xeon® processors. Using the open source SVT-HEVC encoder, it is possible to spread video encoding processing across multiple Intel® Xeon® processors to achieve a real advantage of processing efficiency.
Other
519 stars 169 forks source link

Fix output buffer too small issue #449

Closed Austin-Hu closed 4 years ago

Austin-Hu commented 4 years ago

Fixed by allocating the output buffer big enough (for the worst case of 0% compression rate), with the width, height, format, bit depth info of the input YUV samples.

The "side" effect of the change is that more memory will be allocated for the output buffers (typically 162 buffer with the config below):

Signed-off-by: Austin Hu austin.hu@intel.com

Fixes #64 .

intelmark commented 4 years ago

Macro looks good!!

Austin-Hu commented 4 years ago

Also checked the necessary additional memory for the output buffers with VBV option, due to the "side" effect of the PR:

Austin-Hu commented 4 years ago

Replaced by alternative PR #457 .