October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
DocumentaryTube
Admit one · Blog

How to Loop Pre-Recorded Videos in AWS Elemental MediaLive for YouTube

Set a MediaLive file input to LOOP to replay it from the beginning, then send the channel output to YouTube using the event’s stream URL and key.
Opened Runtime5 min Written byDocumentaryTube Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To repeat a pre-recorded file in AWS Elemental MediaLive, set its input attachment’s Source end behavior to LOOP. Then configure a MediaLive RTMP output group with the stream URL and key from YouTube Live Control Room. YouTube recommends RTMPS where supported. A looping input restarts at the end of the file; it will not finish so a following follow input can take over.

What you need before configuring the channel

  • A supported file input: MediaLive lists MP4 files with an .mp4 extension and TS files with .ts or .m2ts extensions as VOD sources. See AWS MediaLive source types.
  • A MediaLive channel with that input attached and an RTMP output group configured for YouTube’s destination details.
  • A YouTube Live event and its stream URL and stream key from Live Control Room. YouTube describes the key as password-like, so keep it secret. See YouTube live settings.

The exact codec, bitrate, destination fields, and available channel settings depend on your MediaLive configuration and YouTube event. Confirm the supported combination in the current consoles before going live.

Set the file to loop in MediaLive

  1. In the MediaLive channel configuration, open Input attachments and select the file input.
  2. Open that attachment’s general settings and set Source end behavior to LOOP.
  3. Save the channel configuration. When the file ends, MediaLive starts ingesting it again from the beginning. AWS documents this behavior in the MediaLive User Guide.

This setting belongs to the input attachment. It is not the same as input-loss handling: input-loss behavior addresses what happens after a loss, such as replacement frames or a slate, rather than intentionally replaying a completed file. See AWS input-loss behavior.

Send the channel output to YouTube

  1. In the MediaLive channel, add an RTMP output group. AWS’s setup instructions are in Creating an RTMP output group.
  2. In YouTube Live Control Room, copy the stream URL and stream key for the event. Enter the destination information in MediaLive’s output configuration. AWS destination fields include protocol, address, port, application name, and stream name; credentials may also be required. See AWS RTMP destinations.
  3. Choose RTMPS if it is available and compatible with the MediaLive destination configuration. YouTube recommends RTMPS, which encrypts the connection to Google’s servers. Copy the RTMPS URL shown for your event rather than assuming the default URL is the secure one. See YouTube’s RTMPS instructions.
  4. Protect the stream key as you would a password. Do not publish it or expose it in screenshots or public logs.

Use the protocol and destination values offered for your event, and check that MediaLive’s destination protocol and certificate settings work with the selected URL.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
KAMRUI Pinova P2 Mini PC, AMD Ryzen 7330U(4 Cores, 8 Threads, Up to 4.3GHz), 16GB RAM 256GB SSD, Zen3 Architecture 7nm Processor, 8MB L3 Smart Cache Mini Computers,Triple 4K Display Home/Business
  • 【AMD Ryzen 7330U】 – The Efficiency-Tuned Powerhouse,AMD Ryzen 7330U (Zen 3, SMT, 4C/8T) in KAMRUI P2 mini PC crushes rivals: Intel i3-10110U (2C/4T, 2019) and N95 (4 efficiency cores, no HT, single-channel memory). Vs predecessor Ryzen 3 4300U (4C/4T): ~50% faster single-core, ~46% multi-core, 8MB L3 cache (vs 4MB). Beats both Intel chips hugely in multi-core, making heavy multitasking, coding, data work smooth at just 15W TDP. High-end power in a cool, efficient box.
  • 【AMD Radeon Graphics】– Triple 4K Vision & Fluidity,The integrated Radeon Graphics (based on the modern Vega architecture with 6 CUs) is a visual beast, outclassing the iGPU offerings from both AMD's prior generation and Intel. The Intel UHD Graphics (i3-10110U/N95) struggles with single-channel memory and low execution units, crippling its gaming performance and barely handling basic 4K video without stuttering. While the older Radeon Vega 5 (4300U) was decent, our 7330U's Radeon Graphics (6 CUs) pushes the boundaries, delivering higher graphics clock speeds (up to 1.8GHz) and significantly better rendering capabilities. It can drive triple 4K@60Hz displays with zero lag, edit photos/videos.
  • 【Generous Storage & Easy Expansion】The KAMRUI Pinova P2 mini desktop computers comes with 16GB LPDDR4X RAM (higher frequency, lower power) for buttery‑smooth multitasking, and a 256GB M.2 SSD for blazing fast boot‑up, quick file transfers, and no more long loading screens. It also features two storage expansion slots (1x M.2 2280 SATA/NVMe PCIe 3.0 slot + 1x M.2 2280 SATA slot), supporting up to 4TB total (not included). You’ll have all the space you need for projects, media, and important data.
  • 【Triple 4K Display Output】The KAMRUI Pinova P2 mini desktop pc is equipped with HDMI 2.0 ×1 + DP 1.4 ×1 + USB 3.2 Gen2 Type‑C ×1 (with DP Alt Mode), enabling simultaneous triple 4K@60Hz output. Whether for home entertainment, remote work, or conference room presentations, it delivers an immersive visual experience. Two USB 3.2 Gen2 Type‑A ports (up to 10Gbps – 21x faster than USB 2.0) make data transfers and device expansion a breeze.
  • 【USB 3.2 Gen2 Type‑C: 10Gbps & Versatile Connectivity】The USB 3.2 Gen2 Type‑C port on the KAMRUI P2 small pc supports 10Gbps data transfer speeds and can also output DisplayPort 1.4 video. Together with Gigabit LAN, Wi‑Fi, and Bluetooth, you get a fast, flexible, and productive connected environment – wired or wireless.

Choose encoder settings and test the stream

YouTube’s encoder settings guidance lists RTMP/RTMPS, H.264, H.265/HEVC, or AV1 video, up to 60 fps, constant bitrate (CBR), and a recommended two-second keyframe interval (no more than four seconds). MediaLive’s available codecs depend on the input and output configuration, so do not assume every codec YouTube lists is available for every MediaLive channel.

Bitrate must match the codec, resolution, and frame rate. As examples, YouTube’s H.264 guidance, checked in 2026, gives 1080p at 30 fps a minimum of 5 Mbps and a recommended 14 Mbps; for 1080p at 60 fps it gives a minimum of 6 Mbps and a recommended 17 Mbps. These are examples for those H.264 profiles, not universal settings. Use the current YouTube table’s matching row for your chosen profile.

Rank #2
GMKtec M5 Ultra Gaming Mini PC Ryzen 7 7730U 32GB RAM 512GB SSD Desktop
  • Office Gaming Mini PC - UPGRADED GMKtec Nucbox M5 Ultra Series is equipped with the powerful AMD Ryzen 7 7730U processor, 8 Cores/16 Threads, Base 2.00GHz (Power Saving Quiet Mode) with Turbo Boost up to 4.50GHz (Performance Mode) in BIOS settings, Based on the ZEN 3+ architecture, this small but powerful mini pc delivers satisfying results in productivity, office work, and gaming. 35% Performance increase over AMD Ryzen 5 7430U/ Ryzen 7 5700U, 5600U, 5560U, 5500U.
  • 32GB DDR4 RAM & 512GB PCIe SSD - Installed with DDR4 32GB RAM Dual Channel (2x16GB), the Nucbox M5 Plus mini pc support expansion to 64GB RAM. Featured with 512GB M.2 2280 PCIe 3.0 SSD, support dual slot expansion to 4TB SSD. (Upgrades not included)
  • DUAL NIC LAN 2.5G RJ45 - Fast Network Speeds: Enjoy up to 2500Mbps data transmission speed without worrying about lagging. Ideal for working, gaming, and surfing the internet. Great for Untangle, Pfsense or as a server office PC.
  • Mini Desktop Computer with 4K Triple Screen Display - Nucbox M5 Ultra integrates AMD Radeon Graphics 8 Cores 2000 MHz GPU to deliver powerful graphics processing power to easily handle the demands of complex design software, 4K@60Hz UHD video editing, and playback. It can connect to 3 display screens simultaneously.
  • Fast Internet WiFi 6E + BT5.2 Connection - GMKtec Mini PC with WiFi-6E Wireless, have 2.5G/5G/6G triple band, more faster and lower latency. Bluetooth 5.2 allowing you more quickly to connect other wireless devices (headset, mouse, keyboard, etc.) Interface features 2*USB3.2 ports, 2*USB2.0 ports, 1*HDMI 2.0 port(4K@60Hz), 1*USB-C port(PD/DP/DATA), 1*DP Port, 1*Audio 3.5mm (HP&MIC), 1*DC Power Port.
  • Test with movement and audio representative of the program, not only a static frame or silent segment.
  • Confirm YouTube receives the stream and monitor stream health in Live Control Room before relying on the loop.
  • Check the event’s current ingest details and the MediaLive channel’s available settings if the selected codec, frame rate, or destination is rejected.

Choose the right repeat and scheduling behavior

What you want MediaLive behavior Important consequence
Repeat the same file whenever it reaches the end Set Source end behavior to LOOP. The file restarts; a following follow input will not take over because the current input does not complete.
Play a file once, then let another input take over Set the first input to CONTINUE and configure the follow-input transition. CONTINUE plays once; a follow input can take over when the first input ends.
Replay a static file at a later scheduled time Switch away from the file input, then switch back to it. Re-selecting a static file input starts it from the beginning of the file or clipped section; this is scheduled re-selection, not continuous looping.

AWS documents the follow-input limitation and end behavior in the MediaLive User Guide, and the restart behavior for re-selecting a static file in its file input documentation.

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

Troubleshoot common problems

The file plays once and stops

Check the selected input attachment’s Source end behavior. If it is set to CONTINUE rather than LOOP, the file is ingested once and MediaLive follows the applicable next-input or input-loss behavior.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
BOSGAME E5 11 Pro Mini PC, AMD Ryzen 5300U 4C/ 8T, Business Home Office PC
  • 【AMD Ryzen 3 5300U CPU: Outperforms N150 & 3500U】 BOSGAME E5 mini PC is powered by the TSMC 7nm FinFET architecture AMD Ryzen 3 5300U processor (4 Cores, 8 Threads, up to 3.8GHz boost, 6MB total cache). Compared to low-end Intel N150 or 3500U chips which only have 4 single threads and throttle under load, the 5300U delivers over 30% faster multi-core speed. Run 30+ browser tabs, large Excel sheets, and Zoom meetings simultaneously without system lag.
  • 【8GB DDR4 RAM & 256GB NVMe SSD Storage】 Installed with high-speed 8GB DDR4 dual-channel memory and a fast 256GB M.2 2280 SSD, eliminating slow boot times and application loading delays. To accommodate growing data requirements, the upgradeable hardware design features dual SODIMM slots that allow you to expand memory up to 64GB RAM, ensuring smooth operation during heavy multitasking.
  • 【High-Capacity Dual M.2 SSD Storage Expansion】 Never worry about running out of space for your business files. In addition to the pre-installed 256GB system drive, the motherboard houses an extra empty internal M.2 2280 NVMe PCIe 3.0 slot. This allows you to easily add a second solid-state drive for up to an additional 2TB of storage capacity (upgrades not included) without needing to remove or reinstall the original operating system.
  • 【Radeon 6-Core Graphics & Triple 4K Displays】 Integrated with official AMD Radeon Graphics (6 Graphics Cores, 1500 MHz frequency) for casual gaming, photo editing, and crisp 4K media decoding. Featuring 1x HDMI 2.0 port, 1x DisplayPort, and 1x Full-Function Type-C port, the E5 outputs true 4K@60Hz resolution to three monitors at once. This multi-screen setup eliminates constant window-switching for traders, programmers, and office workers.
  • 【Dual 2.5GbE LAN Ports for Advanced Networking】 Experience fast wired network transmission speeds up to 2500Mbps without lagging or buffering. The integration of dual 2.5 Gigabit Ethernet ports (powered by Realtek RTL8125 controller) makes this compact computer an exceptional hardware choice for tech enthusiasts. Easily configure it into software routers, hardware firewalls (pfSense, OpnSense), home NAS servers, or local homelabs.

The next input never starts

If the current input is set to LOOP, it restarts at end-of-file instead of completing, so a following follow input cannot take over. Set the preceding source to CONTINUE when the intended schedule is to hand off to another input.

YouTube does not receive the stream

Check that the stream URL, stream key, protocol, address, port, application name, and stream name match the event and MediaLive output configuration. Confirm whether the event provides RTMPS and that the selected destination protocol and certificate settings are compatible.

Rank #4
Sale
GMKtec G3S Mini PC Intel N95 Processor (Up to 3.4GHz) 8GB RAM 256GB M.2 SSD
  • 12th Intel Alder Lake N95 Processor – The GMKtec G3 S Mini PC is powered by the 12th Gen Intel N95 processor with 4 cores, 4 threads, 6MB cache and a burst frequency up to 3.4GHz. Compared with N100/N5105/N5100/N5095, the N95 delivers up to 36% overall performance improvement. Perfect for routine tasks, office work, and home entertainment, this compact mini desktop is more convenient than traditional bulky PCs.
  • 8GB RAM & 256GB SSD Storage – Pre-installed with 8GB DDR4 memory and a fast 256GB M.2 2242 SSD, the G3 S mini desktop offers quicker startup, smoother multitasking, and faster file transfers. Enjoy seamless performance whether you’re working on multiple applications, browsing, or streaming content.
  • Rich Interfaces & Connectivity – The G3 S mini computer comes equipped with USB 3.2 (up to 10Gbps), dual HDMI 2.0 (4K@60Hz), and a 3.5mm audio jack. With support for WiFi 5, Bluetooth 5.0, and Gigabit Ethernet (RJ45 1000MbE), it connects easily with monitors, projectors, printers, office equipment, and other peripherals, making it versatile for both home and business use.
  • Dual 4K Display Support – Featuring upgraded Intel UHD Graphics (up to 1000MHz), the G3 S supports 4K video playback and AV1 decoding for a smooth viewing experience. With dual HDMI outputs, you can connect two 4K@60Hz displays simultaneously, enabling efficient multitasking for work and entertainment.
  • GMKtec WARRANTY - GMKtec offers a 1-year limited GMKtec's warranty for each mini PC, starting from the date of the purchase. All defects due to design and workmanship are covered. With a professional after sales team always ready to attend to your needs, you can simply relax and enjoy your mini PC.

YouTube reports an encoder or stream-health issue

Compare the actual output codec, resolution, frame rate, bitrate, CBR setting, and keyframe interval with the current YouTube guidance for that profile. Verify that the codec is available for your particular MediaLive configuration, then test with representative audio and motion and monitor Live Control Room.

Or let it run in the cloud

If your goal is simply to keep uploaded video playing as a YouTube live stream, StreamNeo is a separate cloud option: upload a recording or build a playlist, add your YouTube stream key once, and go live. It loops uploaded videos from the cloud, so nothing has to stay on at home. Any uploaded quality up to 4K 60fps streams as made at one price per slot; automatic recovery is included if YouTube drops the stream. The first day is free with no card. Monthly: $9.99 per month.

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

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.

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 Screening Room

  1. 97% OwnedAdmit one · Economics97% OwnedOpened05 OCT 2026Runtime2 min
  2. The Hidden Side of World War II: Nazi Secrets Revealed in the ArchivesAdmit one · Military/WarThe Hidden Side of World War II: Nazi Secrets Revealed in the ArchivesOpened05 OCT 2026Runtime4 min
  3. Dogs that changed the World – Border CollieAdmit one · NatureDogs that changed the World - Border CollieOpened05 OCT 2026Runtime2 min
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

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.