Short answer
- Clear the music: your own, commissioned, or a license that allows 24/7 streaming.
- Mix the tracks into one long file with crossfades, so the end flows back into the start.
- Add a looping visual, then export one video file.
- Enable live streaming on the channel (the first time "may take up to 24 hours") and create a custom stream key.
- Send the file 24/7 from your PC, a rented server or a hosted service.
Settings from YouTube Help, checked on October 26, 2026.
What you are building
Every 24/7 lofi stream has the same four pieces. Only the last one has to run around the clock.
1. Clear the music first
A 24/7 stream plays every track dozens of times a day, and YouTube checks live streams for copyrighted material while they run. If it finds some, "a placeholder image may replace your live stream", even if you have licensed the content (YouTube Help, copyright issues with live streams, checked on October 26, 2026). Some lofi labels, Chillhop among them, also forbid 24/7 streams of their catalogue in their terms.
The safe sources are music you made, music you commissioned with streaming rights in writing, and licenses that name 24/7 or continuous streaming. Our guide to where lofi channels get their music quotes the terms of the main labels and libraries. Keep a list of every track, its source and its license; you will need it for the description and for any dispute.
2. Decide how long the mix is
The mix length decides how often a regular listener hears the same track. Here is the arithmetic for a day of streaming:
| Mix length | Times it plays per day |
|---|---|
| 30 minutes | 48 |
| 1 hour | 24 |
| 2 hours | 12 |
| 3 hours | 8 |
| 4 hours | 6 |
Longer is better for listeners and for YouTube's repetitive content review, which we cover in inauthentic content and 24/7 channels. The limit is file size. If your sender caps uploads (Loopcast takes videos up to 4 GB), the file's bitrate decides how long the mix can be:
| File bitrate | Longest file |
|---|---|
| 2 Mbps | 4 h 26 min |
| 4 Mbps | 2 h 13 min |
| 6 Mbps | 1 h 28 min |
| 8 Mbps | 1 h 6 min |
A slow-moving lofi scene compresses far better than gameplay, so a long mix at a modest file bitrate is usually a good trade. Export once, watch a few minutes from a random point, and check that the picture still looks clean.
3. Hide the loop seam
Viewers join at random points, and the one moment they should never notice is where the file ends and starts again. Three rules:
- Crossfade between tracks, and make the last track fade into the first, not into silence.
- No logo sting or outro at the end. On a loop it plays every hour, forever.
- Match the loudness of the first and last tracks, so the jump back is not audible.
Any audio editor can do the mix. If you prefer the command line, ffmpeg's acrossfade filter is made for it. The ffmpeg manual's own example for joining several files: "Concatenate multiple inputs with cross fade between each":
ffmpeg -i first.flac -i second.flac -i third.flac -filter_complex acrossfade=n=3 output.flac
Then combine the mix with a short looping visual into one video. -stream_loop -1 repeats the visual ("loop -1 means infinite loop", in the ffmpeg manual), and -shortest stops when the mix ends:
ffmpeg -stream_loop -1 -i scene.mp4 -i output.flac -map 0:v -map 1:a -shortest \
-c:v libx264 -r 30 -g 60 -c:a aac -b:a 128k -ar 44100 loop.mp4
-g 60 at 30 fps puts a keyframe every 2 seconds, which is what YouTube recommends for live streams. Make the visual loop seamless on its own (its last frame should lead into its first), and the whole file will loop cleanly.
4. The visual
The picture is what makes a lofi channel recognisable, and it is also where rights mistakes happen.
- Use art you made or commissioned, with the right to use it in a monetized stream. Images found online are not free to use because they are easy to download.
- Studio Ghibli's 2020 permission covers its film stills, to be used "within the bounds of common sense" (our translation), not animated clips or a channel built on its films. Our lofi channel hub has the details.
- AI-generated visuals are allowed, and YouTube's monetization policy lists "using AI to [...] generate a unique background visual" among its allowed examples. Disclose realistic AI content, and AI music that is the main focus.
- Keep the motion gentle. Rain on a window, a moving cursor, a cat's tail: enough to show the stream is live, not so much that the eye tires.
5. Set up the stream on YouTube
Before the first broadcast, verify the channel and turn on live streaming. "Enabling a live stream for the first time may take up to 24 hours. Once enabled, your stream can go live instantly." (YouTube Help, create a live stream with an encoder). You must be at least 16 to live stream.
Then create a custom stream key. A default key belongs to one stream; with a custom key you can stop and restart without re-entering anything. YouTube: "To reuse the same stream key, create a custom stream key." (YouTube Help, stream keys and settings).
YouTube's encoder recommendations for a 1080p lofi stream:
| Setting | YouTube's recommendation |
|---|---|
| Video codec | H.264, H.265 (HEVC) or AV1 |
| Bitrate, H.264 at 1080p30 | Minimum 5 Mbps, recommended 14 Mbps |
| Bitrate, AV1 or H.265 at 1080p30 | Minimum 4 Mbps, recommended 10 Mbps |
| Keyframe frequency | "Recommended 2 seconds", "Do not exceed 4 seconds" |
| Bitrate encoding | CBR |
| Audio | AAC or MP3; 128 Kbps stereo at 44.1 KHz |
| Protocol | RTMP or RTMPS; YouTube recommends RTMPS |
Three more settings matter for an unattended stream:
- Latency: Normal. YouTube calls it "the highest quality setting for viewers since it has the lowest amount of viewer buffering", and nobody is there to chat with (YouTube Help, live streaming latency).
- Mid-roll ads: automatic, if the channel is monetized. Manual breaks need someone to press the button; see do lofi channels make money.
- The 12-hour line. A stream that runs past 12 hours may not be archived. Decide between one endless stream and restarts; our guide to live stream time limits weighs both.
6. Keep it running: three ways
The file is ready; now something has to play it to YouTube around the clock.
| Hosted: Loopcast (our pick) | Your own PC with OBS | A rented server (VPS) with ffmpeg | |
|---|---|---|---|
| How the loop is set | Upload the file once | Media Source with Loop ticked (it is off by default) | -stream_loop -1 with -re to read at the file's frame rate |
| What has to stay on | Nothing on your side | Your computer and home connection | A server you set up and maintain |
| Restart after a drop | Automatic | You, or a script you write | A script you write |
| Output | 1080p at 30 fps, H.264 at a constant 6,000 kbps, keyframe every 2 s, 128 kbps AAC stereo | Whatever you set | Whatever you set |
| Cost | $0.72 per 24 hours, prepaid | Electricity and wear | From about $4 to $6 a month, plus your time |
| Platforms | YouTube, Kick and Steam only | Any | Any |
OBS documents its loop option as: "Specifies whether the file play again once playback has completed", default Off (OBS Knowledge Base, Media Source). In ffmpeg, -re means "Read input at native frame rate", which is what you want when sending a file as if it were live (ffmpeg documentation).
Loopcast's own guides on choosing a source video and on whether looping is allowed on YouTube are worth reading whichever setup you choose.
Before you go live
- Every track is on your list with its source and license, and the description credits them.
- You watched the join from the end of the file back to the start, and could not hear the seam.
- The title and description say it is a 24/7 stream. Do not imply someone is there answering chat if nobody is.
- Live streaming is enabled and the encoder or service uses a custom stream key.
- Latency is Normal; mid-rolls are automatic if the channel is monetized.
- You know your plan for the 12-hour archive limit: one endless stream, or scheduled restarts.
FAQ
How long should a 24/7 lofi mix be?
As long as your file size allows. A 1-hour mix plays 24 times a day, a 4-hour mix 6 times. If your sender caps uploads at 4 GB, a file at 2 Mbps can run about 4 hours 26 minutes.
What bitrate should a 24/7 lofi stream use?
YouTube recommends 14 Mbps for H.264 at 1080p and 30 fps, with a minimum of 5 Mbps, or 4 to 10 Mbps for AV1 and H.265. Use CBR and a keyframe every 2 seconds.
Can I make a 24/7 lofi stream for free?
Yes, if you own the music and art and stream from your own PC with OBS: the cost is electricity and your connection. The music is the usual problem; free tracks rarely come with a license for 24/7 streaming.
Do I need to keep my computer on?
Only if you stream from it. A rented server or a hosted service such as Loopcast sends the stream instead, so your computer can be off.
How do I stop the loop from being obvious?
Make the mix long, crossfade every track including the last back into the first, remove any outro or logo at the end, and use a visual whose last frame leads into its first.
Sources
- YouTube Help: live encoder settings, bitrates and resolutions, create a live stream with an encoder, stream keys and settings, live streaming latency, get started with live streaming and copyright issues with live streams. Checked on October 26, 2026.
- YouTube Help: channel monetization policies. Checked on October 26, 2026.
- ffmpeg documentation and ffmpeg filters (acrossfade). Checked on October 26, 2026.
- OBS Knowledge Base: Media Source. Checked on October 26, 2026.
- Loopcast for YouTube, Loopcast pricing and Loopcast's YouTube encoder settings. Checked on October 26, 2026.