Skip to content
streamneo.
Setup Guides11 min read

How to Loop a Folder of Videos in OBS for a 24/7 YouTube Stream

Set up OBS’s VLC Video source to repeat a playlist, then test playback, audio and YouTube stream continuity.

sn.
StreamNeoPublished 5 October 2026
Worth sharing?

To loop a folder of videos in OBS, install VLC with the same architecture as OBS, add a VLC Video source, load the videos as a playlist, and enable Loop Playlist. This repeats the media sequence; it does not keep your computer, internet connection or YouTube broadcast live for 24 hours.

The setup is useful for a bhajan channel, a study stream or a shop display built from recorded clips. The playlist and the broadcast are separate pieces of the system, so set up and test both before relying on them overnight.

Looping media is not maintaining a 24/7 broadcast

OBS can play a list of files and begin the sequence again after the last item. That is a playback setting, not an uptime mechanism. If the computer sleeps, OBS closes, a disk disconnects, the network drops or YouTube stops receiving the encoder feed, the media loop cannot repair the interruption.

Think of the setup as three layers: your files, OBS playback and the outgoing YouTube stream. VLC Video handles the first two by presenting the files in a playlist. OBS then encodes the scene and sends it to YouTube using the stream URL and key from Live Control Room. YouTube’s encoder setup guidance treats encoder configuration and live preview as distinct from what your media source is doing.

That distinction matters for a channel expected to run while nobody is at the desk. You can arrange the playlist carefully and still need to consider power, sleep settings, storage availability, internet stability and a way to notice when the feed has stopped. Do a supervised test that is long enough to expose file and audio issues before treating it as a routine broadcast. OBS’s quick-start guide also recommends checking the result in preview before going live.

If you want a deeper operational view of recorded programming rather than a visual playlist, see this guide to running a nonstop YouTube radio stream with recorded tracks. It addresses a related use case, but the same distinction applies: arranging playback is not the same as maintaining a connection.

Also decide what you mean by “24/7”. A continuous live feed and a complete replay saved on your channel are different outcomes. YouTube Help says a stream under 12 hours can be automatically archived, while a stream exceeding 12 hours may not be captured at all. Its archive guidance is worth checking before you rely on the channel replay as your only record. If you need a copy, record locally or plan separate sessions, and check YouTube’s current guidance before settling on an archive workflow.

Install VLC with the correct architecture

The VLC Video source in OBS depends on VLC’s playback libraries. Install VLC Media Player before opening OBS if the VLC source is missing from the Sources add menu. OBS’s media sources documentation notes that a 64-bit OBS installation needs 64-bit VLC. Matching architecture is the first compatibility check when the source is unavailable.

Check whether your OBS installation is 64-bit, then download the corresponding VLC installer from VideoLAN’s official VLC page. Use the vendor’s current installer rather than a repackaged download. Close and reopen OBS after installing VLC, then check the add-source menu again. If VLC was installed after OBS was already open, restarting OBS is a sensible first troubleshooting step.

If you have both 32-bit and 64-bit software on an older Windows installation, do not assume any installed copy of VLC will satisfy OBS. The relevant match is between the architecture OBS uses and the VLC libraries it can find. If the source still does not appear, verify which OBS build is installed and whether VLC’s installation completed; avoid changing codecs or reinstalling unrelated software until this basic dependency is checked.

VLC is only needed for the VLC Video source’s playlist workflow. If your plan is to repeat one video, OBS’s regular Media Source has its own Loop property and does not require a playlist. The distinction is practical: one source for one file, VLC Video for a set of entries. The OBS guide to media sources describes these source types and their controls.

Add a VLC Video source in OBS

Open the scene that will carry the broadcast. In the Sources dock, select the add control and choose VLC Video. Give the source a name that makes its role clear, such as “Main playlist” or “Morning programme”; meaningful names are helpful later if a scene has a logo, a clock and several media elements.

The VLC Video source is designed to accept a playlist. By contrast, Media Source selects an individual file and exposes a Loop setting for that file. If you add Media Source expecting a folder playlist, you will not find the same playlist controls. For a single uninterrupted devotional recording, a Media Source with Loop enabled may be simpler. For a folder of several programmes or clips, use VLC Video.

After adding the source, use the properties window to populate its playlist. Before closing the dialog, check the playback controls and visibility behaviour available in your OBS version. A source that is not visible may pause or stop according to its source settings. If you change scenes during the broadcast, confirm that the playlist behaves as intended while hidden and when it becomes visible again.

Once the source is in the scene, inspect the preview. Drag or transform it to fit the canvas, and check that important material is not cropped. OBS renders higher sources in the Sources list over lower sources, so a title or logo may cover part of the video if it sits above it. The OBS sources guide explains source ordering and scene layout.

A clean scene is easier to troubleshoot than one with unnecessary elements. Add overlays only after confirming the video and sound work. If you need a simple clock or channel label, check it against the moving image and avoid covering subtitles, lyrics or the subject of the video.

Load the folder or playlist

In the VLC Video properties, add the files you want to play as playlist entries. Depending on your OBS version, the control may be labelled Playlist with an add button; select the media files from your storage and confirm the list before applying the properties. The important point is that you are adding individual media items to the VLC playlist, not asking OBS to broadcast a folder as a single file.

Organise the files before adding them. A filename scheme such as 01-opening, 02-bhajan-set and 03-closing makes intended order easier to see and reduces mistakes when you review the list. Keep the original files in a stable location. Moving or renaming a file after building the playlist can leave an entry pointing to the wrong path, and a missing item may interrupt the intended sequence.

Test representative files, not just the first one. A folder may contain different resolutions, frame rates, audio tracks or encodings. If one file has no audio or fails to load, a playlist that otherwise works will still have a problem at that point in the sequence. For targeted troubleshooting, this guide to AAC audio in an OBS YouTube playlist covers a common file-specific issue.

For a sizeable library, keep a separate copy of the source videos and maintain a simple inventory. This is not a requirement for looping; it makes it easier to restore the playlist if a drive fails or a file is replaced. If you record a local copy of the outgoing programme, check that there is enough storage and that the recording itself is running. YouTube recommends a local archive as a backup for long streams, rather than relying on a long continuous live session to produce a complete replay.

Before you go live, play each entry or at least test every distinct file type and audio arrangement in the actual scene. A file can look fine in a media player yet appear cropped in OBS because the canvas and source dimensions differ. Confirm that the playlist includes only material you intend to broadcast and that you have the rights and permissions needed for it; loop settings do not change those responsibilities.

Set order, loop and shuffle options

Leave Loop Playlist enabled if you want the list to start again after its final item. OBS describes this control as restarting the source after it has run out of media files. It repeats the playlist sequence; it does not promise gapless joins between files. Transitions, file decoding and audio differences can still be noticeable, so listen and watch through the points where clips change.

Use Shuffle Playlist only if you want the order randomised. With shuffle off, arrange the entries in the sequence you want and keep that order for a predictable programme. A devotional channel may prefer a planned opening and closing, while an ambience station may tolerate random order. For music-led programming, a related guide to changing tracks automatically in a 24/7 YouTube radio stream may help you think through sequencing, although it covers a different playback approach.

Need OBS source or setting What it does What it does not do
Repeat one file Media Source, Loop Restarts the selected media file Does not create or manage a multi-file playlist
Repeat several files VLC Video, Loop Playlist Starts the playlist again after its last entry Does not keep OBS or the broadcast running
Vary the sequence VLC Video, Shuffle Playlist Plays playlist entries in a random order Does not guarantee a particular clip appears at a particular time

Choose the source to match the material, not a vague preference for more controls. If the sequence must follow a schedule, leave shuffle off. If a collection can play in a different order each time, shuffle can be suitable, but test the outcome and check that the opening does not depend on a specific first clip.

Visibility settings deserve attention when scenes change. If the VLC source is set to stop or pause while hidden, switching away from the scene can affect playback. Keep the source visible in the live scene or choose the visibility behaviour that fits the broadcast, then test a scene switch in a private or otherwise controlled test. Do not assume that a playlist keeps advancing while hidden without checking the setting in your OBS version.

Test playback and stream continuity

Start with an OBS preview, then make a controlled stream test before committing to an overnight schedule. Check that the image fills the intended area, the audio is present and at a sensible level, and each playlist item advances as expected. Let the playlist reach its end if practical so you can verify that Loop Playlist returns it to the beginning. That test demonstrates playback behaviour only, not that a later 24-hour broadcast will remain connected.

Connect OBS to YouTube with the stream URL and key shown in YouTube Live Control Room. Follow YouTube’s current encoder instructions, start the encoder and confirm the preview appears in the control room before making the stream public. YouTube’s encoder settings and bitrate guidance varies with resolution, frame rate and codec, so there is no single bitrate that fits every connection. Choose a quality your upload connection can sustain and use YouTube’s current table rather than copying a value without its conditions.

During a live test, watch YouTube’s stream health indicators and listen to the actual output, not only the local OBS monitoring. Local preview can look normal while the outgoing connection is unstable. YouTube advises creators to test before a live stream and monitor stream health; its recommendations can change, so review the official page when configuring a new channel or changing output quality.

A basic overnight checklist should include the computer’s power and sleep behaviour, OBS remaining open, the media files staying accessible, sufficient disk space if recording locally, and a way to notice a dropped stream. These are operational checks, not guarantees. If the machine restarts for an update or the internet service fails, Loop Playlist will not bring the YouTube broadcast back by itself. For interruption recovery concepts, see how to restart an FFmpeg YouTube stream after a disconnect; it concerns a different tool and should not be treated as an OBS setting.

Plan separately for the replay. YouTube says streams longer than 12 hours may not be captured at all, and DVR rewind for very long streams may be limited or unavailable beyond 12 hours. If an archive matters, make and verify a local recording or divide the programming into planned sessions, then check the current YouTube Help pages before relying on a particular outcome. A live stream being visible to viewers does not establish that a full recording will appear afterwards.

If you do not want to leave a personal computer running and managing the playlist is itself the operational burden, StreamNeo can take an uploaded video and run it as a YouTube live stream without your computer staying on. It is YouTube-only; it does not change your responsibility to check the content, stream configuration and archive needs.

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 VLC Video loop a folder automatically?

It loops the playlist you create from media files, not an arbitrary folder simply because the folder exists. Add the files as playlist entries, then enable Loop Playlist so the list starts again after the last entry.

Why can’t I see VLC Video in OBS?

The VLC Video source relies on VLC libraries, so install VLC and restart OBS before checking the Sources add menu again. OBS documents that 64-bit OBS requires 64-bit VLC; confirm the software architectures match.

Will the loop keep my YouTube stream live all day?

No. Loop Playlist repeats media; it does not prevent the computer sleeping, OBS closing, a file or drive failing, or the network or YouTube connection dropping. Test the playback and broadcast separately, and have a way to monitor the live feed.

Will YouTube save a full replay of a 24-hour stream?

Do not rely on a complete archive from one continuous 24-hour broadcast. YouTube Help says streams exceeding 12 hours may not be captured at all, so record locally or plan sessions if you need a copy, and check the current official guidance.

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 ↗