Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober 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 Scan×
Skip to content
VGSources
FFmpeg

How to Create a YouTube Live Loop of Seasonal Store Promotions Using FFmpeg

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

To run a prerecorded seasonal promotion as a continuous YouTube Live broadcast, create or schedule a live stream in YouTube Studio, then use FFmpeg to read the video at its normal pace and repeat it while sending the output to YouTube’s encoder endpoint. The example below is a template, not a tested, one-size-fits-all command: match its encoding settings to your file and YouTube’s current recommendations, protect your stream key, and check the Live Control Room preview before you promote the broadcast.

Prepare a promotion that can withstand repeating

Export the store promotion as a video with the intended aspect ratio, picture, and audio. FFmpeg can repeat a file, but it does not make the join between the ending and the beginning seamless. Review those frames and listen across the audio boundary; adjust the edit if the loop feels abrupt. Test the final export rather than assuming the original project’s playback will match it.

  • Use product images, video, music, logos, and other material that the store owns or is authorized to use.
  • Preserve useful source quality. Do not upscale a small or soft video just to label the live stream at a higher resolution.
  • Check that the file plays correctly and contains the audio you intend to broadcast.

Create the YouTube Live event

  1. In YouTube Studio, select Create → Go Live.
  2. Create a live stream or schedule one in Live Control Room. Scheduling is useful when you want an event page and time to promote the broadcast.
  3. Open the stream settings and copy the server URL and stream key for the encoder. Treat the key like a password: do not put a real key in a tutorial, screenshot, public repository, or shared script.
  4. Keep Live Control Room open so you can confirm YouTube receives the stream and review its preview before you start or promote the event. YouTube’s encoder workflow is documented at Create a YouTube live stream with an encoder.

Choose ingest and video settings

YouTube recommends RTMPS for secure encoder ingestion in a typical workflow. Its encoder guidance also covers other protocols, including HLS for some codec and HDR needs; HLS sends segments and has higher latency. For a straightforward SDR stream, H.264 video with AAC audio is a conservative compatibility choice. Follow YouTube’s current settings for the protocol and codecs you choose rather than assuming every FFmpeg output format or source file will work.

The following are YouTube Help recommendations, not independent performance measurements. The retrieved settings page does not state a publication date; it was accessed October 3, 2026.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
Output choice YouTube guidance
H.264, 720p at 30 fps Recommended video bitrate: 3 Mbps
H.264, 1080p at 30 fps Recommended video bitrate: 5 Mbps
Keyframe interval 2 seconds recommended; do not exceed 4 seconds
Stereo audio 128 Kbps bitrate and 44.1 kHz sample rate

Use the bitrate for the resolution and frame rate you actually plan to send; consult YouTube’s live encoder settings, bitrate, and resolution guidance for other combinations and current requirements. Choose a resolution that suits both the source and your encoding capacity. A 720p30 source may be better left at 720p than enlarged to 1080p.

Loop and pace the video with FFmpeg

FFmpeg’s -stream_loop -1 input option repeats the input indefinitely; -stream_loop 0 does not loop. The -re option reads the file at its native frame rate (equivalent to -readrate 1), pacing file playout instead of sending it as fast as the machine can process it. Both are input options, so place them before the -i they apply to. FFmpeg cautions that low read rates are not suitable for real capture or live inputs because they can cause packet loss. See the FFmpeg command-line documentation.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

This illustrative command assumes a 1080p30 SDR H.264 output and stereo AAC audio. The 5 Mbps video rate follows YouTube’s recommendation for H.264 at 1080p30, and a 60-frame GOP at 30 fps corresponds to a two-second keyframe interval. It is a starting template, not an official YouTube command or a tested guarantee. Replace the filename and endpoint, inspect your media’s streams, and adjust valid encoding settings for the file and chosen output.

ffmpeg -re -stream_loop -1 -i "seasonal-promo.mp4" 
  -c:v libx264 -preset veryfast -pix_fmt yuv420p 
  -r 30 -g 60 -b:v 5M -maxrate 5M -bufsize 10M 
  -c:a aac -b:a 128k -ar 44100 
  -f flv "<YouTube server URL>/<STREAM_KEY>"

Substitute the server URL and stream key exactly as provided in YouTube Studio. Never publish a command containing a real key. Shell history and process listings may expose command-line values depending on the operating system and setup; use a protected environment or private script/configuration where appropriate, and consider who can inspect processes on the machine.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Stream-copy or re-encode?

FFmpeg can use -c copy to pass through source streams without re-encoding, which avoids encoding work and another quality-generation step. Whether that is suitable depends on the source codecs, container, timestamps, and YouTube output requirements. Re-encoding gives you control to normalize codec and rate settings, but consumes computing resources and can reduce quality if configured poorly. Inspect the source and test the exact file and command; neither method is guaranteed to suit every input. FFmpeg documents stream copy and its options in its command-line manual.

Test the stream and monitor it live

  1. Run a test before the scheduled promotion, using movement and audio representative of the actual program. A static title card alone may not expose problems that appear in the real promotion.
  2. Check the Live Control Room preview for the expected image, resolution, and audio before clicking Go live when using the scheduled workflow.
  3. While broadcasting, watch stream health and dashboard messages. A running FFmpeg process does not by itself prove YouTube is receiving a healthy stream.
  4. Use the specific warning to investigate bitrate, codec, audio, or frame-rate configuration rather than changing unrelated settings at random. YouTube’s Live Streaming API documents stream health and configuration issue categories at LiveStreams.

YouTube’s own guidance says, “Make sure to test before you start your live stream,” and advises: “During the event, monitor the stream health and review messages.”

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

End the broadcast and understand the archive limit

When the promotion is over, stop the encoder and end the event in Live Control Room according to the workflow you used. YouTube Help says streams under 12 hours are automatically archived; its cited guidance does not establish automatic archive availability for broadcasts lasting 12 hours or longer. Plan to retain your original export separately if you need a dependable copy. Details are in YouTube’s encoder streaming guide.

Rights and monetization still apply to a loop

Streaming a video as a live event does not change who owns its contents or whether the channel can monetize it. You need appropriate rights for the promotion’s footage, music, graphics, and other material; permission to use material is not itself a guarantee of YouTube Partner Program eligibility.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

YouTube’s monetization policy update dated July 15, 2025 renamed “repetitious content” to “inauthentic content” and clarified that repetitive or mass-produced content is covered. The policy says reused content must show a meaningful difference to qualify under reused-content rules, and it separately addresses copyright. A recurring loop made from original store material should still be considered against the channel’s overall monetization policies; FFmpeg does not create an exception. Read YouTube’s channel monetization policies.

Or let it run in the cloud

If you want a YouTube loop without leaving a computer and home connection running, StreamNeo is a cloud option. Upload the recording or build a playlist, add your YouTube stream key once, and go live. It keeps the uploaded video playing from the cloud, not from a camera. The stream can continue with your computer off; StreamNeo also offers automatic recovery if YouTube drops the stream. Any uploaded quality up to 4K 60fps is streamed as made at one flat price per slot, without re-encoding or quality tiers. The first day is free with no card. Monthly service is $9.99 per month. See StreamNeo, then start your free first day.

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 *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

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

Read next

Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair 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.