Skip to content

Tutorial 3

FFmpeg SRT Streaming: One Command to Any SRT Server (2026)

1:20 Watch on YouTube

About this tutorial

The exact FFmpeg one-liners to push MPEG-TS over SRT — streamid, passphrase and latency set correctly (yes, it's microseconds). Copy-paste commands for broadcast/streaming engineers: -c copy passthrough and a clean H.264 re-encode. Part of the HOW-TO-CONNECT series by SRT Cloud.

Read the full transcript

FFmpeg. You know it. Here's just the SRT part: one command, and two flags people get wrong. Target first: your input address and port, plus the passphrase. The input listens; the encoder calls. Source already the right codec? Don't touch it. Copy both streams, wrap in transport stream, call the input. Want a clean feed? Encode H.264, cap the bitrate, fix keyframes, audio to AAC. Flag one: the container is always transport stream. Flag two: latency is microseconds. Half a second, not minutes. And quote the URL. An unquoted ampersand strips the passphrase and the handshake dies silently. Run it, check Monitoring: input live, takers pulling copies. If it flaps, raise latency toward 4 × RTT. Transport stream, microseconds, quotes around the URL. That's the whole trick. Next: srt-live-transmit.

Copy your first feed today

Start a free 7-day trial. No hardware, no contract, cancel anytime.