The easiest way to stream a playlist of videos 24/7 to YouTube and Twitch at the same time is a cloud playout service such as Upstream.so. You upload the videos once, set the playlist to loop, add YouTube and Twitch to the same stream and press Start. Upstream.so plays the playlist from its own servers, so your computer can be off, and it reconnects Twitch on its own every time Twitch ends a broadcast at 48 hours. One stream reaches up to 10 of 30+ platforms at once, so YouTube and Twitch together cost the same as YouTube alone: $30 a month, or $24 a month billed yearly. The free plan gives you 24 streaming hours a month to test it, with no card and no watermark.
The do-it-yourself routes are FFmpeg on a rented server (a VPS) or OBS on a computer that never turns off. This guide shows both with the commands, and what each one leaves you to fix at 3 AM.
Three ways to stream a playlist 24/7 to YouTube and Twitch
| Way to run it | Computer can be off | When Twitch ends the broadcast at 48 hours | Cost of one 24/7 playlist on both |
|---|---|---|---|
| Upstream.so | Yes | Upstream.so reconnects Twitch on its own; YouTube keeps running | $30 a month, or $24 billed yearly; free for 24 hours a month |
| FFmpeg on a VPS | Yes | The Twitch output drops and stays down until you restart FFmpeg, which also cuts YouTube for a moment | About €2 to €6 a month for files in one format; $84 a month in our test once FFmpeg has to re-encode at 1080p |
| OBS on your own computer | No | You start the Twitch output again by hand | Free software, plus a computer, power and an upload connection that stay on all month |
Prices for the VPS row come from our VPS guide, where we ran the same 1080p stream on four DigitalOcean plans. Only the $84 plan with 4 dedicated cores kept up with a live re-encode.
1. Upstream.so: one playlist, both platforms, computer off
This is the setup most 24/7 channels on YouTube and Twitch use with Upstream.so. It takes about ten minutes, plus the upload time for your videos.
- Create a free account at Upstream.so and click Create new stream. Choose 24/7.
- Upload your videos, or import a whole folder from Google Drive, Dropbox or OneDrive. Any mix of formats works, because Upstream.so re-encodes on its own servers.
- Build the playlist. Put the videos in order, or shuffle them. For a music channel, put the visuals on the Background playlist and the songs on a separate audio playlist, so a few clips can play under hours of music.
- Add YouTube and Twitch. Both connect by signing in, so there are no stream keys to copy. Add more platforms if you want them, up to 10 in all.
- Leave Playback mode on Loop continuously and press Start stream. Close the laptop.
While it runs, you can add a new video to the playlist, skip a track or change an overlay, and both platforms get the change on the same broadcast. Chat from YouTube and Twitch comes into one multi-chat feed, and you can reply to both from one box. To show up in person, go live from Live Studio in your browser, and the stream goes back to the playlist when you finish.
The proof that a loop can run this long: Final Fantasy LoFi Radio has been one unbroken YouTube broadcast on Upstream.so since July 27, 2024, more than 800 days.
Keep a live channel running 24/7.
Upload files, build a playlist, and let Upstream.so run continuous live playout from the cloud without OBS, a VPS, or an always-on computer.
2. FFmpeg on a VPS: one encode, two outputs
FFmpeg is free command line software that can read a playlist file, loop it forever and send the result to two RTMP addresses at once with its tee muxer. On a VPS it keeps running with your computer off.
First, list your videos in a text file called playlist.txt:
file 'videos/episode-01.mp4'
file 'videos/episode-02.mp4'
file 'videos/episode-03.mp4' Then run one FFmpeg command for both platforms. Replace the two keys with your own from YouTube Studio and the Twitch Creator Dashboard:
ffmpeg -re -stream_loop -1 -f concat -safe 0 -i playlist.txt \
-map 0:v -map 0:a \
-c:v libx264 -preset veryfast -b:v 4500k -maxrate 4500k -bufsize 9000k \
-r 30 -g 60 -c:a aac -b:a 160k -ar 44100 \
-f tee "[f=flv:onfail=ignore]rtmp://a.rtmp.youtube.com/live2/YOUTUBE_KEY|[f=flv:onfail=ignore]rtmp://live.twitch.tv/app/TWITCH_KEY" This encodes once and sends the same picture to both platforms, with a keyframe every 2 seconds, which both YouTube and Twitch ask for. Three things to know before you leave it running:
- Twitch's 48 hour limit. Twitch ends every broadcast at 48 hours. With
onfail=ignore, FFmpeg drops the Twitch output and keeps YouTube going, but Twitch doesn't come back on its own. Without it, FFmpeg's default is to stop the whole process, so YouTube goes down too. Either way you need a script or a timer that restarts FFmpeg, and each restart cuts YouTube for a moment. - Files must match. FFmpeg's concat demuxer needs every file in the same codec, resolution and audio layout. Convert them first, or the stream breaks at the first file that differs.
- Re-encoding needs a real processor. Files in one format can be copied with
-c copy, which a €2 to €6 VPS handles. Re-encoding live at 1080p, which you need for mixed files or anything drawn on top, only kept up on an $84 a month server in our test.
You also keep the server patched and secure yourself. Our VPS guide has the provider prices, the restart service and the security setup.
3. OBS on a computer that stays on
OBS Studio is free. Add a VLC Video Source with your videos and tick Loop playlist (it needs VLC installed), then send to two platforms with a multiple-output plugin such as Aitum Multistream. Each extra output uploads the stream again from your connection, so YouTube and Twitch at 4,500 kbps each need about 9 Mbps of steady upload.
The catch is the computer. The stream stops when the computer sleeps, restarts for an update or loses its connection, and when Twitch ends the broadcast at 48 hours you start that output again yourself.
What about a restream service?
A restream service takes one stream and copies it to several platforms, which solves the two outputs but not the playlist. You still need something that plays the videos around the clock: OBS on your computer, FFmpeg on a server or an uploaded loop. Restream sells looping in its Marathon add-on at $79 a month, on top of a Restream plan, and its help page says a looped video plays up to 10 times, for at most 40 hours, and that playlists don't loop. On Upstream.so the playlist and the platforms are one stream, and the loop runs until you stop it.
Platform rules for a 24/7 playlist
- YouTube has no set maximum length for a live stream. It doesn't save a replay of a stream longer than 12 hours, so keep your source files. See is 24/7 live streaming allowed on YouTube.
- Twitch ends a broadcast at 48 hours. On Upstream.so viewers see a short break and the stream comes back by itself; it isn't one unbroken broadcast. Our 24/7 Twitch stream guide covers the rest.
- Rights. Stream only videos and music you own or have the rights to. Claimed music can get a stream blocked or muted.
What a 24/7 playlist on YouTube and Twitch costs
On Upstream.so you pay per stream, not per platform. One 1080p stream at 30 fps is $30 a month, or $24 a month billed yearly, and it goes to up to 10 of 30+ platforms at once. With 4 or more streams, each is $20 a month, or $16 billed yearly. Paid plans add 60 fps and 4K. The free plan has 24 hours a month at 1080p30, enough to test the setup on both platforms; a stream that never stops needs a paid plan. See pricing and the step by step YouTube and Twitch setup.
Frequently asked questions
How do I stream a playlist 24/7 to YouTube and Twitch at the same time?
Use a cloud playout service like Upstream.so: upload the videos, set the playlist to loop, add YouTube and Twitch to one stream and start it. It plays from Upstream.so's servers with your computer off and reconnects Twitch at its 48 hour limit. You can also run FFmpeg with the tee muxer on a VPS, or OBS with a multistream plugin on a computer that stays on.
Can I stream to YouTube and Twitch at the same time for free?
Yes, for up to 24 hours a month. Upstream.so's free plan streams one stream to up to 10 platforms at once at 1080p30, with no card and no watermark. A playlist that runs 24/7 needs a paid plan, $30 a month or $24 billed yearly. OBS and FFmpeg are free software, but the computer or server running them costs money.
Do I need to keep my computer on?
Only with OBS. Upstream.so and FFmpeg on a VPS both run on a server, so your computer can be off.
What happens when Twitch ends my 24/7 stream at 48 hours?
Twitch ends every broadcast at 48 hours. Upstream.so reconnects on its own, so viewers see a short break instead of an ended stream, and YouTube keeps running. With FFmpeg or OBS you restart the Twitch output yourself or with a script.
Does it cost more to add Twitch to my YouTube stream?
Not on Upstream.so. One stream goes to up to 10 of 30+ platforms at once, so YouTube and Twitch together cost the same $30 a month as YouTube alone.
Can I add videos to the playlist while it's live?
Yes. On Upstream.so you add or reorder videos while the stream runs, and both platforms stay on the same broadcast. With FFmpeg's concat playlist you change the file and restart FFmpeg.






