For example, consider checksums. If a fileformat contains a checksum, then you simply modify the checksum so it matches your random data before passing the file to the application.
As is well known, pure video stream only can be played orderly, and can't be random accessed or played in network. Fileformat is designed to solve these problems.