UniTAP.dev.ports.modules.capturer.video.video_capturer
Class VideoCapturer allows working with capturing video frames on Sink (RX - receiver) side.
You can start capturing in several modes, stop capturing, getting current status and result of
capturing capture_result.
Returns current video capturer status.
Returns:
object of
VideoCaptureStatustype
Returns max stream number supported for capturing.
Returns:
object of
inttype
Return first object of VideoFrame or VideoFrameDSC.
Returns:
object of
VideoFrameorVideoFrameDSCtype
Return captured video frame(objects of VideoFrame or VideoFrameDSC) asResultVideoObject`.
Returns:
object of
ResultVideoObjecttype
Return all captured video frames(objects of VideoFrame or VideoFrameDSC).
Returns:
object of list[
VideoFrameorVideoFrameDSC] type
Class VideoCapturerDP inherited from class VideoCapturer and also allows working with capturing video frames
on DP Sink (RX - receiver) side.
You can start capturing in several modes, stop capturing, getting current status and result of
capturing capture_result.
Start capturing. Possible some variants of capturing:
- Capture with fixed frames count (will be captured fixed frames count and capturing will be stopped).
- Capture with fixed time (capturing will be continued fixed seconds and capturing will be stopped).
- Capture without parameters - Live capturing (for getting frames you need to use functions
pop_elementandpop_all_elements)
All results can be obtained using the function capture_result.
Arguments:
- frames_count (int)
- sec (int)
- stream_number (int)
- capture_type (CaptureConfig.Type)
Class VideoCapturerHDMI inherited from class VideoCapturer and also allows working with capturing video frames
on HDMI Sink (RX - receiver) side.
You can start capturing in several modes, stop capturing, getting current status and result of
capturing capture_result.
Start capturing. Possible some variants of capturing:
- Capture with fixed frames count (will be captured fixed frames count and capturing will be stopped).
- Capture with fixed time (capturing will be continued fixed seconds and capturing will be stopped).
- Capture without parameters - Live capturing (for getting frames you need to use functions
pop_elementandpop_all_elements)
All results can be obtained using the function capture_result.
Arguments:
- frames_count (int)
- sec (int)
- stream_number (int)