Skip to main content

Crate freya_video

Crate freya_video 

Source

Structs§

Video
VideoClient
Decoding pipeline for one video. Drop to stop.
VideoElement
VideoFrame
Single decoded frame, backed by a Skia image.
VideoPlayer
Reactive handle to a video decoding pipeline.
VideoViewer
Renders the current frame of a VideoPlayer.

Enums§

PlaybackState
Current playback state of a VideoPlayer.
VideoEvent
Event emitted by a VideoClient.
VideoSource
Source of a video to decode.

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 init().
video
Low-level element that paints a single VideoFrame. Prefer VideoViewer.