what is the key difference between i-frames p-frames and b-frames?
An I‑frame (Intra-coded picture), a complete image, like a JPG or BMP image file. P and B frames hold only part of the image information (the part that changes between frames), so they need less space in the output file than an I‑frame.