

I kinda doubt you’d be able to write a law that would actually have the effect you’re looking for. In the case of what you just wrote, all YouTube would need to do is write into their ToS that by uploading to their platform you’ve given them explicit permission to alter the video for purposes of storage space or increasing/decreasing quality.
Overly vague laws are never a good thing.