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 run prerecorded video continuously on YouTube from Ubuntu, install OBS Studio, add a looping Media Source (or a VLC Video playlist), connect OBS to YouTube with the stream URL and stream key, then start and monitor the encoder. One important limit: YouTube says streams under 12 hours are automatically archived; it does not promise that a single uninterrupted 24/7 broadcast will be archived. OBS looping repeats media, but does not rotate YouTube broadcasts or recover them unattended.

Before you start: plan the computer and the broadcast

This method uses OBS Studio on an Ubuntu computer that remains powered on, connected to the internet, and able to encode and send video for the duration of the broadcast. OBS requires a compatible graphics environment: OpenGL 3.3 support and X window system or Wayland. The OBS Project cautions that meeting these requirements does not guarantee that a system can stream or record well. Test your actual video, audio, and upload connection before relying on a long-running broadcast.

  • An Ubuntu system with OBS Studio installed and a stable wired or wireless internet connection.
  • The prerecorded video files stored locally, or VLC installed if you plan to use an OBS VLC Video playlist.
  • A YouTube channel enabled for live streaming. First-time live streaming enablement can take up to 24 hours, according to YouTube’s encoder guide, so set it up in advance.
  • A decision about whether uninterrupted viewing, archived recordings, or both are essential. YouTube’s automatic-archive guidance has a 12-hour boundary.

Install OBS Studio on Ubuntu

The OBS Project’s Linux installation article gives these Ubuntu commands:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt install obs-studio

The installation article describes Ubuntu 18.04 or newer, but it dates from 2021 and is not a guarantee of compatibility with every current OBS release. In particular, the OBS Project announced on June 19, 2026 that OBS Studio 33 no longer supports Ubuntu 24.04. Check the OBS version, Ubuntu release, and package source you intend to use before deploying a production stream. The current release-to-Ubuntu compatibility matrix is not established here.

#1 Best Overall
Guermok Video Capture Card, 4K USB3.0 HDMI to USB C, 1080P 60FPS & 2K 30FPS
  • 【1080P 60FPS Video Capture Card】 This HDMI game capture card is based on USB3.0 high speed transmission port, input resolution up to 4K@30HZ, output resolution up to 2K@30Hz or 1920×1080@60Hz. Type c and USB interface can meet most of the devices in daily life. Easily meet the online capture, real-time recording, online meetings, live gaming and other functions, so you have a better visual enjoyment. Note: For capture use only; requires capture software to function and is not intended for direct screen casting to a monitor or TV
  • 【Ultra Low Latency Screen Sharing】 HDMI capture card is made of good quality aluminum alloy with strong heat dissipation, allowing you to enjoy ultra low latency while live gaming or video recording or live streaming, avoiding blue screens and lag. This HDMI to USBC capture card supports easy recording of good quality audio or HD video and transferring it to your computer or streaming platform, allowing you to record 60 fps HD video directly on your hard drive and real-time preview
  • 【Plug and Play, Easy to Carry】 This HDMI 1080P video capture card does not require any additional drivers or external power supply, just plug and play for fast capture. The capture card is small and lightweight, so you can put it in your bag for emergencies, making it very portable for outdoor live streaming. It's also a great way to share content in game recording, video conference, video recorder and online teaching
  • 【Wide Compatibility USB Capture Card】 Easily streams to Facebook, Youtube or Twitch. With the connection, this HDMI to USB C/3.0 video capture devices can be working on several Operating Systems and various software: Windows 7/ 8/ 10, Mac OS or above, Linux, Android, Laptop, Xbox One, PS3/PS4/PS5, Camera, DVDs, Set Top Box, Webcame, DSLR, Switch/Switch 2, TV BOX, HDTV, Potplayer/VLC, ZOOM, OBS Studio etc.
  • 【Package Content & Note】 1x HD Audio Capture Card , 1x USB 3.0 to USB C Adapter (A-side 3.0, B-side 2.0), 1x user manual. Please note that you need to restart the OBS Studio software after the audio setup is complete, otherwise it will result in no sound output. When using an adapter, if the device is recognized as USB 2.0, try using the other side with the USB-C port. Simply flip the capture card and reconnect it to be recognized as USB 3.0

Set up the prerecorded video loop in OBS

Loop one video with Media Source

  1. Open OBS and choose the scene that will carry the stream. If you have not created one, add a scene in the Scenes panel.
  2. In the Sources panel, select + and choose Media Source.
  3. Name the source, then select the local video file. OBS documents common formats including MP4, TS, MOV, FLV, MKV, AVI, GIF, and WebM.
  4. Enable Loop in the Media Source properties, then confirm the source.
  5. Check the preview: the video should be visible and should begin again when it reaches the end. Confirm that the expected audio is present and set to an appropriate level.

A Media Source’s Loop option repeats that file. It does not create new YouTube broadcasts, split the stream into archived segments, or restart OBS or YouTube after a failure.

Loop several videos with VLC Video

  1. Install VLC before adding the source. OBS’s VLC Video source requires VLC; 64-bit OBS requires 64-bit VLC.
  2. In OBS, use the Sources panel’s + menu and choose VLC Video.
  3. Add the video files to the source playlist and set the order or shuffle behavior you want.
  4. Enable Loop Playlist (on by default) and confirm the source.
  5. Watch the OBS preview through a transition between files. Check that the next item appears as intended and that audio is present.

The VLC playlist is useful when you want several prerecorded videos to repeat as a sequence. Its playlist settings control media playback, not YouTube broadcast rotation.

Rank #2
Capture Card, USB Video Capture Card Device, Audio Video Converter Grabber for RCA to USB-Convert VHS Mini DV VCR Hi8 DVD to Digital, for PC TV Tape Player Camcorder, MAC Windows Vista Compatible
  • AV TO USB Converter: Capture videos and audios from VHS, VCR, Hi8, DV tapes to a PC, with the help of our USB Video Converter. Save room while digitizing your favorite old memories
  • Quality Capture Card: Our USB Video Capture Card converting anolog RCA composite input into HD 720P USB output and capturing audio without any sound card. Advanced signal processing technology provides you with great precision, colors, resolutions, and details.
  • Plug and Play: Automatically install the driver once you hook up this RCA to USB Converter to a PC. No external power is needed. User-friendly and easy to operate
  • Wide Compatibility: The Video Capture Card can work with video devices with RCA connector or S-Video connector, such as VHS, VCR, Hi8, camcorder, compatible with Windows and Mac OS. Support video formats like NTSC, PAL, and support brightness, contrast, hue, and saturation control
  • Note: The Video Converter is used with acquisition software. We recommend OBS Studio or PotPlayer for Windows, and QuickTime Player for Mac. They can be downloaded for free online. Please operate according to the steps in User Manual or contact us if you have any questions

Connect OBS to YouTube Live

  1. In YouTube Studio, open Live Control Room and create or select the stream you intend to use.
  2. Copy the stream URL and stream key shown for that stream. Treat the key as a private credential: anyone with it may be able to connect an encoder to your channel’s stream.
  3. In OBS, open the stream settings and enter the YouTube server URL and stream key, or use an available YouTube service integration. Confirm the settings.
  4. Start the stream from OBS. YouTube says that starting the encoder sends content and creates the watch page. For a scheduled stream, wait for the preview in Live Control Room and click Go live there as directed by YouTube.
  5. Keep OBS and Live Control Room open long enough to confirm that the stream is receiving video and audio and that stream health is acceptable.

Do not share screenshots or logs containing your stream key. If you think it has been exposed, replace or reset it through YouTube’s stream settings before reconnecting OBS.

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

Choose encoder settings YouTube can receive

For the standard OBS-to-YouTube workflow, YouTube recommends RTMP or RTMPS ingestion, H.264 video, constant bitrate (CBR), and a 2-second keyframe interval. YouTube says not to exceed 4 seconds. Select resolution and bitrate for the output you want and an upload connection that can sustain it; there is no single bitrate that is right for every resolution and connection.

Rank #3
Video Capture Card, 4K USB3.0 HDMI to USB C, 1080P60FPS HDMI Capture Card for Streaming, Gaming, Video Recording Compatible with Switch, Xbox, PS4/5, OBS,iPad Mac OS Windows,Camera, Zoom(Silver)
  • 【4K HDMI Input, 2K@30Hz Recording】Powered by a true USB 3.0 high-speed interface, the capture card supports up to 4K@30Hz HDMI input and records at 2K@30Hz or 1080P@60Hz. Perfect for gamers, streamers, and professionals who need crisp, smooth video for live streaming, gameplay recording, or online meetings.
  • 【Ultra Low Latency Screen Sharing】Built with a premium aluminum alloy shell and advanced chipset for stable heat dissipation, ensuring ultra-low latency transmission. Capture high-quality video and dual-channel audio in real time—no lag, no frame drop—ideal for Twitch, YouTube, or OBS streaming.
  • 【Easy Plug and Play, Compact & Portable】No driver or external power required—just plug and play via USB 3.0 or Type-C connection to your Windows or macOS computer. Lightweight and compact design makes it easy to carry for outdoor streaming, live shows, or mobile recording setups.
  • 【Wide Compatibility & Multi-Device Support】Compatible with Windows 7 8 10 11, macOS, Linux,Android and supports most popular software such as OBS, Zoom, VLC, Twitch Studio, and more. Works seamlessly with PS4, PS5, Xbox, Switch, DSLR cameras, TV boxes, and other HDMI-output devices for streaming to YouTube, Twitch, etc.
  • 【What You Get】Includes: HDMI Capture Card, USB 3.0 to USB-C Adapter, User Manual. Tips: Make sure your tablet’s OTG function is enabled before connecting. Test your HDMI device with a monitor first to confirm video and audio output, then connect to the Video Capture Card for recording.
  • Protocol: RTMP/RTMPS is the standard encoder route described here. YouTube says RTMPS encrypts the connection to Google’s servers.
  • Video codec: H.264.
  • Rate control: CBR.
  • Keyframe interval: 2 seconds recommended; no more than 4 seconds.
  • Resolution and bitrate: choose for your intended output and stable upload capacity. Test the actual video rather than assuming a connection’s advertised speed is fully available to the encoder.
  • Audio and motion: test representative sound and scenes with movement, then check YouTube’s stream-health feedback.

YouTube also documents HLS ingestion, including support for OBS. HLS requires TS segments, a 1–4 second segment duration, a rolling playlist with no more than five outstanding segments, and HTTPS POST/PUT. YouTube notes that HLS has higher latency than RTMP. It is an alternative for a compatible workflow, not the simplest starting point for a basic OBS loop.

Understand the 12-hour archive limit before attempting 24/7

YouTube’s encoder guidance says all streams under 12 hours are automatically archived. It does not make the same promise for one uninterrupted stream lasting 12 hours or longer. YouTube also says DVR rewind may be limited or unavailable on streams longer than 12 hours.

Rank #4
Audio Express AXHDCAP 4K HDMI Video Capture Card, Cam Link Card Game Audio Adapter HDMI to USB 2.0 Record Capture Device for Streaming, Live Broadcasting, Video Conference, Teaching, Gaming
  • [Enhanced 4K-1080P Video Capture Experience] Capture the Magic: Elevate your video recordings to new heights with our upgraded anti-static 1080P Video Capture Card. Immerse yourself in stunning visuals, supporting HDMI input at 4K 60FPS and USB output for capturing in 1080P, complete with rich stereo sound. Enjoy crystal-clear video recordings, dynamic gaming live streams, and professional conference broadcasts. Note: HDMI resolution: Max input can be 3840×2160@30Hz / Video output resolution: Max output can be 1920×1080@30Hz
  • [Seamless Real-Time Preview] Stay in the Moment: Our advanced ultra-low latency technology ensures seamless real-time transmission of video streams. Experience instant, lag-free previews, allowing you to capture every detail precisely. Effortlessly record video directly to your hard disk, all without compromising on quality or introducing any delays.
  • [Versatility and Broad Compatibility] Your Creative Hub: Connect your DSLR, camcorder, or action camera to a wide range of operating systems, including Windows, MacOS, and Linux. Unlock a world of possibilities with real-time streaming to popular platforms like Twitch, Youtube, OBS, Zoom, Potplayer, and VLC, giving you the tools to share your content effortlessly.
  • [Effortless Plug and Play] Simplicity Redefined: Say goodbye to complex installations. Our plug-and-play design eliminates the need for drivers or external power supplies. Seamlessly integrate high-definition acquisition into various scenarios, whether it's educational recordings, immersive gaming, precise medical imaging, captivating live streams, or professional broadcasting.
  • [Seize Every Detail with Precision] Unleash your creativity and attention to detail with our video capture card. Capture every nuance, every color, and every moment with precision, thanks to the enhanced capabilities of our technology. Whether you're a content creator, a gamer, or a professional, our capture card empowers you to seize the finest elements and bring them to life in your recordings and live streams.

That leaves a practical choice: prioritize one continuous broadcast, or end and start separate broadcasts so each is under 12 hours if automatic archives matter. Ending and restarting broadcasts interrupts the live viewing session. The OBS looping documentation only covers repeating media; it does not establish a reliable, unattended recipe for automatically rotating YouTube broadcasts and archives. Verify the resulting behavior in Live Control Room for your channel rather than assuming the media loop handles it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Keep the stream healthy and recover from common problems

Monitor both OBS and Live Control Room when starting and during operation. YouTube advises testing with representative audio and video motion, checking upload capacity, and watching stream health. A local OBS preview confirms what OBS is composing; it does not by itself prove that YouTube is receiving a healthy stream.

Best Value
Sale
Capture Card, 4K HDMI Video Capture Card, Game Capture Card, 1080P 60FPS Video Capture Device, HDMI to USB 3.0 Capture Card for Streaming, Work with Camera/Xbox/PS4/PS5/PC/OBS
  • 【1080P HD High Quality】Capture resolution up to 1080p for video source and it is ideal for all HDMI devices such as PS4, PS3, Xbox One, Xbox 360, Wii U, DVDs, DSLR, Camera, Security Camera and set top box. Note: Video input supports 4K30/60Hz and 1080p120/144Hz. Does not support 4K120Hz/144Hz. Output supports up to 2K30Hz.
  • 【Plug and Play】No driver or external power supply required, true PnP. Once plugged in, the device is identified automatically as a webcam. Detect input and adjust output automatically. Won't occupy CPU, optional audio capture. No freeze with correct setting.
  • 【Compatible with Multiple Systems】suitable for Windows and Mac OS. High speed USB 3.0 technology and superior low latency technology makes it easier for you to transmit live streaming to Twitch, Youtube, Facebook, Twitter, OBS, Potplayer and VLC.
  • 【HDMI LOOP-OUT】Based on the high-speed USB 3.0 technology, it can capture one single channel HD HDMI video signal. There is no delay when you are playing game live.
  • 【Support Mic-in for Commentary】Rybozen capture card has microphone input and you can use it to add external commentary when playing a game. Please note: it only accepts 3.5mm TRS standard microphone headset.
Symptom Likely cause What to check or do
OBS preview is black or the video does not play The file path is wrong, the source is hidden, or the file has not loaded. Open the Media Source properties, verify the selected local file, and confirm the source is visible in the scene. Check the preview before starting the encoder.
Video plays once and stops Loop is not enabled for the Media Source. Open that source’s properties and enable Loop. For a multi-file sequence, use VLC Video and check Loop Playlist.
VLC Video is unavailable or fails to load VLC may not be installed, or its architecture may not match OBS. Install VLC; if using 64-bit OBS, use 64-bit VLC. Then reopen or reconfigure the source.
YouTube receives no stream after OBS starts The stream URL or key may be wrong, or live streaming may not yet be enabled for the channel. Compare OBS’s server URL and key with the selected stream in Live Control Room. Keep the key private. If this is first-time enablement, allow up to 24 hours.
Stream health degrades or playback stutters The upload connection may not sustain the chosen output settings. Test the same resolution, bitrate, audio, and motion before the broadcast. Check YouTube stream health and lower the output demand if the connection cannot sustain it.
The live broadcast is not automatically archived as expected The stream may have reached or exceeded YouTube’s stated under-12-hour archive range. Check the archive and DVR behavior in YouTube. If automatic archives are required, plan separate broadcasts under 12 hours; OBS’s loop setting does not perform that rotation.
The stream stops when the Ubuntu computer or connection fails This setup depends on the local computer, OBS, power, and internet remaining available. Restore the computer and connection, then reconnect the encoder in OBS and check Live Control Room. The documented OBS media-loop options do not provide unattended recovery after a machine or connection failure.

Cost and reliability trade-offs

OBS Studio is the do-it-yourself software in this workflow, but a 24/7 local broadcast also depends on a computer, power, cooling, internet access, storage, and ongoing monitoring. The actual cost depends on hardware and connection needs; no specific computer or hardware model is established as suitable for every resolution and uptime target. A home setup gives you direct control of scenes and encoder settings, while putting the whole burden of uptime and recovery on your equipment and connection.

Or let it run in the cloud

StreamNeo is a cloud service for keeping a YouTube channel live from uploaded videos: upload a recording or build a playlist, add your YouTube stream key once, and go live. Nothing has to stay powered on at home. It streams your upload as made, at any quality up to 4K 60fps for one flat price per slot, and automatically recovers if YouTube drops the stream. The first day is free with no card required. Monthly billing is $9.99 per month. See StreamNeo or plan details; the upload-time calculator can help estimate how long your files will take to upload. Start your free 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.

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