An implementation of motion compensation used in video compression.
- The program takes a video as an input (make sure video's filename is correct and in the same folder as the executable).
- Prompts the user to select either whole or block-based frame prediction.
- Calculates the error frames. For block-based frame prediction, Logarithmic Search is used.
- Returns a video with the error frames.
(Note: Installation of Python libraries cv2 and numpy is required.)