Thankfully it's nothing magical. But are you willing to learn about it or not?
Think about animation, how a program can generate a sequence of a bouncing ball between two key frames. Think about what defines a video. The frames right? From there I can try to imagine.