For a playlist of video files saved on your computer, use OBS Studio's VLC Video source. Install VLC with the same architecture as OBS, add your files to the source playlist, then connect OBS to YouTube Live with your stream key.
This is different from importing a YouTube playlist URL into OBS. OBS documents VLC Video for local media files; if the videos are playing on a website, window or display capture is a separate workaround with its own audio and reliability checks.
Choose where the videos will come from
Start by deciding where the playlist actually lives. The best OBS method depends on whether you have local video files, one individual file, or content playing inside another application.
| Workflow | When it fits | Main checks |
|---|---|---|
| VLC Video playlist | Several local files should play in sequence, shuffle, or a loop | VLC must be installed and its architecture must match OBS |
| Media Source | One local video file is needed in a scene | Configure the file, looping, and visibility behaviour separately |
| Window or display capture | A browser or another application is already playing the content | You are capturing the application, not importing a YouTube playlist into VLC; audio depends on your operating system and setup |
For a devotional channel, for example, you might have separate locally saved videos for morning prayers, bhajans, and evening music. The VLC Video source can play those files from one playlist inside an OBS scene. A study channel might instead use one long lesson as a Media Source, while a business could capture a browser showing a permitted presentation or catalogue.
OBS does not document a direct method for taking a YouTube playlist URL and placing it into the VLC Video playlist. Do not paste a YouTube playlist link into the source and expect OBS to fetch and play it as local media. If the intended material exists only on YouTube, first check whether you have the right to rebroadcast it, then consider whether browser capture is appropriate.
The location of the files also matters. A playlist that works while you are testing can fail later if the files are moved, renamed, disconnected from an external drive, or stored in a folder that is not available after a restart. Keep the media in a stable folder and avoid changing its location after you build the scene.
If your aim is a long-running channel rather than a short event, decide whether the computer can remain on and connected for the full period. A practical overview of the wider planning is covered in how to set up a 24/7 stream schedule viewers can rely on.
Install OBS and the matching VLC version
Install OBS Studio from the official OBS Project website and VLC Media Player from the official VideoLAN website. Avoid downloading either application from an unofficial mirror when you are setting up a channel that may run unattended.
OBS's documentation states that the VLC Video source requires VLC to be installed. It also specifies that 64-bit OBS requires 64-bit VLC. In other words, installing VLC is not enough if the two applications use different architectures. Check which OBS version you installed and select the corresponding VLC version.
After installing both applications, close and reopen OBS. The VLC Video option may not appear in the Sources menu until OBS can detect the VLC installation. If it is still missing, check the architecture first rather than rebuilding your scene. A mismatch is a common reason for looking in the wrong place for the source.
You do not need a separate physical streaming device for this software workflow. Your computer still needs to decode the video files, render the scene, encode the output, and send it to YouTube, so test the actual computer and network connection that you intend to use. A setup that works on a desk for a few minutes is not automatically suitable for an overnight stream.
Create a new scene in OBS, or select the scene where the playlist should appear. A scene is a collection of sources. The source list also controls the layer order, so an image, text label, clock, or logo can sit above the video if you add one later.
Add the VLC Video playlist source
In the Sources dock, click the plus button and choose VLC Video. Give the source a useful name, such as “Main playlist”, rather than leaving a generic label that will be difficult to identify later.
The source properties include a playlist area where you can add local media files. Add the files you want OBS to play. You can normally select more than one file when browsing, or add files individually if you want to build the order carefully.
After adding the files, check the list from top to bottom. The order shown in the source is important when shuffle is disabled. Put the first video at the top, followed by the next video, and so on. If a file has an unclear name, rename the file before adding it or use a naming pattern that sorts naturally, such as 01-intro, 02-main, and 03-closing.
Once the source is in the scene, look at the preview. You can drag its edges to resize it and move it into position. If the video does not fill the canvas, decide whether you want letterboxing, cropping, or a revised source layout. Stretching a portrait video across a wide canvas can make people and text look distorted, so a simple background behind the video may be preferable.
The OBS Sources Guide explains the relationship between scenes and sources, including capture sources and how sources are positioned. It is worth checking before you add several layers, because a hidden or covered source can look like a playback failure when it is only underneath another source.
Also check the visibility setting for the VLC source. OBS documents a default behaviour that stops playback when the source is not visible and restarts it when it becomes visible. That can be useful when a scene contains several alternatives, but it can also restart a playlist unexpectedly if you switch scenes. For a single-scene channel, keep the source visible and test what happens if you hide and show it.
Set order, shuffle, and looping behaviour
The VLC Video source is useful because its playlist controls are separate from the YouTube broadcast itself. You can choose a fixed sequence, random playback, and whether the playlist should repeat when it reaches the end.
For a scheduled sequence, leave shuffle off and arrange the files in the intended order. This is suitable for a news loop, a series of lessons, or a devotional programme that should follow a morning-to-evening pattern. If you need a different order for a different day, change the playlist deliberately and test the first transition.
Enable shuffle when the order is not important and you want the files selected randomly. Random playback is not the same as a carefully scheduled programme. It can place two similar clips together, play a long item earlier than expected, or make it difficult to tell what will appear next. That may be fine for ambience, but less suitable for a channel with announcements or time-sensitive segments.
Decide whether the playlist should loop. OBS documents loop playlist as enabled by default and shuffle as disabled by default, but confirm the settings in your installed version rather than relying on memory. A looping playlist will begin again after the last file. With loop disabled, playback will eventually finish, and the scene may show no useful moving content afterwards.
Do not confuse looping the local playlist with looping the YouTube broadcast. The local source determines what OBS plays. YouTube receives the encoded programme OBS sends until you stop the live broadcast or the connection ends. The two layers should be tested separately.
Pay attention to transitions between files. A short black frame, a change in audio level, or a different aspect ratio may be normal for the files themselves. Watch at least one complete transition before going public. If your playlist contains music or prayer content, listen for abrupt volume changes as well as looking for a picture.
Rights remain your responsibility. Confirm that you have permission to rebroadcast every video and every audio track in the playlist. YouTube's live-streaming policies require live content to follow its Community Guidelines and Terms of Service, but those rules do not establish that a particular file is yours to broadcast.
For channels built around repeated visual loops, you may also find it useful to compare the production choices in how to stream nature sounds and meditation music without a black screen. The same principle applies here: check what viewers see during every part of the loop, not only the opening clip.
Use Media Source for one local file
Use OBS's built-in Media Source when you need one local file rather than a playlist. This is the simpler choice for a single pre-recorded lecture, a business presentation, or one long ambience video.
In the Sources dock, click the plus button and choose Media Source. Create a name for the source, browse to the file, and review the available playback options. If that one file should repeat, enable its loop option. If it should play once and then stop, leave looping off and observe what the scene shows at the end.
The distinction matters because the OBS documentation describes playlist support under VLC Video, while Media Source is intended for adding media files as sources. Adding several files as separate Media Sources does not create the same playlist behaviour automatically. You would need to manage those sources and scene changes yourself, which is more work and can introduce timing problems.
You can still use a Media Source alongside other sources. Add a logo, a text label, a background image, or a camera feed in the same scene if that suits the programme. Check the source order so the video is not covered by a full-screen image or browser source.
If the video appears black, first check that the source is visible and that the file plays normally outside OBS. Then check the preview, the source dimensions, and the file path. For a troubleshooting checklist focused on this symptom, see why a YouTube loop stream can show a black screen. A black preview in OBS should be fixed before you connect the stream to a public event.
Connect OBS to YouTube Live
Open YouTube Studio and go to the Live Control Room. Create or select the encoder stream, then locate the stream key and enter it in OBS's stream settings. Treat the key like a password. Do not publish it in a screenshot, paste it into a public document, or send it to someone who does not need access.
YouTube provides its current encoder instructions in Get started with live streaming. The exact labels can change, so use the current YouTube Studio interface when you configure the event rather than following an old screenshot.
In OBS, open Settings and select Stream. Choose YouTube as the service if it is available, or use the server and key supplied by YouTube. Paste the key carefully, save the settings, and return to the main OBS window. Do not start streaming yet.
Before connecting, check the YouTube event's visibility. YouTube allows streams to be public, private, or unlisted. Use a private or unlisted test when you are checking the complete setup, then confirm the intended setting before the public broadcast. A correct OBS configuration can still produce the wrong result if the event has the wrong visibility.
Your channel may also need to meet YouTube's current eligibility requirements. YouTube's live-streaming guidance says a channel must be verified and must not have had a live-streaming restriction in the previous 90 days. Check YouTube Studio and the current YouTube live-streaming tips page for the account's present status rather than assuming an older channel setting still applies.
If the purpose is an always-on channel but you do not want the computer to remain awake all night, StreamNeo removes the need to keep this local OBS playback running: upload the finished video, provide the YouTube stream key, and let the broadcast run while your computer is switched off, with automatic monitoring and restart if it drops.
Preview before starting the public stream
A preview is not an optional final glance. It is where you catch the problems that are invisible when you only inspect the playlist settings: missing audio, a cropped title, an incorrect scene, a stalled file, or the wrong YouTube visibility.
First, start the playlist in OBS and watch the local preview. Confirm that the first file appears, the picture fills the intended area, and any overlays are readable. Listen through the computer's normal audio output or headphones. Do not assume that audio is included simply because the video file has sound.
Next, use YouTube's Live Control Room preview before beginning the public broadcast. YouTube recommends testing a live stream in advance, checking that the event is accessible, and monitoring audio and video quality. Watch the YouTube preview long enough to confirm that the connection is reaching YouTube and that the received picture and sound are present.
Test a file transition. Let one video end and the next one begin. If the playlist is set to loop, observe the end-to-start transition as well. A source can look correct while paused and still fail when the file changes.
Test the behaviour you expect overnight. If the source becomes hidden, does it stop and restart as documented. If the computer sleeps, does the broadcast continue. If the network reconnects, what happens in YouTube Studio. OBS and YouTube can report different parts of the same problem, so note which application shows the failure.
For a longer unattended broadcast, keep the computer connected to power, prevent sleep, and avoid automatic updates or restarts during the planned stream. Use a wired network connection where practical, and do not run unrelated heavy applications while OBS is encoding. These are operating precautions, not guarantees of uninterrupted streaming.
Check the first part of the live event after it starts. Keep the Live Control Room open when possible and monitor for dropped connection, audio silence, or a frozen picture. If you are running a local news loop or a small business channel, have a clear decision about when to stop the event rather than leaving viewers with a failed scene.
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 OBS play a YouTube playlist directly?
The documented VLC Video route is for a playlist of local media files. OBS does not document the VLC source as a direct importer for a YouTube playlist URL. If you need to show a playlist playing in a browser, window or display capture is a separate workflow, and you must check its picture, audio, and rights.
Why is VLC missing from my OBS Sources menu?
The VLC Video source requires VLC Media Player to be installed. OBS also specifies that 64-bit OBS requires 64-bit VLC, so check that both applications use the same architecture, then restart OBS.
Should I use VLC Video or Media Source?
Use VLC Video when several local files need to play as a playlist with order, shuffle, or looping. Use Media Source when one local file is enough. Adding several Media Sources does not provide the same documented playlist control.
Do I need to test the stream privately first?
A private or unlisted test lets you check the OBS preview, YouTube preview, audio, transitions, and visibility without immediately presenting the event as public. Confirm the current YouTube account requirements and event settings before switching to a public broadcast.