October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Mountain View desk6 min

OBS Media Source Settings for a 24/7 YouTube Stream on Windows 11

Use Media Source for one looping file or VLC Video for a playlist, then configure YouTube-compatible output and test recovery limits before a 24/7 run.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For one video file, add it to OBS as a Media Source and turn on Loop. For a multi-video playlist, use VLC Video, which requires VLC to be installed. Then configure OBS’s stream output to match YouTube’s codec, bitrate, frame-rate and keyframe guidance, and test the broadcast before relying on it. These settings make media repeat; they do not, by themselves, guarantee recovery from a PC, OBS or network failure.

Choose the right OBS source

What you want to play OBS source Loop behavior Requirement or trade-off
One local video file Media Source Loop is off by default; enable it to repeat the file. Uses OBS’s built-in media source.
Several videos in a sequence or shuffled order VLC Video Loop Playlist is on by default; Shuffle Playlist is off by default. Requires VLC. With 64-bit OBS, install 64-bit VLC.

OBS describes VLC Video this way: “This source type will use the VLC libraries for extended media support over the built-in Media Source.” See the OBS Media Sources guide for the documented source controls and defaults.

As an Amazon Associate I earn from qualifying purchases.

Set up one looping file with Media Source

  1. Add the source: in OBS, select the scene that will be sent to YouTube, click the + in the Sources dock, and choose Media Source. Create a new source, then select Local File and browse to the video.
  2. Enable repetition: turn on Loop. OBS’s default is off, so without this setting the video ends instead of repeating.
  3. Choose what happens when the source is hidden: Restart playback when source becomes active is on by default. Leave it enabled if showing the source again should restart the video from the beginning. Close file when inactive is off by default; enabling it unloads the file while hidden to free memory, but OBS warns it can take a short time to appear again.
  4. Review the remaining controls: Use hardware decoding when available is off by default and allows GPU decoding for supported file types when the GPU has a suitable decoder. It is separate from the encoder used for the outgoing stream. Speed defaults to 100% and supports 1% to 200%; YUV Color Range defaults to Partial. Show nothing when playback ends is on by default, which can prevent a last frame from remaining on screen. A correctly looping file should repeat rather than stay at its end.
  5. Check the scene: confirm the source is visible in the scene you intend to stream and that the video and audio play as expected.

OBS’s built-in Media Source supports video formats including .mp4, .ts, .mov, .flv, .mkv, .avi, .gif and .webm, and audio formats including .mp3, .aac, .ogg and .wav. The documented controls do not guarantee that every file will play reliably on every combination of codec, GPU and computer.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set up a playlist with VLC Video

  1. Install VLC first: VLC Video depends on VLC libraries and may not appear in OBS as an available source until VLC is installed. If OBS is 64-bit, use 64-bit VLC.
  2. Add the source: in the intended scene, click the + in the Sources dock and choose VLC Video. Add the files in the order you want them played.
  3. Choose sequence or shuffle: leave Shuffle Playlist off for a fixed sequence. Turn it on only if you want playback order randomized.
  4. Check looping and visibility: Loop Playlist is on by default. The default Visibility Behaviour is to stop when the source is not visible and restart when it becomes visible. Change this if that behavior does not suit your scene changes.
  5. Leave caching at its default initially: Network caching is documented as 400 ms. OBS does not specify one universally correct value for every source or connection, so adjust only if you have a specific playback problem to address.
  6. Verify playback: confirm that each item plays, the intended audio track is selected (Track 1 by default), and subtitles are set as desired (disabled by default).

Match OBS stream output to YouTube

The media source controls playback; OBS’s streaming output controls what is sent to YouTube. YouTube’s current encoder guidance lists RTMP or RTMPS and H.264, H.265 (HEVC) or AV1. YouTube recommends RTMPS, CBR bitrate encoding, frame rates up to 60 fps, and a keyframe interval of two seconds, with a maximum of four seconds. Select values that your OBS encoder supports and that YouTube accepts for the chosen resolution and frame rate. See YouTube’s encoder settings, bitrates and resolutions.

H.264 recommended bitrate examples

Output resolution and frame rate YouTube-recommended H.264 bitrate
720p30 4 Mbps
720p60 8 Mbps
1080p30 14 Mbps
1080p60 17 Mbps
1440p30 21 Mbps
1440p60 34 Mbps
4K30 42 Mbps
4K60 50 Mbps

These are YouTube’s recommendations for H.264, not universal settings for other codecs. YouTube publishes separate bitrate guidance for AV1 and H.265; check its table for those codecs rather than carrying an H.264 number over. YouTube lists AAC or MP3 audio for RTMP/RTMPS, with AAC required for 5.1 surround. Its advanced recommendations include square pixels, progressive scan, Rec. 709 for SDR, and 44.1 kHz stereo audio.

Enter the stream destination and protect the key

Use OBS’s streaming configuration to enter the stream URL and key from YouTube’s encoder workflow. A stream key functions like a password and address for the encoder: keep it private, and replace it if it is exposed. YouTube says Live Control Room can usually detect the encoder’s resolution and frame rate automatically; custom stream keys allow manual resolution settings. Latency and DVR are YouTube stream options, and YouTube notes that lower latency can lead to more playback buffering. See YouTube’s guide to setting up a live stream encoder.

Rank #2
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.

Preflight a 24/7 broadcast

  1. Test playback in OBS: make sure the file repeats or the playlist advances as intended, and that the source remains visible in the scene being streamed.
  2. Check the output configuration: verify codec, resolution, frame rate, CBR, bitrate and keyframe interval against YouTube’s guidance for your chosen output.
  3. Check upload capacity: YouTube recommends 20% headroom above the total stream bitrate and warns that network disruption can break a stream. If several outputs share the connection, account for their combined bitrate.
  4. Run a realistic test: match the intended audio and motion, check the YouTube preview, and monitor stream health and messages. YouTube advises: “Make sure to test before you start your live stream.” Confirm that viewers can access the event from the channel and watch pages. See YouTube’s encoder guidance and YouTube’s live streaming tips.
  5. Test recovery separately: OBS lists Windows 11 as supported, but compatible requirements alone do not ensure that a particular computer can sustain the chosen workload. CPU load depends on encoder, resolution, frame rate and scene complexity. Test the setup under realistic conditions and decide how you will respond to a power loss, Windows update, OBS crash, file error or network outage.

Looping is not an unattended-recovery system. OBS’s source documentation describes playback behavior; it does not establish a complete restart policy for failures such as a PC shutdown or lost connection. A 24/7 plan should account for those risks rather than treating the Loop checkbox as an uptime guarantee.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Copyright and YouTube channel rules still apply

Using OBS to repeat a file does not grant permission to broadcast its contents. Confirm that you have the necessary rights to the video, music and other material, and check YouTube’s current copyright and live-stream requirements before broadcasting. Repeated playback also does not guarantee channel monetization: YouTube reviews channels under its monetization policies, including rules concerning reused content. A stream’s technical setup and a channel’s eligibility are separate questions.

Rank #3
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or let it run in the cloud

If you would rather not leave a Windows PC running, StreamNeo keeps an uploaded-video YouTube stream running from the cloud. Upload a recording or build a playlist, add your YouTube stream key once, and go live. Nothing has to stay on at home; it plays your upload rather than going live from a camera. It supports the quality of your upload up to 4K 60fps for one flat price per slot, with automatic recovery if YouTube drops the stream. The first day is free with no card required. Monthly pricing is $9.99 per month. Start your free StreamNeo day.

Quick Recap

Bestseller No. 1
Bestseller No. 2
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$285.00
Bestseller No. 3
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$245.99
Rank #4
Windows 11 Laptop with i3 Processor 15.6" Work Laptop for College Students
  • 【Efficient Performance】 Powered by Intel Core i3 processor (2 cores, 4 threads, up to 3.4GHz) with 12GB RAM and 256GB SSD. Handles multitasking, office software, online classes, and HD video streaming smoothly. Integrated Intel UHD Graphics 620
  • Backlit Keyboard & Complete Package】Comes with a cool backlit keyboard. Comes with awebcam, dual stereo speakers (8Ω/1.0W each), DC charger, and user manual – ready for late-night studying, online classes, video conferencing, and daily productivity
  • 【Vibrant Display】 15.6-inch Full HD (1920x1080) anti-glare screen with 16:9 aspect ratio delivers crisp images and vivid colors – perfect for studying, watching lectures, or entertainment. Thin-bezel design maximizes viewing area
  • 【Fast Connectivity & Expansion】 Equipped with WiFi 6 (802.11ax) and Bluetooth 5.2 for stable, high-speed wireless. Features 3 x USB 3.0, HDMI 2.1, Type-C (supports PD3.0 fast charging), and a TF card slot expandable up to 2TB – easily connect external monitors, mice, drives, or expand storage for all your files
  • 【Long Battery Life & Portable】 Built-in 11.55V 5000mAh/57.75Wh high-capacity battery delivers approximately 7 hours of mixed-use battery life – enough for a full day of classes and assignments. Lightweight at just 1.63kg (3.6 lbs) and 19.5mm thin, plus a compact packing size – easily slips into a backpack for campus, library, or coffee shop

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.