Skip to main content
Source Link

Is CABAC encoding lossy or lossless in ffmpeg?

I've been looking into how to compress a video using ffmpeg when I stumbled across CABAC encoding which I could specify by using the libx264 for the video codec and pairing it with the proper arguments (-x264opts cabac=1), however I know that libx264 is usually used for lossy compression. However, CABAC encoding is listed as a lossless compression technique on Wikipedia. I know I can control the quality of the file by using the -crf tag but I wanted to know if I specified ffmpeg to use cabac, would the output video be compressed lossless or lossy?