Skip to content

This project delves into the realm of advanced multimedia processing, with a particular focus on video data. Leveraging the power of Python, I have implemented motion compensation techniques, which are fundamental to video compression and transmission standards.

License

Notifications You must be signed in to change notification settings

dmatsanganis/Multimedia_Systems_Motion_Compensation_Techniques_in_Video_Processing

Repository files navigation

Multimedia Systems: Motion Compensation Techniques in Video Processing

Introduction

This project implements motion compensation techniques for video processing. The goal is to study how these techniques influence prediction errors.

Overview

The project is divided into two main parts:

  1. Full Frame Prediction: In the first part, we assume that we want to predict whole P-frames, not in segments. The prediction of each entire frame is based on the previous frame. We implement a procedure that takes two frames as input, calculates their difference, and returns an error frame. We do not calculate a motion vector. The error frames are displayed, and the information content of the error frame should be less compared to the frames.

  2. Motion Prediction Technique: In the second part, we implement a motion prediction technique, which calculates motion vectors per block. Each block has the typical MPEG size of 16 × 16. We implement a function that takes two frames as input: a reference frame, which is used to search for motion vectors, and a target frame, which will be predicted. The target frame is divided into macroblocks of size 16 × 16. If the width and height of the frame are not multiples of 16, the frame is appropriately filled with black pixels. For each block in the target frame, we refer to the corresponding position in the reference frame and find the area that gives the best match.

All calculations are performed using Python.

showcase

Contributors

Python

About

This project delves into the realm of advanced multimedia processing, with a particular focus on video data. Leveraging the power of Python, I have implemented motion compensation techniques, which are fundamental to video compression and transmission standards.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages