h264 lossless coding

I am going to add a late answer to this one after spending all day trying to figure out how to get YUV 4:4:4 pixels into x264. While x264 does accept raw 4:2:0 pixels in a file, it is really quite difficult getting 4:4:4 pixels passed in. With recent versions of ffmpeg, the following works … Read more

Is JPEG lossless when quality is set to 100?

As correctly answered above, using a “typical” JPEG encoder at quality 100 does not give you lossless compression. Lossless JPEG encoding exists, but it’s different in nature and seldom used. I’m just posting to say why quality 100 does not mean lossless. In JPEG compression information is mostly lost during the DCT coefficient quantization step … Read more