The encoding process is similar. The difference being in the parameters used, prediction algorithm, exact processes, etc which are things they have tested to be better for lossless video compression. But whan FFV1 does that H.264 does not do is it encodes the difference between the predicted image and the actual image. The idea being that these differences is very low so this information compresses easily.
Latest Answers