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
516 stars 172 forks source link

Encoding hangs with OUT_ALLOC enabled #514

Closed Austin-Hu closed 4 years ago

Austin-Hu commented 4 years ago

It's suggested to renable OUT_ALLOC by reverting PR #494 , some encoding would hang such as:

./SvtHevcEncApp -i bbb_1920x1080_420p.yuv -w 1920 -h 1080 -n 5000 -hierarchical-levels 0

Because randomly POC 278 (279 or 280) could be posted from EntropyCoding kernel, but they couldn't go through (single thread) Packetization which already hangs to dequeue the object from Output FIFO when handling latter pictures (such as POC 405) which may enter Packetization ahead of POC 278.

Austin-Hu commented 4 years ago

So the issue can be also worked around by PR #512 .

tianjunwork commented 4 years ago

Ported from: https://github.com/OpenVisualCloud/SVT-AV1/pull/896/commits/8c9455dceab5d3598184d2aa3623e10fb8ddbf29