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 Kommentare

Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran am 3 Mär. 2013
hi walter. can you clarify me this doubt?
Walter Roberson
Walter Roberson am 3 Mär. 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?
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran am 3 Mär. 2013
I am trying to use one of the routines that convert frames to a video file, and which have compression built in..
shashi
shashi am 18 Jun. 2013
Hi ..... I need a solution on how to compress the Video+ noise -> reconstructing Video -> Video Recovery as Original ....

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Youssef  Khmou
Youssef Khmou am 3 Mär. 2013
Bearbeitet: Youssef Khmou am 3 Mär. 2013

0 Stimmen

hi,
If you already use "avifile" , then look at its properties :
On Windows: 'Indeo3''Indeo5''Cinepak''MSVC''RLE''None'

6 Kommentare

Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran am 3 Mär. 2013
i checked those properties in MATLAB help. can you help me for the syntax of it
Youssef  Khmou
Youssef Khmou am 3 Mär. 2013
Suppose you want create an avifile with 'Cinepak' compression codec :
>>file01=avifile('TEST.avi','Compression','CinePak')
The codec choosen must be installed if already not ,
>>get(file01,'Compression');
If CinePak does not work try other available options :
>>file01=set(file01,'Compression','Indeo3')
%.......continue your code here
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran am 3 Mär. 2013
your code works perfectly.. how to justify our answer that the input video has been compressed?
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran am 3 Mär. 2013
I used compression. now all videos memory turned as 0kb.. (zero kb). How to solve this?
Walter Roberson
Walter Roberson am 3 Mär. 2013
Youssef  Khmou
Youssef Khmou am 3 Mär. 2013
Bearbeitet: Youssef Khmou am 3 Mär. 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 .

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

malavika mohan
malavika mohan am 19 Sep. 2017

0 Stimmen

i want coding in video compression any one know plz send coding

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by