CAVLC vs CABAC which gives better compression and better video quality?
+ Reply to Thread
Results 1 to 9 of 9
-
-
CABAC more efficiently encode video after transformation and lossy compression (modern lossy video codecs are hybrid - some part is lossy and some lossless - CAVLC and CABAC are lossless part) so if you target particular bitrate after video compression then CABAC is able more efficiently encode bits created after lossy part and as such it can deliver lower bitrate when compared to CAVLC or you can get better quality from lossy part because CABAC is more efficient than CAVLC.
Example:
If you familiar with some archiver's like zip then you know that some settings of the archiver can increase compression usually at a cost of the increased compression time - same analogy for CAVLC - this is like zip with good compression vs for example rar with highest compression (CABAC) - zip files are usually bigger than rar but zip is faster. Same principle apply to CAVLC and CABAC. -
Anonymous543Guest
So CABAC compresses video more and, in decompression it will comsume more cpu power etc?
And CAVLC compresses video less but in decompression it will consume less cpu power etc?
Is it right? -
Generally yes - CABAC will compress losslessly data produced by lossy encoder more efficiently than CAVLC so you can expect same quality with lower bitrate or higher quality with same bitrate than video data compressed with CAVLC.
I never do experiment but you can try to compress data with some very efficient archiver such as 7z in ultra settings and same video encoded with CAVLC should compress better than video encoded with CABAC active. -
Anonymous543Guest
Ohh thanks for explaination ,
Suppose I have a raw video of 1MB
I encode that video 2 times
1st output with using CABAC
and
2nd output with using CAVLC
which will give better visual quality?
I think CABAC ,what you say? -
CABAC video may use slightly lower quantizer values and as such should have better quality (with same bitrate as CAVLC).
Why are you asking so much for CABAC vs CAVLC - use CABAC when your decoder support Main or High Profile or use CAVLC if your goal is to create Baseline Profile video. This is more question about target decoder not video quality.
https://en.wikipedia.org/wiki/Advanced_Video_Coding#Feature_support_in_particular_profiles
Similar Threads
-
Convert Baseline@L4.1 to High@L4.1 CABAC YES
By benplace in forum Video ConversionReplies: 3Last Post: 9th Nov 2017, 12:23