MeiCam SDK For iOS
3.11.2
|
Video frame extraction. More...
#import <NvsVideoFrameRetriever.h>
Instance Methods | |
(void) | - setFrameTimeTolerance: |
Set the time tolerance for acquiring video frames. The actual time of the generated images will be within the range [time-timeToleranceļ¼time+timeTolerance] and may differ from the requested time for efficiency.Pass 0 for to request frame-accurate image generation; this may incur additional decoding delay.Default is 500000. More... | |
(UIImage *) | - getFrameAtTime:videoFrameHeightGrade: |
Gets a video frame image at a certain moment. For details, please refer to Video Frame Image Extraction. More... | |
(UIImage *) | - getFrameAtTimeWithVideoFrameHeight:videoFrameHeight: |
Gets a video frame image at a certain time which users can customize the height of the video frame. For details, please refer to Video Frame Image Extraction. More... | |
Video frame extraction.
The video frame extraction class can acquire the original video frame image at a certain moment.
- (UIImage *) getFrameAtTime: | (int64_t) | time | |
videoFrameHeightGrade: | (NvsVideoFrameHeightGrade) | videoFrameHeightGrade | |
Gets a video frame image at a certain moment. For details, please refer to Video Frame Image Extraction.
time | the time value (in microseconds) |
videoFrameHeightGrade | The height level of the extracted video frame |
- (UIImage *) getFrameAtTimeWithVideoFrameHeight: | (int64_t) | time | |
videoFrameHeight: | (unsigned int) | videoFrameHeight | |
Gets a video frame image at a certain time which users can customize the height of the video frame. For details, please refer to Video Frame Image Extraction.
time | the time value (in microseconds) |
videoFrameHeight | Custom video frame height. |
- (void) setFrameTimeTolerance: | (int64_t) | timeTolerance |
Set the time tolerance for acquiring video frames. The actual time of the generated images will be within the range [time-timeToleranceļ¼time+timeTolerance] and may differ from the requested time for efficiency.Pass 0 for to request frame-accurate image generation; this may incur additional decoding delay.Default is 500000.
timeTolerance | the time value (in microseconds) |