Info

This question is closed. Reopen it to edit or answer.

Writing a video.

1 view (last 30 days)
Waqas
Waqas on 12 Dec 2011
Closed: MATLAB Answer Bot on 20 Aug 2021
I need help regarding writing a video file. My question is:
I have created a .m file for motion jpeg. Now when I write it using "videowriter" , it by default compresses it. I want a command to write a neutral file with no preset compression along with it. A command that just creates an avi container and i write my own files in it.

Answers (2)

KSSV
KSSV on 12 Dec 2011
Hi Get the frame of plot for every update...and use movie2avi()
Sreenu
  2 Comments
Waqas
Waqas on 12 Dec 2011
Could you please explain it in a bit detailed fashion, as to what "the frame of plot" means?
Bjorn Gustavsson
Bjorn Gustavsson on 12 Dec 2011
Check the documentation of getframe, and movie:
help getframe
help movie

KSSV
KSSV on 15 Dec 2011
Hello
Check the following file in mathworks. Check the file animation in this files. Here I wrote the code for video file. Hope it will be useful.
Files link:
Sreenu
https://sites.google.com/site/kolukulasivasrinivas/

Community Treasure Hunt

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

Start Hunting!