Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nadahamdy217/video-compression-using-dct-matlab

Apply DCT algorithm (compression) on a 5-second video.
https://github.com/nadahamdy217/video-compression-using-dct-matlab

Last synced: about 4 hours ago
JSON representation

Apply DCT algorithm (compression) on a 5-second video.

Awesome Lists containing this project

README

        

# Video-compression-using-DCT-matlab-
Apply the DCT algorithm to a 5-second video.
I use the DCT algorithm in Matlab and apply the technique to a 5-second video.

The Steps:


1. load a video.

2. write a new video file to load the compressed one.

3. check if the file has frames.

4. read frames.

5. convert the frames into grayscale.

6. apply duct on gray frames.

7. get important coeff for dct to apply them on the frames.

8. recover the pixels using the inverse 2D DCT.

9. Normalize the compressed frame to the range 0-1.

10. write the new file.

NOTE


You will need to change the path of the file in the code if you want to run it =D