It's not. Videos are never in linear. SDR videos almost always means Rec 709 which is approximately gamma 2.4, and HDR videos are HLG or PQ. Both of which are very far from linear.
For lossy formats, the similarity function targeted by the encoder matters a whole lot more than the bit distribution of the theoretical transfer function. And yes, video codecs have historically badly mangled darker parts of the image.
For lossy formats, the similarity function targeted by the encoder matters a whole lot more than the bit distribution of the theoretical transfer function. And yes, video codecs have historically badly mangled darker parts of the image.