What does the 'quality' property mean for a VideoWriter Object in MATLAB 8.0 (R2012b)?

41 views (last 30 days)
I am trying to create movies in the AVI file format using a VideoWriter object. The documentation for VideoWriter class in the Properties section, mentions a property named 'quality' for MOTION JPEG AVI files. I would like to understand the significance of the 'quality' property for a VideoWriter object in MATLAB 8.0 (R2012b).

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 29 Oct 2012
The 'quality' property is valid only when a VideoWriter objects is used to create either a MPEG-4 or a MOTION JPEG AVI files.The property is a number between 0 and 100 which translates to video quality and file size. The VIDEOWRITER function internally translates this quality value to a bit-rate value. A quality value of 100 translates to the maximum bit-rate (least compression and hence largest file size) and a quality value of 0 translates to the lowest bit-rate (most compression and hence smallest file size).
Additional information about the VideoWriter class is available at the following link:
<http://www.mathworks.com/help/releases/R2012b/matlab/ref/videowriterclass.html>

More Answers (0)

Products


Release

R2012b

Community Treasure Hunt

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

Start Hunting!