Skip to content
streamneo.
Setup Guides11 min read

How to Set Up a YouTube Live Stream That Loops a Folder of MP4 Files

Set up OBS VLC Video for an MP4 playlist, loop a single file with Media Source, and test the YouTube Studio preview before going live.

sn.
StreamNeoPublished 4 October 2026
Worth sharing?

For a folder of MP4 clips, use OBS Studio with a VLC Video source, add the files to its playlist, and enable Loop Playlist. For one MP4, use Media Source and enable Loop instead; either way, connect OBS to a stream in YouTube Studio and check its preview before taking it public.

OBS plays and sends the video from your computer, while YouTube receives that feed. Looping controls what happens when playback reaches the end; it does not ensure every MP4 will decode correctly, keep your internet connection stable, or make repetitive content eligible for monetisation.

Choose OBS for the playlist setup

OBS Studio is a practical choice when your video files are on a computer you can leave running and you want to control the broadcast yourself. It provides the scene and playback source, then sends the encoded picture and sound to YouTube. For a folder of clips, its VLC Video source can play a playlist; a Media Source is simpler for one file.

There are two different jobs in this setup. First, configure playback in OBS so the clips appear in the intended order and continue cycling. Second, configure YouTube Studio as the destination and start the broadcast there. You can prepare the scene and test playback before sending anything to YouTube.

OBS is not the only workable approach. A technically experienced operator may prefer a self-managed VPS and FFmpeg, but that involves server and command-line administration; the FFmpeg concat approach is a useful comparison. A hosted service may suit you if you do not want a local computer running for the broadcast. Choose based on the number of files, whether you can leave your computer on, and how much setup and maintenance you want to take on.

The steps below assume you have permission to broadcast the video and audio. YouTube’s monetisation policy also applies to live content: a technically functioning loop is not a guarantee of monetisation, especially when content is repetitive or reused. Check the current YouTube channel monetisation policies if monetisation matters to your plans.

Create a VLC Video source for multiple MP4s

VLC Video is the OBS source intended for a playlist of media files. It depends on VLC being installed separately, so do not assume the source will appear in every OBS installation. OBS documents that VLC Video requires VLC, with the 64-bit version of VLC for 64-bit OBS. Check both applications’ architectures if the source is missing.

Start by creating or selecting a scene in OBS. In the Sources panel, add a VLC Video source and open its properties. Add the MP4 files you want to play to the playlist. If the order matters, review the playlist itself rather than assuming the files will be arranged by name or folder order. Move entries into the sequence you intend viewers to see.

The source is a playlist, not a promise that every file will play. MP4 is a container, and files can differ in their video and audio encoding, dimensions, frame rate, or other characteristics. Test every entry in OBS. If a clip shows a black frame, has no sound, or stops playback, check that file rather than relying on the playlist to make it compatible. Keep a separate copy of the original files before changing or re-encoding anything.

Fit the source to the canvas after adding it. Check whether the video fills the frame, leaves bars, or is cropped. For devotional artwork, study visuals, local news panels, or a shop’s information screen, that framing is part of the content: inspect text and important details at the canvas size rather than assuming a thumbnail view is enough.

Enable Loop Playlist

In the VLC Video source properties, enable Loop Playlist to have the source start again after it reaches the end of the playlist. OBS documents looping as the playlist restarting after it runs out of media files. Shuffle is off by default, but check that it remains off if you need a fixed sequence, such as an announcement followed by a set of songs.

Then run through the playlist in OBS. Watch a transition between files and, if possible, the transition from the last clip back to the first. A playlist can be configured to repeat and still have an awkward pause, a sudden change in volume, or a visible difference in framing where the files meet. Those are content-editing issues, not something the loop setting necessarily fixes.

If you update the folder later, reopen the VLC Video properties and verify the playlist. A playlist source uses the files you have added to it; do not treat it as an automatic watch folder unless your own workflow has confirmed that behaviour. Removing, renaming, or moving a file can leave the source pointing to a location that no longer works. Keep the intended files in a stable place while the stream is running.

For a Hindi music or bhajan loop, make sure the audio remains comfortable across all clips. Different recordings can have noticeably different loudness even when they play correctly. The guide to setting OBS audio bitrate for a Hindi music loop covers audio settings; for the preflight here, listen to the actual playlist and check that the meter does not remain in the red.

Use Media Source for one MP4

For a single local file, add a Media Source to the scene, select the MP4, and enable Loop in that source’s properties. OBS defines the Loop option as controlling whether the file plays again when playback finishes. This is a per-file playback setting, rather than the playlist control used by VLC Video.

A simple still image with music, a long ambience recording, or one prepared programme can be easier to manage as a single source. You avoid having to arrange a playlist, but you also lose the convenience of rotating multiple files as separate entries. If you want several segments in a particular order, use VLC Video rather than adding one Media Source after another and expecting them to behave as a continuous playlist.

Check the selected file from beginning to end before connecting it to a public stream. Confirm the picture, audio, and loop setting, and look at what happens when the file restarts. A file that ends with a long silence or a different opening frame can make the repeated boundary obvious. If that is not what you want, edit the file or choose another source rather than expecting OBS to smooth the transition.

OBS lists MP4 among the formats supported by Media Source, but that does not mean arbitrary MP4 files will play correctly in every setup. Encoding details and the local playback environment still matter. The safe test is to use the actual file, in the actual scene, on the computer you will use for the broadcast.

Connect OBS to YouTube Studio

In YouTube Studio, use Create → Go Live to open Live Control Room and create or select the stream. If you have never streamed live on the channel before, YouTube says enabling live streaming may take up to 24 hours. Set this up well before the intended broadcast rather than discovering an account limitation at the start time. See YouTube’s live streaming setup guidance for the current workflow.

Copy the stream URL and stream key shown for the stream into OBS’s stream settings. The URL tells OBS where to send the feed; the key identifies which stream it belongs to. YouTube describes the stream key as like a password and address for the stream. Treat it as a credential: do not show it in a screen recording, paste it into a public chat, or share it with someone who should not control the stream. If it is exposed, reset it in Live Control Room.

YouTube recommends RTMPS for encoder connections. Its published encoder guidance also specifies video and audio formats and settings, including constant bitrate and a recommended two-second keyframe interval that must not exceed four seconds. These are platform recommendations, not a guarantee that a given connection will carry the stream reliably. Use YouTube’s current encoder settings and bitrate guidance to choose settings for your resolution, frame rate, and codec; do not treat one bitrate as suitable for every channel.

The upload connection matters because OBS must send the stream continuously while playback continues locally. If other people or devices share the connection, their use can affect the available upload capacity. Test under conditions similar to the broadcast and leave room for normal variation rather than selecting a bitrate that only just fits a speed-test result. For connection troubleshooting, see the advice on buffering and upload fixes for YouTube Live in India.

Check the preview and audio

Before making the stream public, choose a private or unlisted test if that suits your channel. YouTube lets you set an audience visibility level, and a test stream does not need to be public simply because the encoder is connected. Check the audience setting carefully in Live Control Room before starting.

Start streaming from OBS and wait for the incoming feed to appear in YouTube’s preview. Check more than whether an image appears. Confirm that the correct scene is active, the playlist is moving, the picture is framed as intended, and the audio is present. Listen on the computer and watch OBS’s audio meter; a moving meter alone does not confirm that the sound is pleasant or correctly balanced.

Use representative material in this check. If the playlist contains spoken introductions, music, and quieter ambience, sample each type rather than testing only the loudest clip. Watch a transition and listen for a sudden jump in volume. If the stream includes text, such as a local news ticker or a small business notice, make sure it remains readable in the YouTube preview and is not hidden by cropping.

If the preview is delayed, give the connection time to establish before deciding that the source is broken. If it stays blank or silent, isolate the issue: check that OBS is sending the intended scene, inspect the source playback locally, and verify the stream URL and key. YouTube’s Live Control Room provides stream health information; use it alongside OBS rather than assuming the preview alone diagnoses the cause.

Test before going live

A short rehearsal is worth doing before a scheduled broadcast, particularly if this is your first stream on the channel or you have changed files, OBS settings, or the network connection. Test the complete route: play the source in OBS, send it to YouTube, inspect the preview, and confirm that the audience setting is what you intended. If you plan to use a scheduled stream, follow the Live Control Room prompts to begin it after the preview check.

Use a simple preflight that you can repeat:

Check What to confirm
Source The correct playlist or MP4 is loaded and plays in OBS
Loop Loop Playlist or Loop is enabled for the source type you chose
Picture Framing, text, and transitions look right in the YouTube preview
Audio The intended sound is audible and levels are not clipping
Connection YouTube receives the feed and reports stream health
Audience Private, unlisted, or public matches your intention
Credentials The stream key is private and belongs to the selected stream

If you are operating a 24/7 channel, an OBS setup also means the computer and its connection need to remain available. Sleep settings, updates, power interruptions, and a dropped connection can interrupt a local broadcast. OBS and YouTube do not make those risks disappear; a guide to preventing OBS from stopping after an update can help you think through one maintenance issue, but test your own machine and settings.

When leaving a stream unattended is the main problem, a hosted approach can remove the need to keep your own computer running: StreamNeo turns an uploaded video into a YouTube live stream, which can help when local playback and a computer staying on are the practical obstacles. It is still your responsibility to check that the material is suitable, the channel is configured as intended, and the resulting stream behaves as expected.

When the broadcast ends, stop sending from OBS and end the stream in Live Control Room as appropriate. YouTube says streams under 12 hours are automatically archived; its guidance does not promise automatic archiving for longer broadcasts. Keep your original MP4 files independently if you need to retain the material, particularly for a long-running stream.

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 come with OBS?

Do not assume it does. OBS documents VLC Video as dependent on VLC being installed, and the application architectures need to match. If the source is missing, check VLC installation and whether you have the 32-bit or 64-bit versions of the applications.

Can I loop a folder without VLC Video?

For a single MP4, use Media Source and enable Loop. For multiple files in a playlist, VLC Video is the OBS source described here; other workflows, such as FFmpeg, involve a different setup and more technical administration. Do not assume that adding several files to a folder makes OBS play them automatically.

Will any MP4 work in OBS?

No such guarantee is safe to make. MP4 files can contain different video and audio encodings, so test the actual files in the scene you intend to stream. If one fails or has no audio, investigate that file and its encoding rather than assuming the loop setting will fix it.

Does looping make a stream eligible for monetisation?

No. Looping is a playback setting, not a monetisation approval. YouTube’s policies apply to live videos and address repetitive, mass-produced, and reused content, so review the current official policy for your channel and content.

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 ↗