Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/nadahamdy217/video-compression-using-dct-matlab
- Owner: nadahamdy217
- Created: 2024-08-11T09:23:49.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-11T10:01:51.000Z (5 months ago)
- Last Synced: 2024-11-07T15:35:10.093Z (about 2 months ago)
- Language: MATLAB
- Size: 1.57 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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