openh264 icon indicating copy to clipboard operation
openh264 copied to clipboard

Is there any plan for implementing CABAC for entropy encoding in decoder?

Open robelsharma opened this issue 12 years ago • 7 comments

From source code I have seen that you are generating ERROR when you got CABAC on slice header.

 if (pPps->bEntropyCodingModeFlag) {
WelsLog (pLogCtx, WELS_LOG_WARNING, "ParseSliceHeaderSyntaxs(): CABAC in Enhancement layer not supported.");
return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_UNSUPPORTED_CABAC_EL);
}

robelsharma avatar Sep 09 '14 06:09 robelsharma

CABAC may be supported in the future, but it has some problems and issues, and it is not in the latest to-do plans.

huili2 avatar Sep 09 '14 07:09 huili2

I have came across some research paper which indicates better performance with low bit-rate. They says - "The advantages of such an approach are threefold compared to entropy coding using a fixed table of variable length codes (VLC). Image Processing Department, Heinrich-Hertz-Institute"

And their conclusion follows as-

Context-based adaptive binary arithmetic coding is proposed for H.26L. When comparing the new 
entropy coding method with the UVLC of the current H.26L test model, we obtain improvements of up 
to 32% in bit-rate savings. Especially when coding with low and high quantization parameters, 
significant bit-rate savings can be reported. For QCIF-sequences, bit-rate savings are in the range of 
4.5-15% and for CIF-sequences we achieve 5-32% when measuring the overall bit-rate.

Thanks for your prompt response and good luck with future improvement.

robelsharma avatar Sep 09 '14 07:09 robelsharma

Yeah it is agreed that CABAC has better coding efficiency. But it is beyond Baseline profile, so it is not under urgent schedule. Thanks again for your interest in this open source project.

huili2 avatar Sep 09 '14 08:09 huili2

CABAC should now be implemented. The tests in test/api have examples of it working.

ethanhugg avatar Feb 25 '15 18:02 ethanhugg

Thanks to the Collaborators. Is the binary release ready or still it is in development/testing phase?

robelsharma avatar Feb 26 '15 02:02 robelsharma

It's in the 1.3 release, which matches the code in the branch named 'openh264v1.3'.

ethanhugg avatar Feb 26 '15 03:02 ethanhugg

Thanks! I will take it for a run.

robelsharma avatar Feb 26 '15 08:02 robelsharma