Skip to main content

Module raw

Module raw 

Source
Expand description

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

A stream is consecutive frames of width * height * 3 bytes and nothing else. Socket clients prefix one Header with size and rate; stdin streams carry no header and take the size from the command line.

Structsยง

Header
The 12-byte header a socket client sends before its first frame.
RawSource
Reads consecutive rgb24 frames of one size from r.
Writer
The client side of rxp show serve: writes a Header, then frames.