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

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

To randomize prerecorded videos in a 24/7 YouTube live stream, use OBS Studio’s VLC Video source: add your local media files, enable Shuffle Playlist, and leave Loop Playlist on. OBS sends the shuffled playback to YouTube through an encoder connection. This is different from shuffling a playlist on a YouTube watch page; the method below randomizes source files before they reach YouTube.

What you need before you start

  • OBS Studio installed on a computer that can stay on and connected while it streams.
  • VLC installed. OBS’s VLC Video source depends on it; if you use 64-bit OBS, OBS says to install 64-bit VLC.
  • Video files that the computer can access, and permission to livestream them.
  • A YouTube channel with live streaming enabled, plus the stream URL and stream key from YouTube Studio.

OBS documents media sources for Windows, macOS, and Linux. Its Media Sources guide describes VLC Video as the playlist option; the built-in Media Source is for playing an individual file and its documented Loop setting repeats that file.

Set up a shuffled, looping playlist in OBS

  1. Make sure VLC is installed. Match VLC’s bitness to OBS where applicable: 64-bit OBS requires 64-bit VLC. Restart OBS after installing VLC if VLC Video is not available as a source.
  2. Add a VLC Video source. In OBS, select the scene that will carry the stream. In the Sources panel, click +, choose VLC Video, and create a new source.
  3. Add your files to the playlist. In the source properties, add the local video files you want included. Keep those files accessible for the full broadcast; moving or disconnecting them can interrupt playback.
  4. Enable shuffle and looping. Check Shuffle Playlist to randomize playback rather than follow the file-list order. Check Loop Playlist so playback starts again when the playlist runs out. OBS lists shuffle as off by default and loop as on by default, so verify both settings rather than relying on defaults.
  5. Check the scene before going live. Confirm the VLC source is visible in the preview, the audio is appropriate, and the video fits the canvas. If you have multiple scene sources, ensure another source is not obscuring the playlist.

OBS’s documentation says Shuffle Playlist randomizes the media files or leaves them in list order. It does not specify a particular random algorithm, promise a different order on every cycle, or guarantee that a file cannot repeat before all others play.

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

Connect OBS to YouTube Live

  1. Open YouTube Studio and go to the Live Control Room. Create or select the stream and copy its server URL and stream key.
  2. In OBS, open Settings > Stream. Select YouTube as the service, then enter the stream key and server details as appropriate for the connection flow. Keep the key private; anyone who obtains it may be able to send video to your stream.
  3. Start streaming in OBS. Check the preview and stream health in YouTube Live Control Room, then follow the control-room prompt to go live.

YouTube’s encoder setup instructions describe the stream URL and key workflow. YouTube says first-time live-stream activation can take up to 24 hours, so enable streaming and test ahead of the time you plan to broadcast.

#1 Best Overall
Micca 4K Ultra-HD USB and microSD Media Player, 4K HDMI, Digital Signage
  • MAKE YOUR TV SMARTER - Enhance any TV with the ability to play videos, music, and photo slideshows from a USB drive or MicroSD Card! It’s so simple and intuitive - anyone can use it. The Micca 4K is amazingly compact and affordable, get one for each TV in the house!
  • PLAYS 4K ULTRA-HD VIDEOS - Works with TVs old and new! Smoothly plays videos up to 4096x2304@30fps over UHD 4K/60Hz HDMI output. Sharp and clear video and audio in pure digital format, compatible with 4K and 1080p TVs, projectors, and monitor displays. Composite AV output for use with analog TVs or for sending sound to a stereo system.
  • DUAL USB AND MICRO SD READER - Play media files from USB flash drives and USB hard drives up to 8TB, or microSD cards up to 1TB. Supports FAT/FAT32, exFAT and NTFS file systems. Compatible with wireless air mouse remotes for non-line-of-sight control so that the player can be hidden away!
  • SIMPLE DIGITAL SIGNAGE - Automatic video playback with endless repeat and looping, and the ability to resume from the last stopping point. Configurable 90/180/270 degree video output rotation. Great for digital signage applications such as restaurant menu boards, lobby welcome videos, art and museum installations.
  • MEDIA FORMAT SUPPORT - Videos: MKV, MP4/M4V, AVI, MOV, MPG, VOB, M2TS, TS files encoded with H.265/HEVC, H.264/AVC, MPEG1/2/4, VC1, up to 4096x2304, 30fps, 200mbps. Subtitles: SRT, PGS, IDX+SUB. Music: MP3, WAV, FLAC. Photos: JPG, GIF, BMP, PNG

Understand what shuffle does—and what it does not

It shuffles source media, not a YouTube-hosted playlist

The files in OBS’s VLC Video source are what the encoder plays and sends to YouTube. The documented method does not feed a YouTube playlist URL into OBS or randomize the order of videos hosted on a YouTube watch page.

A continuous feed is not the same thing as an archived replay

YouTube Help says streams under 12 hours are automatically archived. That statement does not promise an archive for one uninterrupted 24/7 broadcast. In YouTube’s Live Streaming API terminology, a broadcast is a distinct watchable YouTube video, while a stream is the audio-video transmission; the API documentation gives an example of an ongoing 24/7 feed alongside a separate completed broadcast. See Understanding Broadcasts and Streams. Plan your replay needs separately rather than assuming the continuous feed will produce a complete archive.

Rank #2
Sale
Roku Ultra, Ultimate Streaming Player - 4K Streaming Device for TV
  • Ultra-speedy streaming: Roku Ultra is 30% faster than any other Roku player, delivering a lightning-fast interface and apps that launch in a snap.
  • Cinematic streaming: This TV streaming device brings the movie theater to your living room with spectacular 4K, HDR10+, and Dolby Vision picture alongside immersive Dolby Atmos audio.
  • The ultimate Roku remote: The rechargeable Roku Voice Remote Pro offers backlit buttons, hands-free voice controls, and a lost remote finder.
  • No more fumbling in the dark: See what you’re pressing with backlit buttons.
  • Say goodbye to batteries: Keep your remote powered for months on a single charge.

Shuffle does not grant rebroadcast rights

Only include media you have the right to livestream. The ability to play a file through OBS does not establish that you may rebroadcast it; copyrighted material can lead to claims, restrictions, or other channel consequences.

Free tools Windows power users keep installed

One-click scans. No signup required.

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

Troubleshooting

What happens Likely cause What to check
VLC Video is missing from the source menu VLC is not installed, or the installed version does not match 64-bit OBS. Install the matching VLC version, restart OBS, and check the source menu again.
The playlist appears but a video will not play The file may be unavailable to the computer or unsupported in the installed playback setup. Confirm the file path and access, then test the file locally. If files are on removable storage, ensure it stays connected.
Videos play in listed order Shuffle Playlist may be unchecked. Open VLC Video source properties and check Shuffle Playlist.
The playlist stops after its last item Loop Playlist may be unchecked. Open the source properties and check Loop Playlist.
YouTube does not receive the encoder feed The stream key or server details may be wrong, the stream may not be started in OBS, or live streaming may not yet be activated. Recheck the stream details in YouTube Studio and OBS, start the encoder, and inspect the Live Control Room. First-time activation can take up to 24 hours.
You expect a full replay of the 24/7 feed The documented automatic archive guidance applies to streams under 12 hours, not a guaranteed uninterrupted 24/7 archive. Arrange a separate recording or broadcast/archive workflow if you need a complete replay.

When a cloud service may suit the job better

OBS keeps the playlist and encoder on your computer, so that computer and its connection must remain available for the stream. If you specifically need another ingestion protocol, HLS is not required for shuffling; YouTube’s HLS setup has its own compatible-encoder and segment requirements and higher latency than RTMP because it sends video segments rather than a continuous stream. See YouTube’s HLS setup guide.

Rank #3
HDMI Media Player, Black Mini 1080p Full-HD Ultra HDMI AV Output MP4 Player
  • 【Mini Portable Media player】-- Fits into the palm of your hand, It is a perfect travel partner for those short on space and sockets. Also compact and easy multifunction HD media player for office work and home entertainment;Aluminum alloy material, not easy to damage during carrying
  • 【1080P MP4 Player】-- Full HD 1080p@60Hz supports most video decoding formats: RM, RMVB, AVI, DIVX, MKV, MOV, HD MOV, MP4, M4V, PMP, AVC, FLV, VOB, MPG, DAT, MPEG, TS, TP, M2TS, WMV, (H.264,H.263,WMV9/VC-1,MPEG1/2/4),Not support VPR files. Note: Please use our 4K player to play some videos taken with smart phones, ASIN: B07WPY8VKL
  • 【HDMI or AV Output】-- Supports 1080p HDMI output, allowing you to transmit crisp, clear video and audio in a pure digital format to an HDTV; it also supports composite AV output for use with analog TVs. An analog AV cable is included. While using HDMI video output, you can also connect external speakers via the AV output. However, video cannot be output via both AV and HDMI at the same time.
  • 【USB 2.0/3.0 Compability】-- Drive external USB 2.0/3.0 storage devices such as USB flash(up to 512G)/SD card(up to 128G) and hard drive(partition should be MBR, up to 8TB), you can also delete or copy files in the USB drive(FAT or FA32) directly, Also plays subtitle files as well as loop videos
  • 【Support Multiple Formats of Files and Playback Modes&Multi-functional Remote Control】-- Supports most video, audio, and image formats on the market, supports random playback of video and image modes, and supports loop playback. Supports repeat, zoom, fast forward, fast rewind, rotation, breakpoint playback method, start from scratch playback method and time selection playback method. It is also equipped with a convenient remote control for easy navigation of menu screens (ASIN: B0C9PZPFL8)
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

StreamNeo is a YouTube-only cloud service for keeping a channel live from uploaded videos: upload the video or build a playlist, add your YouTube stream key once, and go live. Your computer does not have to stay on at home. It streams uploads as made, up to 4K 60fps, at one flat price per slot; it also automatically recovers if YouTube drops the stream. The first day is free with no card. Monthly pricing is $9.99 per month. StreamNeo’s playlist workflow is not the OBS shuffle control described above; choose it if cloud operation matters and confirm its playlist controls meet your ordering needs.

Best Value
TiVo Stream 4K – Every Streaming App and Live TV on One Screen – 4K UHD, Dolby Vision HDR and Dolby Atmos Sound – Powered by Android TV – Plug-In Smart TV, One size
  • No More App-Switching. Forget learning to navigate a new screen with every app. TiVo Stream 4K enables one centralized place for searching, browsing, and creating watch lists across all your apps..DC Input Range 5V/1.0A. Power Consumption : Maximum 5 W
  • Recommendations Across All of Your Apps: Get rid of the walls between what you watch. TiVo recommends your next favorite shows and movies based on what you love, not where they live.
  • Say it and watch it. The power of voice control makes it easy to find shows. Integrated Google Assistant allows you to launch apps, dim the lights and more.
  • One place for all your favorite streaming apps. TiVo Stream 4K includes Netflix, Prime Video, Disney+, Peacock plus many more, so you can get to your shows fast.
  • TiVo Stream 4K is one of Time Magazine’s “2020 Best Inventions, Special Mention” and PCMag hails it as “an excellent media streamer for TV lovers.” Operating Temperature 0˚C - 40˚C
Rank #4
HDMI Media Player, 4K Ultra HD Digital Media Player, USB/SD Card Expansion, 4K@30Hz Output,H.265/H.264/AVC Decoding MP4/MKV/MP3/AVI/TS/Rmvb/Mov/ISO/JPG for Advertising Playback Multimedia TV Playback.
  • 【HDMI Media Player】This 4K HDMI media player can play 4K@30Hz HD video quality. HDMI supports up to 7.1 surround sound. It is suitable for home entertainment systems, advertising media playback, photo and PPT loop playback. It is a very simple and practical product.Can support direct playback of files copied from Blu ray 4K ultra high definition discs.
  • 【SD Card Reader and USB Port】This 4K media player has USB port, which can support up to 128GB SD card/USB drive and up to 8TB USB hard drive, and you can load your videos, music, photo slides or PPT files, allowing you to experience a smarter 4K picture.The USB port can also be separately connected to a HUB to add a keyboard and mouse.
  • 【H.265 Decoding】The powerful decoding chip is basically compatible with the international standard universal format, with a resolution not exceeding 3840×2160 and a bit rate not exceeding 20000, which can greatly improve the playback efficiency and speed, allowing you to enjoy a higher quality 4K video experience.
  • 【HDMI Interface,Fiber optic Interface,VGA Interface, AV Interface Output】This HDMI high-definition streaming media player supports 4K HDMI Interface Output, Fiber optic Interface Output:Decoding 7.1 channel high-definition digital audio ,VGA Interface Output,AV interface output plays MP3 or WAV songs to the speakers, allowing you to experience better audio effects, and can also read embedded and external subtitle files such as SRT, SMI, SUB, SSA.
  • 【Media format Support】Video format: H.265 (MKV/MOV/AVI), MPEG1-2-4 (DAT/VOB/AVi), WMV9/VC-1, H.265 AVI DIVX, AVI, DIVX, TS,ISO,MKV, MOV, HDMOV, MP4, M4V, PMP, AVC, FLV, MPG, MPEG, WMV, VOB, WEBM files encoded with H.265/HEVC, H.264/AVC, MPEG1/2/4, VC1, up to 4096x2304 , 30fps, 200mbps. Subtitles: SRT, PGS, IDX+SUB. Audio: MP3, WMA, FLAC, OGG, AC3, DTS,Dolby and AC3. Photos: JPG, GIF, BMP, PNG, TIF.

Start your free first day with StreamNeo.

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.