I’m attempting to losslessly encode video using ffmpeg, using the x265 parameter lossless=1. I pipe the input mp4 in rawvideo format, and pipe it back to std write, so hypothetically the same video with the same RGB values should then be encoded in this output video. However, when I pipe my output video and read each frame’s values, they are oftentimes significantly different. Why is this happening? Is this just a result of the compression even though I’m specifying lossless=1? Sometimes the values can differ significantly, e.g. by .04.