Video frame extraction.
More...
|
Bitmap | getFrameAtTime (long time, int videoFrameHeightGrade) |
| Gets video frame image at a certain moment. More...
|
|
void | release () |
| Releases the related resources of video retriever class, and this class cannot continue to be used once the resource is released. More...
|
|
Bitmap | getFrameAtTimeWithCustomVideoFrameHeight (long time, int videoFrameHeight) |
| Gets the video frame image at a certain moment. Users can customize the height of the video frame. More...
|
|
Video frame extraction.
The video frame extraction class can acquire the original video frame image at a certain moment.
- Warning
- In the NvsVideoFrameRetriever class, all public APIs can be used not only in the UI thread, but also across threads! ! !
- Since
- 1.2.0
void com.meicam.sdk.NvsVideoFrameRetriever.finalize |
( |
| ) |
throws Throwable |
|
inlineprotected |
Bitmap com.meicam.sdk.NvsVideoFrameRetriever.getFrameAtTime |
( |
long |
time, |
|
|
int |
videoFrameHeightGrade |
|
) |
| |
|
inline |
Gets video frame image at a certain moment.
- Parameters
-
- Returns
- Returns Bitmap object representing the video frame image at a certain moment.
Bitmap com.meicam.sdk.NvsVideoFrameRetriever.getFrameAtTimeWithCustomVideoFrameHeight |
( |
long |
time, |
|
|
int |
videoFrameHeight |
|
) |
| |
|
inline |
Gets the video frame image at a certain moment. Users can customize the height of the video frame.
- Parameters
-
time | Timestamp of the frame (in microseconds). |
videoFrameHeight | Custom video frame height. |
- Returns
- Returns Bitmap object representing the video frame image at a certain moment.
- Since
- 1.15.0
void com.meicam.sdk.NvsVideoFrameRetriever.release |
( |
| ) |
|
|
inline |
Releases the related resources of video retriever class, and this class cannot continue to be used once the resource is released.
- Since
- 1.14.1
final int com.meicam.sdk.NvsVideoFrameRetriever.VIDEO_FRAME_HEIGHT_GRADE_360 = 0 |
|
static |
Video frame of 360 pixels in height.
final int com.meicam.sdk.NvsVideoFrameRetriever.VIDEO_FRAME_HEIGHT_GRADE_480 = 1 |
|
static |
Video frame of 480 pixels in height.
final int com.meicam.sdk.NvsVideoFrameRetriever.VIDEO_FRAME_HEIGHT_GRADE_720 = 2 |
|
static |
Video frame of 720 pixels in height
The documentation for this class was generated from the following file: