/
Videos in matlab

Videos in matlab

Converting videos in matlab

Some video files are very large, and these can be compressed using good codecs. The "XviD" codec is probably the best one out there; it is based on MPEG-4 (a good compression scheme), is open source, and seems well supported.

Reading the sound can be done with the file-echange "mmread."

One trick is how to combine the audio and video; aviread and wavread can get the video and audio our, and avifile can write the video in the new avi with new codec. The we should use something to combine theme - AVIedit or virtualdub have been suggested.