VideoWriter.getProfiles
Profiles and file formats that VideoWriter supports
Description
Examples
View available profiles and get specific information about the 'Uncompressed AVI' profile.
View profiles that VideoWriter supports.
profiles = VideoWriter.getProfiles()
Summary of installed VideoWriter profiles:
Name Description
---------------- -----------------------------------------------------------------------
Archival Video file compression with JPEG 2000 codec with lossless mode enabled.
Grayscale AVI An AVI file with Grayscale Video Data
Indexed AVI An AVI file with Indexed Video Data
Motion JPEG 2000 Video file compression with JPEG 2000 codec.
Motion JPEG AVI An AVI file with Motion JPEG compression
Uncompressed AVI An AVI file with uncompressed RGB24 video data
Find the index number for the 'Uncompressed AVI' profile.
uncompAVI = find(ismember({profiles.Name},'Uncompressed AVI'));View the properties of the 'Uncompressed AVI' profile.
profiles(uncompAVI)
audiovideo.writer.ProfileInfo
ProfileInfo Properties:
Name: 'Uncompressed AVI'
Description: 'An AVI file with uncompressed RGB24 video data'
FileExtensions: {'.avi'}
ColorChannels: 3
FrameRate: 30
VideoBitsPerPixel: 24
VideoCompressionMethod: 'None'
VideoFormat: 'RGB24'
Methods
Get the file extensions associated with the profile.
ext = profiles(uncompAVI).FileExtensions
ext = 1×1 cell array
{'.avi'}
Output Arguments
Supported profiles and video file formats, returned as an array
of audiovideo.writer.ProfileInfo objects, which
have the following read-only properties.
| Property | Description |
|---|---|
| Character vector indicating the profile name, such as |
| Character vector indicating the description of the profile. |
| Cell array of character vectors containing file extensions supported by the file format. |
| Number of color channels in each output video frame. |
| Number greater than 1 that specifies the target ratio
between the number of bytes in the input image and the number of bytes
in the compressed image. Only applies to objects associated with Motion
JPEG 2000 files. Default: |
| Rate of playback for the video in frames per second.
Default: |
| Boolean value (logical |
| Number of least-significant bits in the input image data, from 1 to 16. Applied only to objects associated with Motion JPEG 2000 files. |
| Number from 0 through 100. Higher values correspond to
higher quality video and larger files. Only applies to objects associated
with the |
| Number of bits per pixel in each output video frame. |
| Character vector indicating the type of video compression,
such as |
| Character vector indicating the MATLAB® representation
of the video format, such as |
Version History
Introduced in R2010b
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)