Skip to content
streamneo.
Streaming Settings13 min read

How to Set Up a YouTube Live Stream That Plays Videos in Random Order

Set up an OBS VLC Video playlist for shuffled, repeating playback and connect it to YouTube Live, with a practical preview and test checklist.

sn.
StreamNeoPublished 4 October 2026
Worth sharing?

To play videos in random order on a YouTube live stream, use OBS Studio’s VLC Video Source with a playlist of local files, then enable Shuffle Playlist. Turn on Loop Playlist as well if you want the playlist to start again after it reaches the end.

Here, “random order” means that OBS randomizes the playlist files; it does not promise a fresh independent choice after every video or specify when the order changes. You will also need permission to broadcast every file, a YouTube channel enabled for live streaming, and a preview test before you go live.

Build a playlist of authorized files

Start with the material, not the stream settings. Gather the video files you intend to play and put them in a folder that is easy to find. Make a separate copy of the playlist files if you need to edit or convert them, and keep the originals unchanged. A simple folder structure helps later if OBS loses track of a file after you move it.

Check that you have permission to broadcast every video, including music, artwork and any embedded footage. A file being publicly viewable online does not by itself give you permission to rebroadcast it. YouTube explains that a live stream can be interrupted or terminated after copyright or Community Guidelines strikes, and that Content ID claims may be made after a stream is archived. Read YouTube’s guidance on copyright issues with live streams and resolve rights questions before building a long-running playlist.

For devotional, regional music or ambience channels, review the source and permission for each track rather than assuming that a compilation is cleared because it has been posted elsewhere. If you have to remove material after the broadcast has started, the practical steps differ from setting up the playlist in advance; this guide on removing a copyrighted regional song from an active playlist stream covers that separate situation.

Confirm that the files play on the computer you will use. Open a few in a desktop player and check that picture and sound are present, that the audio is not unexpectedly loud or silent, and that the file is not corrupt. If files use a mix of formats, test each type rather than assuming that because one plays, all will. OBS relies on the available media components on your computer, so a file that fails locally is unlikely to become dependable when loaded into a scene.

It is also worth deciding what viewers should see between clips. The transition may be a brief blank or a change in picture, depending on the files and source behaviour. If a logo or explanatory card matters, include it in the video files themselves or arrange it as a separate OBS scene element. The playlist feature is for playing media files; it is not a complete programme schedule with titles, announcements or editorial rules.

Before moving on, decide whether the playlist should run once or repeat, and whether it is acceptable for a viewer joining part-way through a video to see only the remaining portion. A live stream is a continuous feed, not a video-on-demand queue that starts again for each viewer. That distinction is useful when planning a quiet music station or a local information loop: the stream’s current point is shared by everyone watching it.

Check YouTube access and prepare OBS

Confirm that the channel can go live before the day you need it. YouTube’s live-streaming eligibility guidance says that first-time enablement can take up to 24 hours. Its current requirements also include channel verification, age eligibility and no live-streaming restriction in the preceding 90 days. Check the official page for the current requirements rather than treating an old checklist as permanent.

Install OBS Studio and VLC. The OBS Project’s Media Sources documentation states that VLC is required for the VLC Video Source to be available. If you are using 64-bit OBS, install 64-bit VLC as well; mismatched architecture can prevent the source from appearing or working as expected. Once installed, reopen OBS and check that VLC Video is available in the source menu.

You do not need to build a complicated scene for a playlist. Create a scene for the stream, then add the VLC Video Source to it. You can add a background or a small channel mark as separate scene elements if they do not obscure the video. Keep a note of where the media files live and avoid renaming or relocating them after configuring the source, especially if you will restart OBS later.

For an always-on channel, think about what happens when you change the playlist. Updating file paths, replacing a media file or changing scenes during a live session can interrupt what viewers see. Make edits while testing or while offline where possible, then verify the saved scene before reconnecting to YouTube. A repeatable set-up is often more useful than extra graphics or scene layers.

Add an OBS VLC Video Source

In the scene you intend to broadcast, use the Sources panel to add a VLC Video Source. Give the source a recognisable name, such as “Main playlist”, so it is clear which one you are editing if the scene later contains a logo or other elements. In its properties, add the local video files to the playlist. The exact buttons and layout can differ between OBS versions, but the source properties are where the media list and its playback options are configured.

Add files in a deliberate way. Check that each intended item appears once, remove test clips, and use the source’s list controls if you need to reorder or delete an entry. The initial order is still useful as a readable list even when shuffle is enabled. Avoid using folders full of unrelated exports or temporary renders: a stray file may become part of the playlist if you add it accidentally.

Size and position the source in the preview canvas. If the source does not fill the canvas, choose a fit or stretch approach deliberately; stretching can distort the picture, while fitting may leave empty space if the video’s aspect ratio differs from the stream canvas. Check the result using representative files, including any vertical or unusually wide material. Keep key text away from the canvas edges where it may be difficult to see on a television or phone.

Play the source in OBS while you are still offline. Check that the first visible file is expected, audio meters move when sound is present, and the source is not hidden behind another layer. If you cannot hear playback through your monitoring device, that does not necessarily mean the stream feed has no audio; OBS monitoring and stream output are different paths. Confirm the audio mixer and later use YouTube’s preview to check the feed that is actually being sent.

If VLC Video does not appear in the Add Source menu, close OBS and check whether VLC is installed with the same architecture as OBS. Reopening OBS after VLC installation may be needed for the source to be listed. If it is listed but does not load files, test a known-good local file and confirm that its path remains valid. Fix this before connecting the channel rather than diagnosing file access during a live broadcast.

Enable Shuffle Playlist and Loop Playlist

Open the VLC Video Source properties and turn on Shuffle Playlist. This is the setting that randomizes the playlist files for playback. The OBS documentation describes the result at the playlist level; it does not establish a guarantee that the next clip is independently selected at each transition, that every file will appear evenly, or that a particular reshuffle happens at a known moment. Describe your setup as shuffled playlist playback and do not promise viewers a particular sequence or selection pattern.

The distinction matters if you are planning a schedule. Shuffle is not a clock or a rule such as “play every file once, then reshuffle”. The official reference does not specify the full lifecycle of the order, so avoid relying on assumptions about when the list changes. If a specific item must play at a particular time, a shuffled playlist is not the right way to guarantee that outcome; arrange a controlled sequence and test the method you choose.

Turn on Loop Playlist if you want playback to restart after the source reaches the end of its playlist. OBS documents loop as restarting the source when it runs out of media. If loop is off, do not assume that the source will continue indefinitely once the final file has finished. Decide based on the channel’s purpose: a finite event can end with the playlist, while a station meant to stay on needs a repeat plan.

These are separate settings. Shuffle changes the playlist playback order; loop determines whether the source starts again after it runs out of media. Enabling one does not mean you have enabled the other. If you want a shuffled playlist that repeats, check both boxes in the source properties, then test beyond a single file transition so you know the configured source behaves as you expect in your installed version.

Use a small test playlist first if you are unfamiliar with the controls. Include a few short clips that are easy to recognise, enable the intended settings and observe playback. This is a way to confirm that the source loads and continues, not a way to prove a guaranteed random distribution or a particular reshuffling pattern. Once the source behaves correctly, replace the test items with the full, authorized playlist and review the list again.

For readers who are comparing media playback approaches, OBS gives you a scene-based encoder workflow; another playlist guide explains GStreamer queue and multiqueue settings. That is a different technical route and not needed for the OBS steps here. Stay with one playback method during the test rather than layering tools together without a reason.

Connect OBS to YouTube Live

In YouTube Studio, open Create → Go Live and create a stream or choose a scheduled stream in Live Control Room. Find the stream URL and stream key shown for that stream, then enter them in OBS’s streaming settings. YouTube’s encoder setup instructions explain the current process. The stream key lets an encoder send your feed to the channel, so treat it like a password: do not publish it, include it in a screen recording or share it with someone who does not need access.

If you are scheduling a broadcast, keep the distinction between sending the encoder feed and making the event public. Start streaming from OBS, then wait for the preview in Live Control Room. Check that the correct scene appears and that audio is present before selecting Go live. If you start the encoder but do not complete YouTube’s go-live step for a scheduled event, the feed may be present in the control room without the audience-facing event having started. Follow the labels currently shown in YouTube Studio.

YouTube recommends RTMPS for encrypted ingest. In OBS, use the server address and stream details displayed for your event, rather than reusing a key or URL copied from an old tutorial. Settings and interface labels can change. Keep the current YouTube encoder page open if you need help identifying the fields, and avoid pasting the stream key into public chat or an article draft.

For video quality, choose an output you can reliably send over your upload connection. YouTube’s encoder table varies by codec, resolution and frame rate; its current H.264 guidance lists 5 Mbps recommended at 1080p30 and 14 Mbps at 1080p60. Those are recommendations for those specific outputs, not a promise that every connection can sustain them. Check YouTube’s current encoder settings and bitrate table, select the row for your chosen output and leave upload capacity for other network use.

A lower resolution can be the more practical choice if your connection is shared or variable. A local fibre plan, for example, does not guarantee that every device on a busy home or shop network has stable upload capacity at the time of a broadcast. Test the same computer, connection and OBS output you plan to use. If the preview shows connection problems, reduce the output burden or address the network issue before inviting viewers.

When the stream is finished, use the controls in YouTube Studio to end the event and stop sending from OBS as directed by the current interface. YouTube says streams under 12 hours are automatically archived. If you plan to keep an archive, review the recording for rights issues and confirm whether its visibility and availability suit your channel.

Preview and test the feed

Do a complete check before announcing the stream. Start the OBS encoder and inspect YouTube’s preview for picture, audio, framing and the correct playlist source. Watch at least enough playback to see that a clip ends and another begins. If Loop Playlist is enabled, test that the source continues as intended; do not infer from one transition that shuffle will produce a specific pattern over a longer period.

Check the OBS audio mixer while the video plays. Confirm that intended audio is present and that other sources, such as a microphone or desktop audio, are not accidentally being sent as well. Listen to YouTube’s preview using headphones or a device separate from the streaming computer if available. A meter moving inside OBS is helpful, but listening to the actual preview catches issues such as a missing source, the wrong scene or an unexpectedly quiet mix.

YouTube recommends testing and monitoring encoder streams. Use the stream health indicators in Live Control Room and respond to warnings rather than assuming a picture in the preview means the stream is stable. For a long session, check that the computer will not sleep, that OBS remains open and that no scheduled operating-system update or other task is likely to interrupt the session. A shuffled playlist does not itself keep the encoder connected or the computer awake.

If you operate a 24/7 channel, make a simple handover checklist: confirm the scene, playlist, audio, stream key and event status; record who can intervene; and decide how you will check the feed during the night. This is an operational routine, not an uptime guarantee. For a devotional channel, the separate guide on checking whether a devotional stream is actually running 24/7 offers a useful monitoring perspective.

A computer-based OBS setup gives you direct control over scenes and the local playlist, but the computer must remain on and the broadcast must be watched for problems. If leaving a computer running is the specific obstacle, StreamNeo can remove that particular burden by turning an uploaded video into a YouTube live stream that runs with your computer off; it does not change the need to check rights, prepare the channel and verify what viewers receive. Decide based on whether you need OBS scenes and hands-on control, or whether an uploaded-file workflow better fits the channel.

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 pick a new video at every transition?

The OBS documentation says Shuffle Playlist randomizes the playlist files. It does not promise a fresh independent choice after every video, a guaranteed distribution, or a defined reshuffle time, so avoid describing it that way.

Do I need VLC installed for the OBS playlist source?

Yes. The VLC Video Source requires VLC to be installed, and OBS’s documentation advises matching architecture; use 64-bit VLC with 64-bit OBS. If the source is missing, check that installation and restart OBS.

Will the stream continue when the playlist ends?

Enable Loop Playlist if you want OBS to restart the source after it runs out of media. Shuffle and loop are separate controls, so check both settings if you want shuffled playback that repeats, then test them before broadcasting.

Can I use any video I find online?

No. Make sure you have the rights needed to broadcast every video and its included audio. Public availability does not automatically grant rebroadcast permission, and YouTube’s copyright guidance explains that live streams and archived streams can be subject to enforcement.

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 Streaming Settings guides ↗ · All topics ↗