For one prerecorded video, add it to OBS as a Media Source and enable Loop. For several videos, use a VLC Video source, load the files into its playlist, and enable Loop Playlist; then connect OBS to a YouTube encoder stream and check the preview before you go live.
The loop setting controls playback in your OBS scene, not YouTube’s viewer-facing Loop control. A local scene can repeat while the broadcast connection fails, so test playback and transmission as separate parts of the setup.
Choose between one video and a playlist
Start with the shape of the programme you want viewers to see. If a single bhajan, ambience recording or study video should repeat from its beginning, a Media Source is the simpler choice. If you want several clips to play in a set order and start again after the last one, use OBS’s VLC Video source.
These are different source types, not two ways to configure the same control. Media Source has a Loop setting for the selected file. VLC Video can hold multiple files in a playlist and has a Loop Playlist setting. OBS documents both behaviours in its Media Sources guide.
Before you build the scene, make sure the files are stored on the computer that will run OBS and that you can play them there. A source configured to use a local file depends on that file remaining available. If you are organising a larger library for a long-running channel, the practical considerations in storing a 24/7 YouTube video library on an external hard drive are relevant too: keep the library accessible and avoid casually moving or renaming files after you have added them to a scene.
| What you want | OBS source | Repeat control | Important distinction |
|---|---|---|---|
| Repeat one local video | Media Source | Loop | Repeats the selected file in the scene. |
| Play several local videos in order, then repeat them | VLC Video | Loop Playlist | Requires VLC installed and available to OBS. |
| Send either scene to YouTube Live | OBS encoder output | YouTube stream URL and key | A separate broadcast connection, not a playback setting. |
A playlist will not be a substitute for preparing the files. Check that each clip opens, has the intended audio, and is in the order you expect. The playlist can only repeat the items OBS can read; it cannot repair a missing file or establish the YouTube connection for you.
Loop one file with Media Source
Create or select the OBS scene that should contain the video. In the Sources panel, add a Media Source, give it a recognisable name such as “Main loop”, and use the file selector in its properties to choose the local video. Leave the source visible in the scene and position or resize it to fit the canvas as needed.
In the Media Source properties, enable Loop. That tells OBS to return to the start of that file after it reaches the end. It does not put the file into a YouTube playlist and does not change what viewers can do with the video player. YouTube’s viewer Loop option applies when someone watches a video on demand; this setup is an encoder sending a live picture from OBS.
If you do not want the video to restart automatically, leave Loop off. For a recurring programme built from one long recording, though, it is usually the setting to check first. Play the scene in OBS and watch past the file’s end once, so you know the source returns to the beginning rather than stopping. This is a local playback check, not proof that YouTube is receiving the scene.
Check the audio path at the same time. If the file has sound, confirm the relevant source is not muted and that the OBS audio meter moves during playback. If you are assembling a channel around different types of programming, you may also find it useful to test different content themes on a 24/7 YouTube live stream before settling on a repeat schedule. Keep that decision separate from whether the media source itself loops correctly.
Loop several files with VLC Video
For a multi-file sequence, add a VLC Video source from the OBS Sources panel. In its properties, add the local files to the playlist, arrange them in the intended order, and make sure Loop Playlist is enabled. With the loop control on, the list should return to its first item when the final item ends.
Keep Shuffle off if you want a predictable sequence. For example, a local news loop might put the headline summary first, then the weather and community notices, in the same order each time. If you turn shuffle on, the order can change; that may suit a music selection, but it is not the same as a fixed programme schedule.
After you save the source properties, play the scene in OBS and check the sequence. Confirm that the first file starts, the next one follows, and playback returns to the beginning after the last one. Also listen for silence, unexpected gaps, or a clip whose audio level differs sharply from the rest. This checks the playlist in OBS only. You still need to verify that the encoder sends the picture and sound to YouTube.
A common mistake is to add several Media Sources and enable Loop on each one, then expect OBS to treat them as an ordered playlist. That setting repeats each source; it does not provide the same playlist behaviour as VLC Video. Use the source intended for the job rather than relying on multiple independent sources to behave as a single sequence.
If the source is absent or its playlist does not appear, check the VLC installation and architecture before rebuilding the scene. The OBS Media Sources documentation says that VLC must be installed for VLC Video and that 64-bit OBS requires 64-bit VLC. Once OBS can see the dependency, reopen the source properties and check the playlist items again.
Install VLC that matches 64-bit OBS
VLC Video depends on VLC being installed. OBS also calls out a matching architecture requirement: when you run 64-bit OBS, install 64-bit VLC. If VLC Video is missing from the source menu, or the source cannot access the playlist as expected, confirm both applications are installed and that their architectures match.
Do not install a different video tool on the assumption that it will replace VLC Video inside OBS. The source has a stated VLC dependency. If you are unsure whether your OBS installation is 64-bit, check the version information for the application you actually use, then choose the corresponding VLC build from the vendor’s own download page. Avoid downloading an installer from an unfamiliar mirror.
After installation, close and reopen OBS if it still does not recognise VLC. Then add or reopen the VLC Video source and confirm that its playlist controls are available. This is a dependency check, not a change to the YouTube stream settings. If the playlist is now visible but fails to advance, inspect the local files and source options separately from the encoder connection.
Connect OBS to YouTube Studio
A correctly looping scene is not yet a live broadcast. YouTube must create an encoder stream for the event, and OBS must send that scene to the matching stream URL and stream key. YouTube’s encoder setup instructions describe creating or scheduling an encoder stream in Live Control Room and connecting the encoder with those details.
In YouTube Studio, open Create → Go Live and create or schedule an encoder stream. Copy the stream URL and key shown for that event. In OBS, open the stream settings and choose YouTube if the integration is available, or enter the server URL and key in the encoder settings. Use the details for the intended event, not credentials copied from an older broadcast.
Treat the stream key as a credential. Do not put it in a public scene, screenshot, chat message or document that viewers can access. If someone else needs to help configure the encoder, share the information through an appropriate private channel and avoid leaving it exposed afterwards.
YouTube eligibility is a separate prerequisite. Its live-stream getting-started guidance says a channel needs to be verified and must not have had live-streaming restrictions in the previous 90 days. The same guidance notes that first-time activation can take up to 24 hours. Check the current official page before planning a first broadcast, because platform requirements can change.
Keep the distinction clear while troubleshooting. If the scene repeats correctly in OBS but YouTube has no picture, revisit the stream URL, key, event and channel eligibility. If YouTube receives a picture but it freezes on one local clip, investigate the OBS source and files. Fixing one side does not necessarily fix the other.
Preview and test before going live
Start the encoder in OBS and wait for the picture and sound to appear in the YouTube Live Control Room preview. YouTube’s encoder instructions direct creators to check that preview and recommend trying a test live stream. Use a controlled test, such as an unlisted event where appropriate, before you announce a public broadcast.
The preview is the point where you check the full path: source playback in OBS, encoder output, the YouTube event and incoming audio. Do not assume that because OBS’s preview looks right, the stream is already visible in Live Control Room. Wait for YouTube to receive it and inspect the result there before starting the event for viewers.
During the test, verify the practical details that matter to your channel. Is the video filling the intended frame? Does audio reach YouTube? Does the playlist advance and return to the first item after its last clip? Can you hear an abrupt change between files? These are checks of your own setup, not guarantees about what will happen on a later broadcast.
If the local OBS scene plays but the YouTube preview does not arrive, check the encoder connection independently: confirm the correct event is open and that the URL and key in OBS belong to it. If the preview appears but the video is stuck, return to the relevant Media Source or VLC Video settings and check the local files. When the test passes, start the event in Live Control Room as YouTube instructs.
An unattended broadcast still depends on the media being available and on the playback computer, encoder and internet connection continuing to operate. A loop setting does not guarantee uninterrupted playback or transmission. For a channel that runs overnight, build a routine for checking the live preview and stream health rather than treating a successful test as a promise that nothing can fail. The steps in keeping a 24/7 monsoon ambience stream running overnight in India may help you think through that operating routine.
YouTube says streams under 12 hours are automatically archived; do not assume the same archive outcome for longer streams. Check the current YouTube encoder guidance for archive details and stop the encoder after ending the event as directed. Also confirm you have the rights needed to broadcast the video and soundtrack you choose. Setup instructions cannot establish the rights status of a particular file, and YouTube’s Community Guidelines and Terms of Service still apply.
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 loop a playlist without VLC?
For a playlist made from multiple files, OBS’s documented VLC Video source requires VLC to be installed. A Media Source can loop one file, but that is a different task and does not replace an ordered multi-file playlist.
Does Loop mean viewers can replay the YouTube stream?
No. The OBS Loop and Loop Playlist settings control playback in the local scene that OBS sends to YouTube. YouTube’s viewer Loop control is separate and is not what makes an encoder broadcast repeat.
Why does OBS play the playlist but YouTube show nothing?
Local playback and the encoder connection are separate steps. Check that OBS is using the stream URL and key for the correct YouTube event, and confirm the channel is enabled to stream; then look for the incoming picture in Live Control Room.
Will the stream keep running without interruption?
No loop setting guarantees uninterrupted playback or transmission. The source needs access to its files, and the playback computer, encoder and internet connection need to keep operating, so test the whole workflow and monitor the broadcast.