Yes. OBS can play different local video files one after another and return to the first file automatically. Add a VLC Video source, place the files in its playlist, and leave Loop Playlist enabled.
YouTube is only the destination for the feed in this setup. OBS plays the files, combines them into the scene, encodes the result, and sends that feed to YouTube through the stream URL and stream key.
How OBS looping works
The important distinction is between a playlist inside OBS and a playlist on a YouTube watch page. YouTube does not select local files for an encoder stream. The sequence is created in OBS before the outgoing video reaches YouTube.
A VLC Video source is the OBS source designed for several media files. OBS describes it as supporting a playlist, unlike Media Source, which is intended for one local file. When the VLC playlist reaches its final item, Loop Playlist starts the sequence again from the beginning.
For example, suppose your devotional channel has these files:
morning-aarti.mp4bhajan-loop-1.mp4evening-prayer.mp4
With those files in that order and Loop Playlist enabled, OBS sends the first file, then the second, then the third, and then begins with the first again. The YouTube live stream remains the same broadcast while OBS changes the content in its outgoing scene.
This differs from using a standard Media Source. Media Source can loop one file, but it is not the built-in multi-file playlist option. A simple comparison is useful:
| OBS option | Files | Repeat behaviour | Dependency | Best suited to |
|---|---|---|---|---|
| Media Source | One file | Loops that file | OBS media playback | A single sermon, announcement or background video |
| VLC Video source | Several files | Loops the playlist | VLC must be installed | A repeating devotional, music, study or news sequence |
The VLC source is therefore the appropriate starting point when “different videos” means a defined sequence of local files. If you only need one file to replay, Media Source is simpler.
Before building a long overnight broadcast, decide whether your order matters. Shuffle Playlist is separate from Loop Playlist. The documented default for shuffle is off, so the listed order is normally used unless you enable random playback yourself. For a prayer schedule, news loop or lesson sequence, keeping shuffle off is usually easier to check.
If your broader plan is a continuous prerecorded channel, also consider the operating arrangement described in this guide to stream a podcast playlist continuously on YouTube from a PC in India. The file order is only one part of a reliable overnight setup.
Install VLC before adding the source
The VLC Video source depends on VLC being installed on the same computer as OBS. If VLC is missing, the source may not be available or may not work correctly when you try to open its properties.
Download VLC from the official VLC website rather than from an unfamiliar software mirror. Match VLC's architecture to OBS. OBS notes that 64-bit OBS requires 64-bit VLC. If you use 64-bit OBS, install the 64-bit build of VLC.
After installing VLC, restart OBS if it was already open. Then check the source list again. The exact appearance can vary with the OBS version and operating system, but the source is normally added from the Sources dock in the scene you intend to stream.
Do not install VLC merely as a media player on another device and expect OBS to use it over your network. The dependency is local to the computer running OBS. The video files also need to be available on that computer when the playlist runs.
Use a stable folder structure before you create the playlist. For example, you might keep the files in:
D:\YouTube\DevotionalChannel\playlist\
or, on a Linux system:
/home/channel/devotional-playlist/
The folder itself is not important. Consistency is. If you later move a file, rename it, disconnect an external drive or change a mounted path, OBS may no longer find the location saved in the playlist.
Check the files before adding them. Open each one in a normal player and confirm that it has both the expected picture and sound. A playlist can move on to the next file even when one item has an encoding or path problem, so checking the source files first is quicker than diagnosing a silent overnight stream later.
Add a VLC Video source in OBS
Open the OBS scene that will be sent to YouTube. In the Sources dock, select the plus button and choose VLC Video. Give the source a useful name, such as Main playlist, Bhajan sequence or News loop, rather than leaving several sources with indistinguishable names.
OBS's Sources Guide documents adding sources from the Sources dock. The source must be added to the scene that is live. Adding a VLC source to a different scene does not make it part of the broadcast unless you switch to that scene or use it through a scene arrangement.
When the VLC Video source properties open, look for the playlist area. This is where you add the local files. Do not choose Media Source by mistake if your requirement is a sequence of multiple videos. Media Source's Loop option applies to its single selected file.
The preview may appear black, may show the first frame, or may not display a moving picture until playback begins, depending on the file and the OBS state. That alone does not prove the setup has failed. Save the source properties, then use the OBS preview and controls to check the result before connecting the live broadcast.
Resize the source to fit the canvas. A source that is playing correctly can still appear cropped, stretched or surrounded by empty space if its dimensions do not match your scene. Use the usual OBS transform controls to fit it to the canvas, then check a few files with different shapes. A vertical phone recording and a widescreen recording may not occupy the scene in the same way.
Keep overlays separate where possible. A logo, clock or text layer can sit above the VLC Video source in the Sources list. This makes it easier to replace the playlist later without rebuilding the whole scene. It also helps you identify whether a problem belongs to the video source or to another scene element.
Add the files to the playlist
In the VLC Video source properties, use the playlist controls to add the video files. You can select the files individually or select several files together, depending on your operating system's file picker. Add only the files you have checked and intend to include in the loop.
Review the order after adding them. A devotional channel might place an opening title before the first bhajan, while a study channel might arrange lessons from introductory material to revision. The order shown in the VLC playlist is the order OBS uses when shuffle is off.
Use filenames that make the order clear. Prefixes such as 01, 02 and 03 can reduce mistakes when you are selecting a group of files, although the playlist order should still be checked inside OBS. File names are not a substitute for verifying the actual list.
If two files have similar names, play each one before going live. A title such as prayer-final.mp4 may not tell you whether it contains the version you want. For a channel watched by people at a particular time of day, putting the wrong item into the sequence can be more noticeable than a short technical interruption.
The playlist stores references to files rather than creating a new copy of every video inside OBS. That means the original files must remain available. Do not add files from a temporary download folder and then clean that folder before the broadcast. Likewise, avoid relying on a removable drive unless you have tested that the drive remains mounted and receives stable power.
Editing needs special care. The built-in VLC source documentation establishes playlist playback and looping, but it does not promise that changing the playlist during playback will preserve the current file position or avoid a restart in every configuration. If you add or remove items while a live broadcast is running, make the change during a controlled test first.
If your main problem is keeping the computer running rather than arranging the files, compare the practical trade-offs in YouTube 24/7 streaming service vs running OBS on a VPS. That is a separate decision from configuring the VLC playlist.
Enable and check Loop Playlist
Open the VLC Video source properties and find Loop Playlist. Leave it enabled if you want the complete list to start again after the last file. OBS documentation lists Loop Playlist as enabled by default, but you should still look at the setting rather than relying on a default that may have changed in your installation.
Loop Playlist is not the same as Shuffle Playlist. Loop controls what happens after the final item. Shuffle controls the order in which items are selected. For a planned schedule, leave shuffle off and use the visible order in the playlist.
A useful short test is to create a temporary playlist with two small files. Start playback, wait for the first file to finish, and watch for the second. Then wait for the second to finish and confirm that the first begins again. This checks the transition and the return to the beginning without requiring you to wait through a full channel programme.
Watch the source during the transition. The picture may briefly change as one file ends and another begins. Listen for a hard cut, silence, unexpected background audio or a change in volume. A correct loop setting cannot repair a file with a missing audio track or a transition that was created badly in the source video.
Also check the source's visibility behaviour. The documented default is to stop when the source is not visible and restart when it becomes visible. “Not visible” refers to the source's visibility in the OBS scene, not simply whether the OBS window is minimised or covered by another application.
This matters if you use several scenes. Switching away from the scene may cause the VLC source to stop or restart according to its visibility settings. If you want a playlist to continue while other scene elements change, test that arrangement explicitly. A source that is hidden by a scene change is not the same as a source that is merely behind another layer.
Do not assume that editing the playlist during a live broadcast is harmless. If you need to replace a file, prepare a second playlist or test the change first when practical. The official built-in documentation does not provide a blanket guarantee that live edits preserve the current playback position or stream continuity.
Connect OBS to YouTube Live
Once local playback works, connect OBS to YouTube. In YouTube Live Control Room, choose the encoder workflow and obtain the stream URL and stream key shown for the broadcast. You then enter those details in OBS's streaming settings.
YouTube's official guidance explains how to stream with an encoder, while its stream-settings guidance explains how a stream key directs the encoder to the intended destination. Follow the current instructions in YouTube's official live-stream settings help, because account screens and available options can change.
Treat the stream key as confidential. Anyone who obtains it may be able to send a feed to that destination. Do not paste it into a public document, send it in a screenshot, or include it in a tutorial image. If you believe it has been exposed, use YouTube's current controls to replace or reset it.
In OBS, select YouTube as the service if it is available in your version, or use the encoder details supplied by YouTube. Enter the stream key carefully, then confirm that the selected scene contains the VLC Video source. It is possible to connect OBS successfully while sending the wrong scene, a blank scene or an overlay without the playlist.
Start with an unlisted or otherwise controlled broadcast if you are testing a new sequence. Confirm the picture and audio in YouTube's preview before treating the setup as ready for viewers. YouTube receives the encoded feed from OBS; it does not know which local file is currently playing or manage the order of those files for you.
If the broadcast stops after a period of time, do not immediately blame the playlist. Investigate the computer, network, OBS log and YouTube status separately. This troubleshooting guide on why an FFmpeg YouTube stream can stop after a few hours covers a related distinction between local playback and the outgoing stream.
For people who do not want a home computer to remain on and watched overnight, StreamNeo removes that particular operating task by taking an uploaded video, connecting it to your YouTube stream key, and keeping the resulting broadcast running from the cloud with automatic monitoring and restart. It is YouTube-only, so the choice still depends on where you want to publish and how much control you need over local OBS scenes.
Test playback, audio and overnight behaviour
Do a complete test before announcing the channel. Start OBS without going live and play through the end of at least one file. Confirm that the next file starts, that the VLC source remains visible, and that the audio meter responds throughout both files.
Then test the actual YouTube path with a controlled broadcast. Look at the YouTube preview as well as the OBS canvas. The local preview can appear correct while the wrong scene, wrong source or wrong audio mix is being sent to YouTube.
Check these points in order:
- The VLC Video source is in the scene selected for streaming.
- The playlist contains the intended files in the intended order.
- Loop Playlist is enabled.
- Shuffle Playlist is off if order matters.
- The files remain at their saved locations.
- The audio meter moves when a file with sound is playing.
- YouTube's preview shows the expected picture and sound.
- Switching scenes does not hide or restart the source unexpectedly.
- The computer does not enter sleep mode during the planned broadcast.
- The network connection remains available for the outgoing encoder feed.
Audio deserves a separate check. A video can show a moving picture while its audio is silent, too quiet or routed to an unexpected OBS device. Compare the source's audio meter during more than one file, since two files in the same playlist may have different audio properties.
Check the beginning and end of each file as well. A long black lead-in, a missing final audio segment or a file that ends earlier than expected can look like a streaming fault. If the content is intended for devotional or local-language viewers, listen for pronunciation, channel identifications and any announcements that should not be repeated in the wrong position.
Let the test run long enough to cover a transition and a return to the first item. A setup that works for one file has not yet proved that the playlist loops. Keep notes about the OBS version, VLC version, source settings and file locations so that you can reproduce the setup if the computer is replaced.
For always-on use, the remaining risk is operational rather than just configurational. A local OBS setup depends on the computer staying powered, the files staying available, OBS remaining open, and the internet connection continuing to carry the feed. If you choose this approach, plan how you will recover after a power cut, operating-system update or accidental scene change.
When a different arrangement is better
OBS with VLC is a practical fit when you already have a computer, want to control scenes locally, and need a straightforward repeating list of files. It is also useful when you want to add a logo, text, camera input or other OBS source around the video sequence.
It is less convenient when the computer cannot remain on, when the playlist must be edited frequently while viewers are watching, or when the broadcast must recover without someone checking the room. The built-in documentation does not guarantee uninterrupted live playlist editing, so frequent changes need their own test plan.
A third-party project called Media Playlist Source advertises additional playlist-editing behaviour, but it is not the built-in VLC Video source. Treat any plugin as version-sensitive, read its current compatibility information, and test it before using it for a public broadcast. Do not install an extension solely because a forum post describes an older OBS setup.
If you are using a spare computer, document the recovery steps beside it: power it on, open OBS, verify the scene, confirm the stream settings, and check the YouTube preview. The guide to running a YouTube radio stream from a spare PC covers the wider practical considerations without changing the core OBS playlist method.
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 YouTube loop the files instead of OBS?
Not in this workflow. YouTube receives the encoded feed produced by OBS, while the VLC Video source in OBS selects and loops the local files. A YouTube watch-page playlist is a different feature and does not replace the OBS source setup.
Do I need VLC for a single looping video?
No. OBS Media Source can replay one local file with its Loop setting. VLC is required for the documented OBS source that holds a playlist of multiple files.
Why is the VLC Video source missing in OBS?
Install VLC on the same computer as OBS and match its architecture to OBS. OBS notes that 64-bit OBS requires 64-bit VLC, so a 64-bit OBS installation needs 64-bit VLC.
Can I add or remove files while the stream is live?
You can test playlist changes, but the built-in documentation does not guarantee that every live edit will preserve the current file position or avoid a restart. Make changes during a controlled test first, and do not promise viewers an uninterrupted edit until your specific OBS and VLC setup has demonstrated it.