MeiCam SDK For Android
3.14.0
|
Audio and video file information. More...
Public Member Functions | |
int | getAVFileType () |
Gets the type of file. More... | |
long | getDuration () |
Gets the duration of file. More... | |
int | getVideoCodecProfile (int videoStreamIndex) |
Get the codec profile of the current video stream through the video stream index. More... | |
int | getVideoCodecLevel (int videoStreamIndex) |
Get the codec level of the current video stream through the video stream index. More... | |
long | getDataRate () |
Gets the data rate of the file. More... | |
int | getVideoStreamCount () |
Gets the number of video streams of the file. More... | |
int | getAudioStreamCount () |
Gets the number of audio streams of the file. More... | |
long | getVideoStreamDuration (int videoStreamIndex) |
Get the duration of the current video stream through the video stream index. More... | |
NvsSize | getVideoStreamDimension (int videoStreamIndex) |
Gets the size of the current video stream through the video stream index. More... | |
NvsRational | getVideoStreamPixelAspectRatio (int videoStreamIndex) |
Gets the pixel aspect ratio of the current video stream through the video stream index. More... | |
NvsRational | getVideoStreamFrameRate (int videoStreamIndex) |
Gets the frame rate of the current video stream through the video stream index. More... | |
int | getVideoStreamRotation (int videoStreamIndex) |
Gets the rotation angle type of the current video stream through the video stream index. More... | |
int | getVideoStreamComponentBitCount (int videoStreamIndex) |
Gets the effective number of bits per pixel component of the current video stream through the video stream index. More... | |
int | getVideoStreamCodecType (int videoStreamIndex) |
Gets the video codec type of the current video stream through the video stream index. More... | |
int | getVideoStreamColorTranfer (int videoStreamIndex) |
Gets the video color transfer of the current video stream through the video stream index. More... | |
int | getVideoStreamHDRType (int videoStreamIndex) |
Gets the video HDR type of the current video stream through the video stream index. More... | |
long | getAudioStreamDuration (int audioStreamIndex) |
Gets the duration of the current audio stream through the audio stream index. More... | |
int | getAudioStreamSampleRate (int audioStreamIndex) |
Gets the sampling rate of the current audio stream through the audio stream index. More... | |
int | getAudioStreamChannelCount (int audioStreamIndex) |
Gets the number of channels of the current audio stream through the audio stream index. More... | |
boolean | getAudioStreamCodecSupport (int audioStreamIndex) |
Gets wether the codec of the current audio stream supported through the audio stream index. More... | |
Static Public Attributes | |
file type | |
static final int | AV_FILE_TYPE_UNKNOWN = -1 |
Unknown type. More... | |
static final int | AV_FILE_TYPE_AUDIOVIDEO = 0 |
Video type. More... | |
static final int | AV_FILE_TYPE_AUDIO = 1 |
Audio type. More... | |
static final int | AV_FILE_TYPE_IMAGE = 2 |
Image type. More... | |
Audio and video file information.
Displays information about audio and video files, including the duration of audio and video files, data rate, aspect ratio of pixels, number of audio and video streams, and so on.
|
inline |
Gets the number of channels of the current audio stream through the audio stream index.
audioStreamIndex | Audio stream index |
|
inline |
Gets wether the codec of the current audio stream supported through the audio stream index.
audioStreamIndex | Audio stream index |
|
inline |
Gets the number of audio streams of the file.
|
inline |
Gets the duration of the current audio stream through the audio stream index.
audioStreamIndex | Audio stream index |
|
inline |
Gets the sampling rate of the current audio stream through the audio stream index.
audioStreamIndex | Audio stream index |
|
inline |
Gets the type of file.
|
inline |
Gets the data rate of the file.
|
inline |
Gets the duration of file.
|
inline |
Get the codec level of the current video stream through the video stream index.
videoStreamIndex | Video stream index |
|
inline |
Get the codec profile of the current video stream through the video stream index.
videoStreamIndex | Video stream index |
|
inline |
Gets the video codec type of the current video stream through the video stream index.
videoStreamIndex | vedio stream index |
|
inline |
Gets the video color transfer of the current video stream through the video stream index.
videoStreamIndex | vedio stream index |
|
inline |
Gets the effective number of bits per pixel component of the current video stream through the video stream index.
videoStreamIndex | vedio stream index |
|
inline |
Gets the number of video streams of the file.
|
inline |
Gets the size of the current video stream through the video stream index.
videoStreamIndex | Video stream index |
|
inline |
Get the duration of the current video stream through the video stream index.
videoStreamIndex | Video stream index |
|
inline |
Gets the frame rate of the current video stream through the video stream index.
videoStreamIndex | Video stream index |
|
inline |
Gets the video HDR type of the current video stream through the video stream index.
videoStreamIndex | vedio stream index |
|
inline |
Gets the pixel aspect ratio of the current video stream through the video stream index.
videoStreamIndex | Video stream index |
|
inline |
Gets the rotation angle type of the current video stream through the video stream index.
videoStreamIndex | Video stream index |
|
static |
Audio type.
|
static |
Video type.
|
static |
Image type.
|
static |
Unknown type.