Skip to main content

Crate sources

Crate sources 

Source
Expand description

Frame sources: ffmpeg video, raw rgb24 streams from other processes, and built-in test patterns. ffmpeg is asked for rgb24 already scaled to the wall size, so nothing here parses containers or codecs.

Modules§

raw
Raw rgb24 frame ingest from any Read: stdin fed by ffmpeg -f rawvideo, a socket, a pipe.

Structs§

UnknownName
A name that is not one of the allowed spellings for a type.
VideoSource
Decodes a video file (or any URL ffmpeg understands) into wall-sized frames.

Enums§

Fit
How a source should fit its images to the wall.
Pattern
Built-in patterns, for checking wiring and colour order without any media.

Traits§

FrameSource
Anything that refills a caller-owned frame, one image per call.

Functions§

pattern
Draw a built-in pattern at the given size.