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
- Upload your videosUpload the video, or all the videos for your playlist.
- Open Streams and add your stream keyPaste the key from YouTube Studio. See how to find your stream key.
- Choose the videos in orderPick the first video, then “Add another video” for each one after it, up to 20.
- Press SaveThe loop runs on our servers. When the last video ends, the first one starts again, for as long as you want.
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.