I am using the Matlab object vision.VideoFileWriter to create a movie in avi format. The default value of the movie size is 720 x 480 pixels. I would like to create a larger movie-can this be done?

1 view (last 30 days)
Currently I create a movie in .avi format with a size of 720 x 480. However I need to larger size because of all the text I am writing on the side of the movie. I do not see any argument or method belong to the object to change the default 720 x 480 size. Is there any way I can do this?

Accepted Answer

Guillaume
Guillaume on 16 Oct 2018
The size of the video is the size of the images you pass to VideoFileWriter, there is no default. If you want a different video size simply give it images of a different size. Note that all frames must have the same size or you'll get an error.

More Answers (0)

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!