public class MediaFormatStrategyPresets
extends java.lang.Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static int |
AUDIO_BITRATE_AS_IS |
static int |
AUDIO_CHANNELS_AS_IS |
static MediaFormatStrategy |
EXPORT_PRESET_960x540
非推奨です。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static MediaFormatStrategy |
createAndroid720pStrategy()
Preset based on Nexus 4 camera recording with 720p quality.
|
static MediaFormatStrategy |
createAndroid720pStrategy(int bitrate)
Preset based on Nexus 4 camera recording with 720p quality.
|
static MediaFormatStrategy |
createAndroid720pStrategy(int bitrate,
int audioBitrate,
int audioChannels)
Preset based on Nexus 4 camera recording with 720p quality.
|
static MediaFormatStrategy |
createExportPreset960x540Strategy()
Preset similar to iOS SDK's AVAssetExportPreset960x540.
|
public static final int AUDIO_BITRATE_AS_IS
public static final int AUDIO_CHANNELS_AS_IS
@Deprecated public static final MediaFormatStrategy EXPORT_PRESET_960x540
createExportPreset960x540Strategy().public static MediaFormatStrategy createAndroid720pStrategy()
createAndroid720pStrategy(int) to specify bitrate.public static MediaFormatStrategy createAndroid720pStrategy(int bitrate)
bitrate - Preferred bitrate for video encoding.public static MediaFormatStrategy createAndroid720pStrategy(int bitrate, int audioBitrate, int audioChannels)
bitrate - Preferred bitrate for video encoding.audioBitrate - Preferred bitrate for audio encoding.audioChannels - Output audio channels.public static MediaFormatStrategy createExportPreset960x540Strategy()