system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why does a GIF with the same exact frames as a video file a lot bigger in size (like 4MB mp4 is even a 200MB gif)? Is it something to do with video compression?
gpt
Yes, a gif contains every pixel of every frame. A video format generally contains only the difference between most back to back frames, with a fraction of the frames fully stored. The ratios and how it’s done will vary between formats, but yes it that video formats have better compression.