Skip to content
Console

video_encoder

Convert one raw video stream into encoded access units. video_encoder accepts raw video only and can feed rtmp_push, srt_push, or segment.

{
"name": "h264",
"type": "video_encoder",
"inputs": ["mix_video"],
"config": {
"codec": "h264",
"bitrateBps": 2500000,
"keyframeIntervalSec": 2
}
}
FieldDefaultDescription
codecrequiredh264, h265, vp9, or av1.
bitrateBpsautoTarget bitrate, capped at 50 Mbps.
keyframeIntervalSec2GOP interval, capped at 10 seconds.
enableBFramesfalseEnable encoder B-frames.

Equivalent compiler-generated nodes with the same input, filters, and config are shared across sinks. A Job may contain at most one video_encoder after sink encoding shortcuts are expanded. RTC sinks, including WHIP, reject encoded input and must receive raw video.