VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Anonymous543
    Guest
    CAVLC vs CABAC which gives better compression and better video quality?
    Quote Quote  
  2. Originally Posted by kirito View Post
    CAVLC vs CABAC which gives better compression and better video quality?
    CABAC provide higher efficiency for entropy coding at a cost of increased computational complexity.
    Usually CAVLC in not used unless you need to have special functionality (for example your decoder underperform for CABAC)
    Quote Quote  
  3. Anonymous543
    Guest
    So CABAC will give better video quality compared to CAVLC in same bitrate?
    Quote Quote  
  4. Originally Posted by kirito View Post
    So CABAC will give better video quality compared to CAVLC in same bitrate?
    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.
    Quote Quote  
  5. Anonymous543
    Guest
    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?
    Quote Quote  
  6. Originally Posted by kirito View Post
    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.
    Quote Quote  
  7. Anonymous543
    Guest
    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?
    Quote Quote  
  8. Originally Posted by kirito View Post
    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
    Quote Quote  
  9. Anonymous543
    Guest
    I was just curious^^
    btw thanks ✨
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!