class documentation
class Video(video.Video):
Handle video output on the device.
Methods
- play()
- Blocking video playback.
- start()
- Start video playback asynchronously.
- run()
- Run a video playback frame.
| Parameters | |
| path | Path to the video file. |
| x | X-coordinate for video display. Default is 0. |
| y | Y-coordinate for video display. Default is 0. |
| scale | Scale factor for the video display. Default is 1.0. |
| Instance Variable | - active |
Indicates if the video is currently active. |
| Instance Variable | - fps |
Frames per second of the video. |
| Instance Variable | - frame |
Current frame index of the video. |
| Instance Variable | - frames |
Total number of frames in the video. |
| Instance Variable | - height |
Height of the video display. |
| Instance Variable | - path |
Path to the video file. |
| Instance Variable | - width |
Width of the video display. |