public class MediaProperties extends Object
Modifier and Type | Class and Description |
---|---|
class |
MediaProperties.H263Level
The H263 level, the values are same as the one in OMX_Video.h
|
class |
MediaProperties.H263Profile
The H263 profile, the values are same as the one in OMX_Video.h
|
class |
MediaProperties.H264Level
The H264 level, the values are same as the one in OMX_Video.h
|
class |
MediaProperties.H264Profile
The H264 profile, the values are same as the one in OMX_Video.h
|
class |
MediaProperties.MPEG4Level
The mpeg4 level, the values are same as the one in OMX_Video.h
|
class |
MediaProperties.MPEG4Profile
The mpeg4 profile, the values are same as the one in OMX_Video.h
|
Modifier and Type | Field and Description |
---|---|
static int |
ACODEC_AAC_LC |
static int |
ACODEC_AAC_PLUS |
static int |
ACODEC_AMRNB |
static int |
ACODEC_AMRWB |
static int |
ACODEC_ENHANCED_AAC_PLUS |
static int |
ACODEC_EVRC |
static int |
ACODEC_MP3 |
static int |
ACODEC_NO_AUDIO
Audio codec types
|
static int |
ACODEC_OGG |
static int |
ASPECT_RATIO_11_9 |
static int |
ASPECT_RATIO_16_9 |
static int |
ASPECT_RATIO_3_2 |
static int |
ASPECT_RATIO_4_3 |
static int |
ASPECT_RATIO_5_3 |
static int |
ASPECT_RATIO_UNDEFINED
Supported aspect ratios
|
static int |
AUDIO_MAX_TRACK_COUNT
The maximum count of audio tracks supported
|
static int |
AUDIO_MAX_VOLUME_PERCENT
The maximum volume supported (100 means that no amplification is
supported, i.e.
|
static int |
BITRATE_128K |
static int |
BITRATE_192K |
static int |
BITRATE_256K |
static int |
BITRATE_28K
Bitrate values (in bits per second)
|
static int |
BITRATE_2M |
static int |
BITRATE_384K |
static int |
BITRATE_40K |
static int |
BITRATE_512K |
static int |
BITRATE_5M |
static int |
BITRATE_64K |
static int |
BITRATE_800K |
static int |
BITRATE_8M |
static int |
BITRATE_96K |
static int |
DEFAULT_CHANNEL_COUNT |
static int |
DEFAULT_SAMPLING_FREQUENCY |
static int |
FILE_3GP
File format types
|
static int |
FILE_AMR |
static int |
FILE_JPEG |
static int |
FILE_M4V |
static int |
FILE_MP3 |
static int |
FILE_MP4 |
static int |
FILE_PNG |
static int |
FILE_UNSUPPORTED |
static int |
HEIGHT_1080 |
static int |
HEIGHT_144
Supported heights
|
static int |
HEIGHT_288 |
static int |
HEIGHT_360 |
static int |
HEIGHT_480 |
static int |
HEIGHT_720 |
static int |
SAMPLES_PER_FRAME_AAC
Samples per frame for each audio codec
|
static int |
SAMPLES_PER_FRAME_AMRNB |
static int |
SAMPLES_PER_FRAME_AMRWB |
static int |
SAMPLES_PER_FRAME_MP3 |
static int |
UNDEFINED_VIDEO_PROFILE
Undefined video codec profiles
|
static int |
VCODEC_H263
Video codec types
|
static int |
VCODEC_H264 |
static int |
VCODEC_MPEG4 |
Modifier and Type | Method and Description |
---|---|
static int[] |
getAllSupportedAspectRatios() |
static int[] |
getSupportedAudioCodecs() |
static int |
getSupportedAudioTrackCount() |
static int |
getSupportedMaxVolume() |
static Pair<Integer,Integer>[] |
getSupportedResolutions(int aspectRatio)
Get the supported resolutions for the specified aspect ratio.
|
static int[] |
getSupportedVideoBitrates() |
static int[] |
getSupportedVideoCodecs() |
static int[] |
getSupportedVideoFileFormat() |
public static final int HEIGHT_144
public static final int HEIGHT_288
public static final int HEIGHT_360
public static final int HEIGHT_480
public static final int HEIGHT_720
public static final int HEIGHT_1080
public static final int ASPECT_RATIO_UNDEFINED
public static final int ASPECT_RATIO_3_2
public static final int ASPECT_RATIO_16_9
public static final int ASPECT_RATIO_4_3
public static final int ASPECT_RATIO_5_3
public static final int ASPECT_RATIO_11_9
public static final int BITRATE_28K
public static final int BITRATE_40K
public static final int BITRATE_64K
public static final int BITRATE_96K
public static final int BITRATE_128K
public static final int BITRATE_192K
public static final int BITRATE_256K
public static final int BITRATE_384K
public static final int BITRATE_512K
public static final int BITRATE_800K
public static final int BITRATE_2M
public static final int BITRATE_5M
public static final int BITRATE_8M
public static final int VCODEC_H263
public static final int VCODEC_H264
public static final int VCODEC_MPEG4
public static final int ACODEC_NO_AUDIO
public static final int ACODEC_AMRNB
public static final int ACODEC_AAC_LC
public static final int ACODEC_AAC_PLUS
public static final int ACODEC_ENHANCED_AAC_PLUS
public static final int ACODEC_MP3
public static final int ACODEC_EVRC
public static final int ACODEC_AMRWB
public static final int ACODEC_OGG
public static final int SAMPLES_PER_FRAME_AAC
public static final int SAMPLES_PER_FRAME_MP3
public static final int SAMPLES_PER_FRAME_AMRNB
public static final int SAMPLES_PER_FRAME_AMRWB
public static final int DEFAULT_SAMPLING_FREQUENCY
public static final int DEFAULT_CHANNEL_COUNT
public static final int FILE_3GP
public static final int FILE_MP4
public static final int FILE_AMR
public static final int FILE_MP3
public static final int FILE_JPEG
public static final int FILE_PNG
public static final int FILE_M4V
public static final int FILE_UNSUPPORTED
public static final int UNDEFINED_VIDEO_PROFILE
public static final int AUDIO_MAX_TRACK_COUNT
public static final int AUDIO_MAX_VOLUME_PERCENT
public static int[] getAllSupportedAspectRatios()
public static Pair<Integer,Integer>[] getSupportedResolutions(int aspectRatio)
aspectRatio
- The aspect ratio for which the resolutions are
requestedpublic static int[] getSupportedVideoCodecs()
public static int[] getSupportedAudioCodecs()
public static int[] getSupportedVideoFileFormat()
public static int[] getSupportedVideoBitrates()
public static int getSupportedMaxVolume()
public static int getSupportedAudioTrackCount()