Learn › FFmpeg
FFmpeg · 6 min read

How do I restream with FFmpeg?

FFmpeg is the right tool when you want a scriptable, headless restreaming setup. You point it at one ingest URL and key, then let Stream Repeater take care of the destinations.

Your encoder 1 upload · OBS / vMix
Stream Repeater relays server-side
YouTubeLIVE
TwitchLIVE
FacebookLIVE
KickLIVE
One feed in, many platforms out — your upload stays at a single stream no matter how many destinations.

Push one stream over RTMP

The simplest setup is a single FFmpeg command that publishes FLV over RTMP to your Stream Repeater ingest URL. That works for files, capture cards and other sources that FFmpeg can read.

  • Use one output target only.
  • Keep the codec compatible with your relay and destinations.
  • Set a 2-second keyframe interval for platform compatibility.

Good uses for FFmpeg restreaming

FFmpeg shines for automation: looping a file, driving an always-on channel, or piping a camera source from a server with no GUI. It is also useful when you need a lightweight process that can be scripted and supervised.

Let the relay handle fan-out

FFmpeg should publish one clean input. Add the rest of your destinations in Stream Repeater so you do not have to manage multiple command-line outputs or multiply bandwidth from the source machine.

Frequently asked questions

Can FFmpeg loop a file for live streaming?

Yes. FFmpeg can loop a source file, which is useful for test channels, events and scheduled playback.

Do I need FFmpeg to send to every platform?

No. Send FFmpeg to Stream Repeater once, then add destinations in the relay.