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
517 stars 171 forks source link

The range of intra-period #448

Open Holly0521 opened 4 years ago

Holly0521 commented 4 years ago

I want to set the interval of keyframes 300 and set the parameter of "intra-period" to 300. But I receive an error that "The intra period must be [-2 - 255]". I want to know why is the intra period setting [-2 - 255]? Thanks a lot.

tianjunwork commented 4 years ago

Hi @Holly0521 , hongling, with extreme large intra-period memory footprint explodes. Hence intra-period is limited at 255 to be sustainable across all different platform. Please let us know the requirement you have we can fine tune your parameters.

Holly0521 commented 4 years ago

Hi @tianjunwork , thanks for your reply. Because of the frame rate of the source video files is 60 and I want to set the interval of keyframe to 5 seconds. so can you fine tune the parammeter of intra-period's maximum value to 300? Thanks for your reply.

tianjunwork commented 4 years ago

Hi @Holly0521 , if possible could you let us know all the parameters you are going to use?

Holly0521 commented 4 years ago

Hi @tianjunwork , thanks for your reply. I'll use this commond: ./SvtHevcEncApp -encMode 9 -color-format 1 -w 3840 -h 2160 -bit-depth 10 -compressed-ten-bit-format 1 -i 4k-10bit.yuv -profile 2 -tier 1 -level 6.2 -rc 1 -tbr 60000000 -fps 60 -intra-period 300 -b out.bin Thanks a lot.