To run a 24/7 YouTube music stream with VLC and OBS, use VLC through OBS to play a local playlist, then use OBS as the encoder that sends the picture and sound to YouTube Live. VLC’s playlist loop and YouTube’s live connection are separate jobs: repeating music on your computer does not itself start a broadcast.
Before building the scene, confirm that your channel can livestream and that you have permission to broadcast every track and visual. A local setup can run for long periods, but looping does not guarantee uninterrupted service; you will need to test the feed and keep an eye on it.
Check livestream access and music rights first
YouTube says a channel must be verified, have no live-streaming restriction within the previous 90 days, and be operated by someone aged at least 16 to livestream. First-time live-stream activation can take up to 24 hours, so do not leave this check until the evening you plan to launch. Review YouTube’s livestream eligibility requirements and confirm access in YouTube Studio.
A song that plays on your phone, or that you bought for personal listening, is not automatically cleared for a public livestream. Use music you created yourself or music whose licence explicitly covers live broadcast on YouTube. Read the licence terms for the actual tracks and uses involved; a label such as “copyright free” is not a substitute for that check. This is especially important if your stream is intended to stay online overnight or become a regular channel feature.
YouTube scans live streams for third-party content. It may replace the stream image, interrupt the broadcast, or terminate it when it detects content that violates its rules. YouTube also warns that even licensed third-party material can be interrupted if the rights holder has not allowlisted your channel through Content ID. See YouTube’s copyright guidance for live streams, and ask the rights holder whether allowlisting is needed where you rely on a third-party licence. Do not treat this as a guarantee that a particular track will be accepted.
The same rights check applies to the visual. If you use album artwork, a photograph, a looped animation or a background video, make sure you have permission for that use too. A simple image you made yourself can reduce the number of assets to check, but you are still responsible for any material it contains.
If you are still assembling a cleared music library, the guide to music sources for a 24/7 stream can help you think through licences and claims. Check each source’s current terms rather than assuming a catalogue listing clears every kind of broadcast.
Install VLC and prepare OBS
Install OBS Studio and VLC on the computer that will run the broadcast. OBS’s VLC Video source relies on VLC being installed, and OBS notes that 64-bit OBS requires 64-bit VLC. If the source is missing or fails to load, check that the applications’ bitness matches before changing other settings. The OBS media sources guide describes the source requirements and playlist controls.
Gather the local files in one place and decide the order in which you want them to play. Keep the files available to the streaming computer for the whole session; moving or renaming them after adding them can break their paths. If you want listeners to hear a planned sequence, use an ordered playlist. Shuffle can make sense for a station where variety matters more than a fixed order, but listen to the transitions and check that the resulting sequence is appropriate.
In OBS, make a scene for the broadcast. Add a visual element such as an image or a video background, then add the music source separately. A static image is easier to maintain than a visual that has its own playback or timing, while a video background can make the scene feel less still. Whichever you choose, check how the scene looks in OBS’s preview and ensure the visual is yours to use.
A scene is the layout OBS sends, not the playlist itself. Keeping music and visuals as distinct sources makes it easier to replace artwork or troubleshoot audio without rebuilding the whole scene. Before going live, make sure the intended scene is selected and visible in the preview.
Add the VLC Video playlist source
In OBS, select the scene, add a source, and choose VLC Video. Give the source a recognisable name, then add the local audio files to its playlist in the intended order. The source is designed to play media within an OBS scene; it is not a direct YouTube streaming connection. OBS handles the composition and encoding, while YouTube receives the encoded feed after you configure the connection.
Check the source’s visibility behaviour as well as its file list. OBS documents behaviour that can stop playback while a source is hidden and restart it when it becomes visible. If you switch between scenes, confirm that the source’s visibility setting suits your layout. Otherwise, a scene change may stop playback when you expected the music to continue.
If you only need one supported file to repeat, OBS’s built-in Media Source may be simpler. It has a Loop property for a single file. A VLC Video source is more suitable when you want a playlist containing several local files. For a similar idea with a YouTube-side playlist, see how to make a livestream playlist loop continuously; that is a different workflow from playing files through an OBS scene.
Check Loop Playlist and listen to the hand-offs
Open the VLC Video source properties and inspect Loop Playlist. OBS lists it as enabled by default, but check the actual setting rather than relying on the default. With it enabled, OBS restarts the source after it reaches the end of the media files. It does not keep the computer awake, repair a missing file, restore an internet connection or reconnect an encoder that has stopped sending.
The end of one file and start of the next are worth checking by listening, not only by looking at the playlist. Some files include silence at the end, have different loudness, or begin abruptly. You can adjust your source material or playlist order to suit the station, but avoid assuming a repeating list will sound seamless just because the files play in sequence.
Do not hide the source as a way of tidying the scene until you understand the visibility setting. If it stops when hidden, changing scenes can interrupt audio or reset playback. Keep the source visible in the active scene, or test the chosen visibility behaviour before relying on it for a long broadcast.
A repeating playlist is a playback instruction, not a continuity plan. If you are building a sound-focused station, the guide to streaming Indian night insects and rain sounds offers another example of planning a continuous listening format; the same need to check media and rights applies.
Connect OBS to YouTube Live
In YouTube Studio, open Create → Go Live and use the Live Control Room to create or select a stream. YouTube’s encoder workflow provides a server URL and stream key. In OBS’s streaming settings, choose the appropriate YouTube connection method and enter the URL and key as directed by YouTube. Keep the key private: anyone who obtains it may be able to send a feed to your channel.
Do not look for a direct VLC-to-YouTube recipe for this setup. VLC supplies playlist playback inside OBS; OBS is the encoder that sends the stream. YouTube’s encoder setup instructions explain the server URL and stream key workflow. If you are changing or replacing a key in another encoder workflow, the article on changing a YouTube stream key in an FFmpeg command covers that separate case.
After entering the connection details, start streaming in OBS and look at the Live Control Room. For a scheduled broadcast, YouTube directs creators to wait for the preview and then select Go live. Confirm the preview shows the intended artwork or background and that the audio meter moves when the playlist plays. A running indicator in OBS alone does not confirm that viewers can see and hear a healthy feed on YouTube.
Choose settings, test and monitor stream health
Choose an output quality that fits both the intended picture and the upload connection available to the streaming computer. YouTube’s current encoder settings page recommends H.264 with CBR, a two-second keyframe interval (not over four seconds), and AAC or MP3 audio for RTMP/RTMPS delivery. It recommends RTMPS for encrypted delivery. These are settings recommendations, not a promise that a particular computer or connection can sustain a broadcast. Check YouTube’s encoder settings and bitrate table for the resolution and frame rate you plan to send; do not treat one bitrate as suitable for every setup.
For stereo audio, YouTube’s advanced guidance lists 44.1 kHz and 128 Kbps. Treat these as reference settings, then check what OBS is actually sending and what the Live Control Room reports. If you change quality settings, test again: a clean preview at one configuration does not prove another will behave the same way.
Before a public launch, run a controlled test with representative audio and visuals. Check that the music is audible without clipping, that transitions do not expose unwanted gaps, and that desktop sounds or alerts are not being captured unexpectedly. Confirm that the visual is present and that the YouTube preview and stream-health indicators report no issue. YouTube recommends testing material with audio and motion similar to the planned broadcast and monitoring stream health while live.
A useful test includes leaving the playlist running long enough to see it move between files, then checking that the next track starts and the scene remains as intended. Make sure the test does not use music or images you lack permission to broadcast; a private or controlled test does not remove your responsibility for the content. Keep YouTube Studio available during the broadcast so you can respond to health warnings or review messages.
For a local setup, OBS, the playlist files, power and the network connection all need to remain available. A computer that sleeps, a missing file, an application failure or a lost connection can interrupt the feed even when Loop Playlist is enabled. Plan who will notice a problem and how you will restart the broadcast; do not assume the loop setting provides automatic recovery.
Understand archive and continuity limits
“24/7” describes the schedule you intend, not a guaranteed uninterrupted service. With VLC and OBS on your own computer, playback and encoding depend on that machine continuing to run and send data. If the computer is switched off, the connection drops or OBS stops, the stream may end or be interrupted. Monitoring and a practical recovery plan matter more than an assumption that a playlist will keep everything online.
A single long broadcast also has an archive limitation. YouTube says streams under 12 hours are automatically archived. Do not plan on a complete automatic replay from one stream lasting 12 hours or longer. If you need a replay, check YouTube’s current guidance and decide how you will preserve or publish the material separately; do not promise viewers an archive until you have verified it.
If keeping a computer running around the clock is the part that makes your plan difficult, StreamNeo can remove the need to leave your own computer on: you upload the video, connect your YouTube stream key, and the broadcast runs remotely with monitoring and automatic restarts if it drops. It is YouTube-only, so it is not a fit if you need to send the same feed to another platform. Whatever method you choose, rights, channel eligibility and YouTube’s current requirements remain your responsibility.
Before committing, compare the operating options on the pricing page. When the file and channel are ready, start free — 24-hour trial, no card.
FAQ
Can I stream straight from VLC to YouTube?
This guide uses VLC for playlist playback inside an OBS VLC Video source. OBS is the encoder that connects to YouTube using the stream URL and key; a repeating VLC playlist by itself does not create a YouTube Live broadcast.
Does Loop Playlist guarantee a 24/7 broadcast?
No. It tells OBS to restart the playlist after its media files run out. It does not keep the computer, files, power or internet connection available, and it does not guarantee recovery if the stream stops.
Can I use music labelled “copyright free”?
Check the actual licence for every track and confirm that it covers live broadcast on YouTube. YouTube may interrupt third-party content, including licensed material when the rights holder has not allowlisted the channel through Content ID.
Will YouTube automatically save a complete replay of a 24-hour stream?
Do not rely on that. YouTube says streams under 12 hours are automatically archived, so a single stream lasting 12 hours or longer should not be treated as a guaranteed complete automatic replay.