Video file container contains data (video and audio). The data is encoded with one of the codecs in the next chapter, but the container doesn't necessarily determine which codec the data is encoded with. For example, .mov containers can contain videos encoded with H.264 or NotchLC or HAP codecs.