Skip to main content

Module video

Module video 

Source
Available on crate feature video only.
Expand description

Reexport freya-video when the video feature is enabled.

Structs§

VideoClient
Decoding pipeline for one video. Drop to stop.
VideoPlayer
Reactive handle to a video decoding pipeline.
VideoSource
Source of a video to decode.

Enums§

PlaybackState
Current playback state of a VideoPlayer.
VideoEvent
Event emitted by a VideoClient.

Functions§

ensure_ffmpeg
Download an ffmpeg binary if one isn’t already available on PATH. Call from main before launch() to opt in to auto-install.
use_video
Create a VideoPlayer and start playing video_source().