Thank you, thank you so much!!! I'm using Matlab R2013b, and the function works perfectly, it does exactly what it is supposed to do. Took me some time to know how to use it properly,but I guess that I was overjoyed when I found this function that I didnt read carefully the description. :p :p I had no other choice but to use a goto function. Thank you again :D
10 Mar 2014
write AVI/ASF/WMV/WMA file from movies read by mmread
It works ok but there is a hitch. When I changed the audio (from an array) and called mmwrite to write the video, it changed the audio values. I used the values 1:10240 as audio and attempted to write them to a video file. It wrote the video frames but the audio was completely different.