A rotating mantra playlist for YouTube Live can be built in OBS Studio with its VLC Video source: add your media files, choose whether the list loops or shuffles, then send OBS’s output to YouTube using the stream URL and key. The playlist feature handles playback order, but it does not secure music rights or ensure an uninterrupted broadcast.
For a stream intended to run around the clock, test the full sequence before leaving it unattended. Check every recording, composition, image and video component, watch a complete playlist cycle, and confirm that both OBS and YouTube show the feed as expected.
Clear rights for every media component
Start with the files, not the playlist settings. List each audio recording, musical composition, visual background, piece of artwork and any other element that viewers will hear or see. Make sure the permissions you hold cover the way you intend to use each item in a live YouTube broadcast. Permission for one part does not automatically cover the others: owning a recording, for example, does not necessarily mean you control the underlying composition.
YouTube’s livestream terms and conditions place responsibility on the creator to hold the necessary rights for Live Content, including applicable music licensing rights. Keep copies of licences, written permissions or other records that explain what you can use and where. Check the terms and the scope of each permission rather than relying on the fact that a track is available online or has been used by another channel.
YouTube also scans live feeds for third-party content. If its systems identify a match, a placeholder may replace the stream; if the material remains, the live stream may be interrupted or terminated. YouTube says that even a creator who has licensed material may still encounter an interruption unless the rights holder adds the channel to its Content ID allowlist. Read the current guidance on live-stream copyright and, where appropriate, ask the rights holder about allowlisting.
A looping playlist does not change any of this. Replaying a file is a playback choice, not a rights clearance, and a permission to use a track does not promise that automated checks will never interrupt it. If the stream matters to your audience, make rights checks part of preparing every new version of the playlist. For an overview of a different continuous-video workflow, see this guide to looping a video with FFmpeg, but apply the same rights checks whichever playback method you use.
Install OBS and compatible VLC
Install OBS Studio and VLC before assembling the playlist. OBS’s VLC Video source depends on VLC being installed; the OBS media sources documentation describes the source and its playlist controls. Follow the official installation instructions for your operating system, and use current versions supported by their publishers.
Pay attention to the 64-bit compatibility requirement: 64-bit OBS requires 64-bit VLC for the VLC Video source. Installing VLC alone is not enough if its architecture does not match. If the source does not appear or VLC media cannot be loaded, check that both applications are installed and that their 32-bit or 64-bit architectures are compatible before rebuilding the scene.
Keep the audio and video files together in a folder you can find again, and avoid moving or renaming them after adding them to OBS. A playlist entry refers to a file location; if the file is moved, OBS may no longer be able to play it. Use clear filenames, such as morning-mantra-01.mp4 or bell-and-chant.wav, so that you can identify each item when checking the order.
VLC and OBS can be installed on Windows, macOS and Linux, but menu names and installation steps may differ by operating system and version. This guide focuses on the source workflow rather than prescribing particular encoders or bitrates. For a broader example of an OBS-based music channel, see how to make a sleep music live stream with OBS.
Add a VLC Video source in OBS
Open OBS and select the scene that will carry the channel’s programme. In the Sources panel, add a VLC Video source. Give it a recognisable name, such as Mantra playlist, so it is easy to distinguish from a logo, camera or other scene element. If you do not see the VLC Video source, check the installation and compatibility points above before continuing.
In the source properties, add the files you want to play to the playlist. You can choose multiple media files, then arrange them into the order you want. OBS’s source controls include options to loop the playlist and shuffle its order. The exact position of controls can vary between versions, so use the source’s properties and the official OBS documentation if the labels differ on your screen.
Make the source large enough to fill the intended programme area, and check how the visual behaves when different playlist items play. A source can play correctly while still leaving unused space, cropping important artwork, or showing a black area around a video. Preview each distinct type of media rather than judging the layout from a single item. If you plan to show static artwork with audio files, include that artwork in the scene separately and confirm that the audio continues while the image remains visible.
The VLC Video source is useful when you want OBS to play a selection of files without manually changing media after each item. It does not make the computer or connection independent of maintenance: the OBS session still needs to be running for its feed to reach YouTube. If keeping a local encoder running is the part you want to avoid, StreamNeo removes that specific burden by taking an uploaded video and running the YouTube broadcast without your computer switched on.
Build and configure the playlist
Add only files you have checked and intend to use. Then inspect the list from top to bottom. A devotional sequence may have a deliberate progression, such as an invocation followed by a longer chant and a quiet closing track. A station designed for continuous ambience may use a different order. Whatever the editorial choice, the list in OBS should reflect the sequence you expect viewers to hear.
Play through the files in the OBS preview. Confirm that each one starts, that its picture or artwork is correct, and that audio is audible at a consistent, suitable level. Watch the transition between items: check for a gap, a sudden change in loudness, a black frame or an unexpected end card. A file that works when opened manually may still be missing from the playlist or point to an old location in the source configuration.
Keep the playlist focused on the intended listening experience. Mixing recordings with different loudness, room tone or visual styles can make a stream feel abrupt even when every item plays. You do not need to make every item identical, but listen to the transitions and decide whether a pause or contrast is part of the experience or a mistake. If a particular file needs editing, make a corrected version and test that version in OBS before relying on it.
Treat changes as a new test cycle. Adding, removing or replacing a file can alter the sequence, duration and transition behaviour. Confirm that the updated source still points to available files, then preview the affected part of the playlist. For streams where audio transitions are the main concern, the practical checks in this guide to removing audio gaps when looping videos may also help you identify what to listen for.
Choose loop and shuffle behaviour
Loop and shuffle address different questions. Looping tells OBS what to do after the final playlist item; shuffling changes the playback order. Neither option checks rights, creates new material or proves that playback will continue unattended. Decide based on whether order matters to the channel, not on an assumption that random order is automatically more engaging.
| Playlist setting | What it does | A sensible use |
|---|---|---|
| Loop only | Restarts the list after its final item, retaining the set order. | Use it when the sequence is intentional, such as a planned devotional progression. |
| Loop and shuffle | Reorders playlist items randomly and repeats the playlist after its items have played. | Consider it when order is not important and some variation is useful. Check the resulting sequence in preview. |
For a fixed devotional order, enable Loop Playlist and leave Shuffle Playlist off. This makes the sequence predictable each time it reaches the end. For a collection where order has no special meaning, you can enable both looping and shuffle, then observe how OBS plays the items. Shuffle randomises order; it does not guarantee a particular mix, prevent repetitions across cycles, or guarantee variety that feels right to a listener.
If order matters for only part of the programme, consider maintaining separate playlists or scenes rather than asking shuffle to preserve an intended opening or closing. Test the complete behaviour after changing either setting. In particular, confirm that the playlist restarts after its last item and that the chosen order is acceptable. Do not assume a setting is working merely because its checkbox is selected; observe playback reaching the end and moving on as expected.
Connect OBS to YouTube Live
In YouTube Studio, open the Live Control Room and create or schedule a live stream. Scheduling gives you a live event to prepare and share; viewers may be able to set a reminder. For an encoder setup, copy the stream URL and stream key from the YouTube stream settings into OBS’s streaming settings. Treat the key as private: anyone who obtains it may be able to send a feed to your channel.
In OBS, open Settings and select the Stream section. Choose YouTube as the service where available, then enter the connection details supplied by YouTube. If the interface offers a choice between connecting an account and using a stream key, use the method that matches your account and workflow. Check the current YouTube encoder setup instructions rather than copying settings from an old screenshot or another channel.
A channel must be verified and must not have had live-streaming restrictions during the preceding 90 days to livestream, according to YouTube’s eligibility guidance. Check the current official page if you cannot start a broadcast or if your channel’s status has changed. Do not treat a successful OBS configuration as proof that the account is eligible.
Once the details are entered, use OBS’s start-streaming control and confirm that YouTube receives the feed in the Live Control Room. OBS sends the output; YouTube’s dashboard shows what is arriving at the platform. If OBS reports a connection issue or YouTube does not show the incoming picture, stop and resolve that before announcing the stream. This guide to an OBS server-disconnected message covers a related connection failure, while the official instructions remain the source for current YouTube setup steps.
Preview, test, and monitor playback
Do not infer unattended readiness from a successful start. Let the playlist play through to its end and confirm that the selected loop behaviour takes effect. With shuffle enabled, inspect the order OBS actually produces rather than expecting a particular sequence. Listen for missing audio, silence between tracks, abrupt volume changes or a file that ends early, and check the preview for an unexpected black screen or wrong visual.
Then watch the same feed in YouTube’s Live Control Room. Confirm that the platform is receiving the picture and sound you intended, not merely that OBS says it is connected. Pay attention to any warnings about third-party content. YouTube scans live streams, and a rights match can lead to a placeholder or interruption. If you have permission for a matched work, contact the rights holder about Content ID allowlisting; permission alone does not guarantee that the live feed will be left uninterrupted.
An always-on local setup depends on the computer and its network remaining available. Keep the machine awake, maintain the connection, and avoid planned restarts during the broadcast. Monitor OBS and YouTube for dropped output or warnings, especially after changing files, scenes or connection settings. A playlist can repeat correctly while the encoder or network fails, so playlist testing and stream monitoring are separate checks. For a broader discussion of interruptions and their causes, see how to fix buffering in a 24/7 YouTube music stream.
Decide whether you need a local recording before you go live. YouTube says streams under 12 hours can be automatically archived, but streams longer than 12 hours may not be captured at all. If retaining the complete broadcast matters, make a local recording and verify that it is being saved. Check available storage and the recording’s audio and picture before relying on it; an archive is useful only if it contains the material you need.
Use a short operational checklist before leaving the channel running: rights records are available; the source can find every file; the correct loop and shuffle options are set; a full playlist cycle has been observed; YouTube receives clean audio and video; and any needed local recording is working. Re-run the relevant checks after edits or software changes. This reduces avoidable surprises, but it cannot guarantee an unbroken broadcast.
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
How do I loop a playlist on a 24/7 YouTube livestream?
Add the media files to an OBS VLC Video source and enable Loop Playlist in its properties. Play through to the final item and confirm that it returns to the start. The loop setting controls playback order; it does not keep the computer, network or broadcast running by itself.
Can OBS shuffle a playlist automatically?
Yes. The VLC Video source has a Shuffle Playlist option, which randomises item order. You can use shuffle with looping when sequence is not important, but randomisation does not guarantee a particular variety or preserve an intentional devotional progression.
Will YouTube save a 24-hour livestream?
Do not rely on YouTube archiving a 24-hour broadcast. YouTube says a stream longer than 12 hours may not be captured, so make and check a local recording if you need to retain the complete stream. Confirm the current archive guidance before a broadcast where the recording matters.
Can I stream mantra music if I have permission, and can I monetise it?
You need rights for every relevant component, including the recording and composition, and YouTube may still interrupt a live stream if a match is detected; ask the rights holder about allowlisting. Permission to stream does not guarantee monetisation. YouTube’s monetisation policy treats repetitive or mass-produced content as inauthentic and ineligible, so add original value and check the current monetisation policy.