Since YouTube re-encodes whatever you upload to it, it will apply some filters to your video to make it fit. The PNGs come as non-subsampled 4:4:4 images, with an RGB 24-bit color space. H.264 video is usually encoded in a different color space, namely YUV.