Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

how to compress a video?

Asked by Sivakumaran Chandrasekaran on 3 Mar 2013

how to compress a video? i converted the video to frames. My next procedure is to reduce the frames and then to compress it. How to achieve those?

[Merged from duplicate]

my problem with video compression. assume we have 100 images, how can we compress and regenerate video from those images using matlab code.

your ideas will help me so much in my research.

4 Comments

Walter Roberson on 3 Mar 2013

Are you trying to write the video compression code yourself, or are you trying to use one of the routines that convert frames to a video file, and which have compression built in?

I am trying to use one of the routines that convert frames to a video file, and which have compression built in..

shashi on 18 Jun 2013

Hi ..... I need a solution on how to compress the Video+ noise -> reconstructing Video -> Video Recovery as Original ....

Sivakumaran Chandrasekaran

1 Answer

Answer by Youssef KHMOU on 3 Mar 2013
Edited by Youssef KHMOU on 3 Mar 2013
Accepted answer

hi,

If you already use "avifile" , then look at its properties :

On Windows: 'Indeo3''Indeo5''Cinepak''MSVC''RLE''None'

6 Comments

I used compression. now all videos memory turned as 0kb.. (zero kb). How to solve this?

Youssef KHMOU on 3 Mar 2013

i do not understand how that 0kb happend, but for the first question , when you finish adding frames just type " file01" as name of avifile , i am sure there is a parameter that will indicate the ratio or % of compression, you will find it in " Automatically updated parameters:" section .

Youssef  KHMOU

Contact us