Skip to content
streamneo.
Setup Guides11 min read

How to Make OBS Play Videos in a Random Order on YouTube Live

Use OBS’s VLC Video Source playlist and Shuffle Playlist setting to randomise playback, then test the YouTube Live feed before going public.

sn.
StreamNeoPublished 4 October 2026
Worth sharing?

To make OBS play videos in a random order on YouTube Live, add a VLC Video Source, put your files in its playlist and enable Shuffle Playlist in the source properties. This randomises the listed media rather than scheduling it: OBS does not promise a particular sequence or explain a repeat pattern.

You need VLC installed, with its architecture matching OBS, before the VLC source will be available. Once the playlist is ready, configure OBS to send its output to YouTube and check the preview, picture and sound before relying on it for a public broadcast.

Prepare your files and channel

Start with the files you actually intend to play. Keep them in a folder you can find easily, and make sure the computer running OBS can access each one. A file that has been moved, renamed or disconnected from an external drive may no longer be available to the source. If you plan to use a removable drive, leave it connected for the test and for the broadcast.

Check that the videos play locally and that their picture and audio are usable. Consider whether their dimensions or aspect ratios differ; a portrait clip placed among widescreen videos may leave empty space or appear cropped in the scene. OBS lets you position and resize a source in the preview, but one layout may not suit every file. Use a representative sample when checking the scene rather than assuming all clips will fill it in the same way.

You also need access to YouTube live streaming on the channel you intend to use. YouTube says a channel must be verified and must not have live-streaming restrictions in the preceding 90 days; for first-time activation, enablement may take up to 24 hours. Check the current YouTube Help requirements for live streaming before planning a first broadcast, since access and account status are separate from whether OBS is configured correctly.

The videos should be files you are authorised to broadcast. Installing OBS, VLC or enabling a YouTube stream does not grant permission to use music or footage belonging to someone else. If this playlist is part of a recurring channel, the live-streaming checklist is useful for the checks around the software setup, including what to verify before and during a stream.

Install VLC that matches OBS

The VLC Video Source depends on VLC being installed. Installing OBS alone is not enough: if VLC is missing, you may not see the VLC Video Source in the source menu or it may not behave as expected. Install VLC from its official download source, and confirm the version architecture before opening OBS.

On Windows, check whether your OBS installation is 64-bit or 32-bit and install the corresponding VLC architecture. Most current installations are 64-bit, but verify rather than assuming. A mismatch can prevent OBS from finding the VLC components it needs. If you have just installed VLC and the source is still missing, close and reopen OBS so it can detect the installation; if necessary, check the installed architecture again.

OBS documents VLC Video Source availability on Windows, macOS and Linux, with the VLC dependency. Its Media Sources documentation distinguishes the ordinary Media Source, intended for a media file, from the VLC Video Source, which supports a playlist. That distinction matters here: for a list of videos with a shuffle control, use the VLC source rather than adding separate single-file sources and trying to arrange them manually.

If a single video is all you need, OBS’s ordinary Media Source is simpler and avoids setting up a playlist. If you want several files in one source, VLC’s playlist controls are the relevant route. The comparison is about fit for this task, not quality or reliability claims:

OBS source Best fit Multiple files in one playlist? VLC required?
Media Source One video or audio/video file No, it is for an individual media file No
VLC Video Source A list of videos managed together Yes Yes

Do not add a third-party plugin just to obtain basic playlist shuffling. The built-in VLC Video Source is the documented workflow. If VLC is installed and matched but the source remains unavailable, restart OBS and recheck the installation before changing the scene or rebuilding the playlist.

Add a VLC Video Source

Open the OBS scene that will carry the videos. In the Sources dock, select the plus button, choose VLC Video Source, and create a new source or select one already in use. Give it a clear name such as “Video playlist” if the scene has several sources; the name is for your own reference and does not appear in the broadcast.

After adding it, the source should appear in the scene preview. Position and size it to suit the output. You can use the preview to fit or crop the source, but check the result with different videos if the files vary in shape. A source that looks correct with one widescreen file may not frame a vertical clip well.

If the scene includes a logo, ticker or other overlay, check the order in the Sources dock. Sources higher in the list appear above sources below them, so a full-screen video source placed above a logo can cover it. The OBS Sources Guide explains source ordering and transforms. Make the adjustment in the scene before testing the stream, rather than discovering that an overlay is hidden after going live.

The VLC Video Source is a single source containing the playlist, not a row of individually timed scene changes. That makes it easier to keep the scene simple: the video display can remain in place while the source moves through the files. If you need different graphics or layouts for each programme, that is a separate scene or playout design decision; shuffle by itself does not arrange graphics or tell viewers what is coming next.

Populate the playlist

Open the VLC Video Source properties and add the intended media files to its playlist. Depending on your OBS version, the controls may let you add files individually or select multiple files from a file picker. Check the resulting list before closing the properties: it is easy to omit a file, add a duplicate or select a temporary version with an unclear name.

The order shown in the file list is useful when shuffle is off, but with shuffle enabled it is not a schedule. Do not rely on the visible list to predict which video will play first or what will follow. If the order is important for a programme—such as an introduction followed by a particular announcement—use a sequence you control rather than treating shuffle as a way to schedule those items.

Think about the way files transition as well. Videos with long silent openings, different audio levels or markedly different brightness may make the playlist feel uneven even if every file is technically playing. Test a few transitions with the actual list and listen at the level viewers will hear. If the channel is meant to run for long periods, the guide to keeping video quality consistent across a 24/7 playlist covers a related problem: a rotating list is easier to watch when its source material is prepared consistently.

OBS’s VLC source properties include Loop Playlist as well as Shuffle Playlist. Leave Loop Playlist enabled if you want the playlist to continue after reaching its end; OBS lists it as on by default. Looping and shuffling have different jobs: looping governs whether playback returns to the list after it ends, while shuffle asks the source to randomise the media rather than retain the listed order. Neither setting turns the playlist into a timed broadcast schedule.

Enable Shuffle Playlist

In the VLC Video Source properties, turn on Shuffle Playlist and apply the change. OBS describes the control as specifying whether the source should “randomize the media files being played or stay in the order of the file list.” In other words, the setting changes how the source uses the listed files; it is not a calendar, a rotation plan or a control for choosing a specific next video.

After enabling it, preview playback rather than judging the setting from the checkbox alone. The first file you see may not tell you anything about the full behaviour of the playlist. OBS’s documentation does not specify a particular random algorithm, guarantee a mathematically uniform distribution, or promise that every file will play once before a repeat. Avoid building a programme around any of those assumptions.

If you need a deliberate sequence—for example, a daily prayer followed by a fixed set of announcements—shuffle is the wrong control for that section. Keep those items in a known order, or use a separate scene or workflow designed around scheduling. For a general mix of devotional videos, ambience clips or study sessions where the precise order is not important, Shuffle Playlist is a direct way to vary playback from the file list.

Connect OBS to YouTube Live

Once the scene and playlist are ready, create or select the live stream in YouTube Studio’s Live Control Room. In OBS, choose YouTube as the service if it is available in the stream settings. Otherwise, use the stream URL and key supplied by YouTube in OBS’s custom server settings. YouTube’s encoder setup instructions describe the hand-off between the Live Control Room and an encoder.

Treat the stream key as a credential. It tells OBS where to send the feed; do not share it in screenshots, public chat or documents that other people can access. If you think it has been exposed, use YouTube’s controls to reset it and update OBS with the new key. A correct playlist cannot compensate for a wrong destination or a key entered into the wrong channel’s settings, so confirm the selected account and stream before starting.

In OBS, confirm the selected scene, audio input and output settings before clicking Start Streaming. The VLC playlist is only one source in the scene: desktop audio, a microphone or another source can add sound you did not intend to broadcast. If there is no need for a microphone, check that it is muted or absent. If the videos carry their own sound, make sure that source’s audio is visible on the OBS mixer and is not muted.

The computer running OBS needs to remain on, connected and able to play the files for this workflow to continue. If your goal is specifically to have a file broadcast while your own computer is switched off, this local OBS setup does not meet that requirement. StreamNeo can remove that particular need to keep a computer running by turning an uploaded video into a YouTube live stream, but it is YouTube-only and does not replace the local playlist workflow when you need to shuffle a set of files inside OBS.

For a recurring channel, decide whether operating a local computer overnight suits you. A playlist on an older laptop can be practical for a modest setup, but you still need to account for power, connection and the machine staying awake; see the old-laptop playlist setup guide for that separate operating choice. This article’s shuffle steps remain the same whether the stream is a one-off or part of a longer-running channel.

Preview and verify playback

Before a public broadcast, run a short test or recording. OBS recommends testing the output, and YouTube’s streaming guidance advises checking the stream preview and integrity before an event. Use the test to verify more than whether the status indicator says the stream is connected.

Watch the YouTube preview and confirm that the video is visible, framed correctly and not covered by an overlay. Listen for the expected audio, check for unexpected microphone or desktop sound, and make sure the level is not clipping or too quiet. Let the playlist move between files so you can see whether the next item appears and whether the transition is acceptable. A single opening frame does not confirm that all the files can be read.

Check the shuffle setting in the source properties if the files are still playing in the listed order. Confirm you edited the VLC Video Source in the active scene, not another source or scene with a similar name. If a file does not play, test it locally and check that its current path is still accessible. If the preview is blank, confirm VLC is installed and that its architecture matches OBS before troubleshooting unrelated YouTube settings.

A test cannot prove what order future playback will take. It can show that shuffle is enabled, the files are accessible and the output reaches YouTube. For a live event, use a test stream or an unlisted setup where practical, and then switch to the intended stream only after you have checked the destination, visibility and stream key. YouTube’s controls and stream status can change, so consult the current official guidance rather than relying on an old screenshot or remembered menu label.

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 OBS guarantee a different order every time?

No. OBS says Shuffle Playlist randomises media rather than retaining the listed order, but its documentation does not promise a particular sequence or repeat policy. Treat the order as unpredictable and do not use shuffle for content that must play at a precise time.

Can I use the ordinary Media Source for several videos?

The ordinary Media Source is intended for an individual media file. For a playlist with shuffle controls, add a VLC Video Source and install VLC first. If you only need one video, Media Source is the simpler fit.

Why can’t I see VLC Video Source in OBS?

VLC must be installed for the source to be available. On Windows, check that VLC and OBS use matching architectures, then restart OBS and check the source menu again. Also confirm that you are adding a source in the scene you intend to use.

Does Shuffle Playlist schedule videos for particular times?

No. It randomises the files in the playlist; it does not set start times or a programme order. If a particular video must play before another, use a workflow that preserves that sequence instead of relying on shuffle.

YOU’VE REACHED THE END

Keep the ideas coming.

More guides, useful tools and a little help for your next broadcast.

Back to the journal ↗
YOUR NEXT READ

A little more to explore.

More Setup Guides guides ↗ · All topics ↗