How to loop a video on YouTube Live

Looping means your video plays to the end and starts again, while the live stream itself keeps running. Here is the easy way and the do-it-yourself way.

Runs on our serversNo OBS, no PC left onFrom $6/month

One video or a playlist

You can loop a single video, which suits long content like a recitation, a lecture or an hour of music. Or you can loop a playlist: several videos that play one after another and then start again from the first. A playlist makes a 24/7 live feel less repetitive for people who stay for a long time.

The easy way: loop with 24Loop

  1. Upload your videosUpload the video, or all the videos for your playlist.
  2. Open Streams and add your stream keyPaste the key from YouTube Studio. See how to find your stream key.
  3. Choose the videos in orderPick the first video, then “Add another video” for each one after it, up to 20.
  4. Press SaveThe loop runs on our servers. When the last video ends, the first one starts again, for as long as you want.
Tip: if your video starts with a long intro, set “Start from” (for example 2:00). The first play skips the intro, and the loop continues normally after that.

The do-it-yourself way: FFmpeg on a server

If you have a Linux server that is always on, the free tool FFmpeg can loop a video to YouTube. Replace YOUR-STREAM-KEY with your key:

ffmpeg -re -stream_loop -1 -i video.mp4 -c copy -f flv rtmp://a.rtmp.youtube.com/live2/YOUR-STREAM-KEY

This works, but you need to keep the server running, restart FFmpeg when the connection drops, and re-encode videos that YouTube does not accept as they are. That is exactly the work 24Loop does for you, with automatic reconnect and an email if a stream cannot connect.

Keep the loop running for good

A loop that runs day and night is a 24/7 live. Read how to run a 24/7 YouTube live stream for tips on titles, thumbnails and content that keep viewers watching.

Put your channel on air tonight

Upload your video once and 24Loop keeps it live on YouTube around the clock. Try it free: your 24 hours start when your first video is ready.

Questions

Does the live stream restart each time the video ends?

No. The video starts again inside the same live stream, so the live keeps the same link, chat and viewers.

How many videos can I put in a loop?

Up to 20 videos per stream. They play in the order you choose, then the playlist starts again.

Can I change the video without ending the live?

Yes. Choose another video or playlist and save. The stream reconnects in a few seconds.

Is there a limit on how long the loop runs?

No. The loop keeps going until you stop it, or until the time you set in “Stop after”.

More guides