VideoWriter.getProfiles
VideoWriter
でサポートされているプロファイルとファイル形式
説明
例
プロファイル情報の取得
使用可能なプロファイルを表示し、'Uncompressed AVI'
プロファイルについての特定の情報を取得します。
VideoWriter
でサポートされるプロファイルを表示します。
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
'Uncompressed AVI'
プロファイルのインデックス番号を取得します。
uncompAVI = find(ismember({profiles.Name},'Uncompressed AVI'));
'Uncompressed AVI'
プロファイルのプロパティを表示します。
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'
プロファイルに関連付けられているファイル拡張子を取得します。
ext = profiles(uncompAVI).FileExtensions
ext = 1x1 cell array
{'.avi'}
出力引数
profiles
— サポートされるプロファイルとビデオ ファイル形式
audiovideo.writer.ProfileInfo
オブジェクトの配列
サポートされるプロファイルとビデオ ファイル形式。次の読み取り専用プロパティをもつ audiovideo.writer.ProfileInfo
オブジェクトの配列として返されます。
プロパティ | 説明 |
---|---|
|
|
| プロファイルの説明を示す文字ベクトル。 |
| そのファイル形式でサポートされているファイル拡張子を含む文字ベクトルの cell 配列。 |
| 各出力ビデオ フレームのカラー チャネル数。 |
| 入力イメージのバイト数と圧縮イメージのバイト数の目標比率を指定する 1 より大きい数字。Motion JPEG 2000 ファイルに関連付けられたオブジェクトにのみ適用。既定の設定: |
| ビデオの再生速度 (1 秒あたりのフレーム数)。既定の設定: |
| 解凍データが入力データと同じになるように、可逆モードを使用するかどうかを指定する boolean 値 (論理 |
| 入力イメージ データの最下位ビットの数 (1 ~ 16)。Motion JPEG 2000 ファイルに関連付けられたオブジェクトにのみ適用されます。 |
| 0 ~ 100 の数値。大きな値はビデオが高画質であり、ファイルサイズが大きいことを示します。 |
| 各出力ビデオ フレームのピクセルあたりのビット数。 |
|
|
|
|
バージョン履歴
R2010b で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)