To randomise local videos in an OBS playlist, add a VLC Video Source, add your files, and enable Shuffle Playlist. Enable Loop Playlist as well if playback should start again when the list ends; shuffle and loop do different jobs.
Install VLC before configuring the source, then connect OBS to YouTube using the stream URL and key from Live Control Room. This sends the OBS programme to YouTube; it does not randomise a YouTube playlist, and it does not by itself guarantee an uninterrupted 24/7 broadcast.
Add a VLC Video Source
Open OBS and choose the scene that should carry the videos. In the Sources dock, select +, then choose VLC Video Source. Give the source a name that will still make sense when you return to the project later, such as “Overnight bhajan playlist”.
If VLC Video Source is missing, the usual first check is whether VLC is installed. OBS says that VLC is required for this source to appear, and a 64-bit OBS installation needs a 64-bit VLC installation. Install the matching version, then restart OBS if the source has not appeared. Check the OBS Project's Media Sources documentation for the current dependency and supported formats.
A VLC Video Source is a playlist-capable media source, not a way to shuffle YouTube links. It plays media files available to the computer running OBS. If your files are on an external drive or a network location, confirm that it remains connected and accessible before relying on it overnight.
For the broader workflow of sending a recorded programme through OBS, see this guide to streaming a pre-recorded video playlist on YouTube using OBS. The focus here is the source’s order and end-of-list behaviour.
Add the media files
Open the VLC Video Source properties. Add the local video files to its playlist, and check that the list contains the intended versions in the intended order. The order still matters even with shuffle enabled: it is useful for diagnosis, and it is what you will see if shuffle is off.
OBS lists common video formats such as MP4, MOV, MKV, AVI and WebM, alongside audio formats including MP3, AAC, OGG and WAV. A file extension alone does not prove that every codec inside a file will work in your installation. Test each file in VLC or OBS before building a long broadcast around it, especially if a file was exported with unusual settings.
Keep the source files in a stable folder rather than moving or renaming them after adding them. If OBS can no longer find a file, the source cannot play it. For a long playlist, use recognisable filenames and retain a separate copy of the list or folder structure. That makes it easier to find a missing devotional track or replace a revised local news segment without guessing which entry you intended.
If the videos have different audio levels, preview them as a group. A playlist that changes from a quiet ambience track to a much louder recording can be unpleasant even though every file plays correctly. Adjust the files or OBS audio mix before going live; shuffle changes sequence, not loudness.
Enable Shuffle Playlist
In the source properties, turn on Shuffle Playlist. OBS describes this setting as deciding whether the source should randomise the media files being played or stay in the file-list order. In practical terms, it changes the order in which the VLC Video Source selects its local media files.
Shuffle is not a requirement for looping. If you want a fixed sequence to repeat, leave shuffle off and enable loop. If you want the files presented in a randomised order, enable shuffle. The two controls address different questions: which item comes next, and what happens when the playlist reaches its end.
Do not assume the order will be freshly randomised every time the list completes. OBS documents the shuffle option, but does not promise a newly generated sequence at each loop boundary. Its current behaviour can depend on the version and when settings are applied. The OBS issue tracker includes a report about refreshing the shuffle order; that report is version-specific, not a guarantee about every installation. Test the exact OBS version and playlist you plan to use.
For example, a study channel might add a set of focus videos and prefer a mixed sequence. Shuffle can vary the order, but you should still watch the transition to the next file and check that every entry is suitable at any point in the stream. If your programme depends on a deliberate opening, closing, or news bulletin order, randomisation may be the wrong tool.
Enable Loop Playlist if needed
Turn on Loop Playlist if the source should begin again after it reaches the end of its list. In OBS's documented defaults, looping is on and shuffle is off, but inspect the settings yourself rather than relying on defaults that may differ after an update or project change.
With loop enabled and shuffle disabled, the playlist repeats in its listed order. With both enabled, OBS plays the playlist with shuffle active and loops when it runs out. Looping describes the return to the start of the list; it does not establish that the next pass will have a different order. A repeated sequence can be acceptable for a music station, but it may be noticeable in a short list or a channel where viewers tune in at different times.
There is a separate visibility behaviour in the source properties. OBS offers choices that determine whether media stops and restarts, pauses and resumes, or continues playing when its source is not visible. This matters if you switch scenes or hide the source. If the playlist should continue while another scene is shown, choose the appropriate behaviour and test it; if it should restart when you return, select that intentionally.
A loop is only one part of a long-running broadcast. OBS still has to keep running, the computer and its media files must remain available, and the connection to YouTube must stay usable. For an alternative that keeps a local computer from being the thing you must leave on, compare operating arrangements in YouTube live automation tools for Indian music channels. Check each provider’s file handling, supported YouTube connection method, terms and recovery behaviour rather than treating “automation” as a guarantee.
Install compatible VLC
OBS's VLC Video Source depends on VLC being installed, so install VLC before configuring the playlist. Match the architecture: if OBS is 64-bit, use 64-bit VLC. The OBS Media Sources page explains the dependency and gives its supported-platform and format information; consult it again if you change OBS versions or use an operating system-specific setup.
After installing, reopen OBS and add the source. If you already made a project without VLC, adding the dependency later should let you check the source list again. If the source still does not appear, confirm that you installed the expected VLC edition and that OBS is the version you think it is. Avoid troubleshooting the stream key or YouTube connection until the source itself is available.
Before using a large playlist, test a few files with different characteristics: a short clip, a longer video, and one with audio you know well. Look for black frames, missing sound, unexpected aspect ratio, or a file that does not advance. This is not a substitute for testing the whole playlist; it is a quick way to catch format or path problems before you connect a live broadcast.
Connect OBS using YouTube stream details
In YouTube Live Control Room, create or select the livestream you intend to send to. YouTube's encoder setup instructions describe the process: obtain the stream URL and stream key from the live setup, then enter those details in OBS's stream settings. Treat the key as a password. Do not put it in a public screenshot, a shared document, or a command you plan to publish.
OBS is the encoder in this arrangement. It takes the programme output from your scene, including the VLC Video Source, and sends that output to YouTube. A shuffled local playlist does not edit, reorder, or control any playlist feature on YouTube. Viewers receive the live programme that OBS is sending at that moment.
Once the details are entered, start the encoder in OBS and check the Live Control Room preview before making the stream public or directing viewers to it. YouTube says first-time live streaming activation can take up to 24 hours, so do not schedule a first broadcast immediately before an event and assume the channel is already enabled. Its live streaming eligibility guidance is the place to check current account requirements.
Connection quality is a separate issue from playlist settings. YouTube’s streaming tips recommend upload-bandwidth headroom and caution that interruptions can break a stream. A wired connection, a computer that will not sleep, and a test at the intended resolution can reduce avoidable surprises, but none of them turns the setup into a promise of uninterrupted output. For connection-specific troubleshooting, use this practical guide to YouTube bitrate warnings and fixes for Indian internet connections.
Test randomized playback before relying on it
Test the source before launching a public 24/7 channel. Use a small test scene or an unlisted/private test stream where appropriate, and confirm both the local OBS preview and YouTube's Live Control Room preview. Verify that video is visible, sound is audible, and the intended source is on the active scene.
Watch enough transitions to see that the playlist advances, then note the order. Stop and start the source or reapply its settings, and observe what changes. If you need a fresh random order at each cycle, do not infer that from one shuffle test: test the exact loop boundary on your own OBS version. OBS does not document a promise of reshuffling at every boundary.
Also check behaviour when you switch away from the scene containing the source and return. The source's visibility setting can determine whether playback stopped, paused or continued in the background. A channel that shows a logo or ticker scene between videos may behave differently from a channel that leaves the VLC source visible continuously.
If you are running a genuinely long stream, decide whether you need a local recording as well as the YouTube broadcast. YouTube says streams under 12 hours can be automatically archived, while streams exceeding 12 hours may not be captured at all; DVR rewind can also be limited for long streams. See YouTube's archive guidance and keep a local archive if a complete replay matters. Do not plan on a single uninterrupted 24-hour YouTube archive being complete.
Check rights for every file before broadcasting it. YouTube's livestream terms place responsibility on the content provider to hold the necessary rights, including applicable music rights. Randomising a bhajan, lofi track or ambience video does not grant permission to rebroadcast it, and a playlist setting cannot resolve a rights question.
If the local machine itself is the part you do not want to maintain overnight, StreamNeo can remove that specific burden by turning an uploaded video into a YouTube live stream without requiring your computer to stay on. It is YouTube-only, so compare whether a locally managed OBS playlist or an uploaded-file workflow fits how often you change and reorder the programme.
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
Does Shuffle Playlist reshuffle every time the playlist loops?
Do not assume it does. OBS documents randomised playback, but it does not promise that each loop boundary creates a fresh order. Test your installed version and settings if the distinction matters to your schedule.
Do I need VLC to use a VLC Video Source?
Yes. OBS says VLC must be installed for the VLC Video Source to appear, and a 64-bit OBS installation needs 64-bit VLC. Install the compatible version, reopen OBS, and check the Sources menu again.
Does this shuffle a YouTube playlist for viewers?
No. The VLC Video Source randomises local files played by OBS, and OBS sends its programme output to YouTube as an encoder. It does not change the order or behaviour of a playlist on YouTube.
Can I rely on YouTube to archive a continuous 24-hour stream?
No. YouTube says streams exceeding 12 hours may not be captured at all, and long-stream DVR rewind may be limited. If preserving the full programme matters, make and verify a local recording.