video_generator
video_generator is an explicit source that produces one constant-color raw
video track. Use it when an output needs a video carrier but the real input is
audio-only.
{ "name": "carrier", "type": "video_generator", "config": { "width": 16, "height": 16, "fps": 15, "backgroundColor": "#000000" }}| Field | Default | Description |
|---|---|---|
width | 16 | Even output width, capped at the video canvas limit. |
height | 16 | Even output height, capped at the video canvas limit. |
fps | 15 | Frames per second, capped at 60. |
backgroundColor | #000000 | Constant #RRGGBB frame color. |
Connect the source to a video_encoder explicitly.
AVFlow never inserts a generated video stream for captions. RTMP and SRT
captions require a video input; only segment can publish
captions without video through its HLS WebVTT rendition.
Video encoding at 16x16 or smaller is free. Successfully delivered bytes
still count toward sink egress.