Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix 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
DocumentaryTube
FFmpeg

How to Make a YouTube Gaming Rerun Channel with One FFmpeg Playlist

Loop a game recording or playlist with FFmpeg and send it to YouTube Live. This guide covers eligibility, concat choices, stream settings, testing and troubleshooting.

By DocumentaryTube Team 7 min read
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can run prerecorded gaming footage as a YouTube livestream by preparing a local playlist, sending it from FFmpeg to the ingest URL and stream key in YouTube Studio, then checking the preview before you go live. For a single file, FFmpeg’s -stream_loop -1 repeats the input indefinitely; for several files, choose the concat demuxer when the files are compatible or the concat filter when you need to normalize or re-encode them. These pieces require testing together: looping an input alone does not guarantee gapless transitions or a stream that recovers after a failure.

Before you start: check channel eligibility and prepare the footage

YouTube’s live-streaming guidance says a channel must be verified and must not have had live-streaming restrictions in the previous 90 days. Encoder streams are supported for gameplay. Check the channel’s current eligibility and finish any setup in YouTube Studio before planning a public rerun. YouTube Help: get started with live streaming

  • Choose footage you have the right to broadcast, including its game audio, music, overlays and any included third-party material. A livestream using material you do not have permission to use can encounter copyright enforcement. Review YouTube’s copyright safety checklist before scheduling.
  • Prepare the video files locally and test that each plays correctly with sound. A rerun channel is a broadcast of prerecorded footage, not a camera feed.
  • Make a test stream or use YouTube’s preview before announcing a public start. Codec, timestamps, container compatibility and the selected FFmpeg method can affect whether files join cleanly.

Create an encoder stream and protect its key

  1. Open YouTube Studio and go to Live Control Room. Create or schedule a stream using the encoder workflow.
  2. Copy the ingest server URL and stream key shown by YouTube into your FFmpeg output configuration. Use the endpoint YouTube displays for that stream rather than copying an old URL from an example.
  3. Keep the stream key private: it authorizes an encoder to send video to your broadcast. Do not put it in a public script, screenshot or shared document. If exposed, reset it in YouTube Studio and update the encoder.

YouTube’s setup guidance explains the encoder stream URL and key: Set up your encoder for live streaming. Treat the key like a password; anyone with it may be able to send a feed to the stream.

Choose how FFmpeg should handle the playlist

One file, repeated forever

For one source file, FFmpeg documents -stream_loop -1 to loop an input indefinitely. It is an input option, so put it before the relevant -i. The simplest conceptual pattern is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
LAPGEAR Home Office Pro Lap Desk - Black Carbon, Fits 15.6” Laptops
  • Spacious Design: Measuring 21.1" wide and 14.1" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
  • Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy ergonomic support with the integrated cushioned wrist rest.
  • Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
  • Durable Surface: Work with confidence on our lap desk's solid surface, featuring a sleek black carbon color, ensuring optimal air circulation to prevent your laptop from overheating.
  • On-the-Go Convenience: With an integrated handle and lightweight design (2.8 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.
ffmpeg -stream_loop -1 -re -i "gameplay.mp4" [output options] "YOUTUBE_INGEST_URL_AND_KEY"

This is a pattern, not a universal ready-to-run command. Replace the output placeholder with the exact ingest endpoint and private key arrangement for your YouTube stream, and choose output options for the media and current YouTube recommendations. Never publish a real key. Confirm the installed FFmpeg version and its local help for option syntax before using a command in production.

Several files with the concat demuxer

When files have compatible stream parameters, the concat demuxer can present them as one sequential input and may let you avoid re-encoding. Create a text file such as playlist.txt with one entry per file:

Rank #2
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.
file 'part-01.mp4'
file 'part-02.mp4'
file 'part-03.mp4'

Then use the concat demuxer as the input and loop that playlist:

ffmpeg -stream_loop -1 -re -f concat -safe 0 -i "playlist.txt" [output options] "YOUTUBE_INGEST_URL_AND_KEY"

This approach depends on the actual inputs and their compatibility. Paths and quoting may need adjustment for your operating system; test the end of one file and start of the next for gaps, freezes, missing audio or timestamp problems. Do not assume stream-copy will work seamlessly for arbitrary mixed files.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Yilador Webcam Cover 3 Pack, 0.03 inch Ultra Thin Laptop Camera Cover Slide
  • Note: Not suitable for MacBooks released after 2023 or devices with a protruding front camera; Not applicable to full-screen or notch-style tempered glass screen protectors; Do not use on the rear camera of the phone.
  • đź’» Why Do You Need a Webcam Cover Slide? — Safeguard your privacy by covering your webcam with our reliable webcam cover when not in use. Don't let anyone secretly watch you. Stay protected!
  • âś… Thin & Stylish — Enhance your laptop's functionality and aesthetics with our 0.027" ultra-thin webcam covers. Seamlessly close your laptop while adding a touch of sophistication.
  • âś… Fits Most Devices — Compatible with laptops, phones, tablets, desktops! Keep your privacy intact on Ap/ple, Mac/Book, iPh/one, iP/ad, H/P, L/novo, De/ll, Ac/er, As/us, Sa/msung devices.
  • âś… 365 Days Protection — Our upgraded 3.0 adhesive ensures a strong hold that won't damage your equipment. Experience reliable, long-term privacy protection day in and day out.

Several files needing normalization or re-encoding

If the files differ in resolution, frame rate, codecs, time bases or other parameters, or you need filter-based processing, FFmpeg’s concat filter is the alternative that supports re-encoding. Normalize the inputs to a consistent output format and encode the resulting video and audio for YouTube. Re-encoding uses CPU or hardware-encoder capacity; a filter graph must also account for the number of inputs and their audio/video streams. Build and test the graph for your specific files rather than assuming the demuxer playlist can be substituted unchanged.

FFmpeg distinguishes the concat demuxer from the concat filter and documents the looping option in its FAQ on concatenating video files and command-line options. A playlist that loops forever is not automatically gapless, timestamp-safe or self-healing.

Rank #4
AboveTEK Portable Laptop Lap Desk w/Retractable Left/Right Mouse Pad Tray, Non-Slip Heat Shield Tablet Notebook Computer Stand Table w/Sturdy Stable Work Surface for Bed Sofa Couch or Travel
  • Anti-Slip Surface - Transform your laptop into a mobile workstation with the AboveTEK portable laptop lap desk. The anti-slip surface provides a strong grip for laptops up to 15.6 inches(Diagonal), while the double rubber strip on the bottom ensures a stable display or typing experience on your lap, couch, or bed.
  • Retractable Mouse Pad - Retractable laptop mouse pad extends on both directions for the left/right handed with elevation along the edges for stopping mouse from falling off. The size of laptop tray is 14" X 9.7" and the size of mouse pad is 7.4" X 6.1".
  • Effective Heat Shield - The effective heat shield made of sturdy and thick material protects your laptop from overheating. Prioritizes your comfort and safety, an ideal lap pad or board for working anywhere.
  • EASY to Carry and Store - With an ergonomic and simplistic design, the lap desk is portable to store in a backpack. Only 15" in size, 2.2 lb of weight and with slim 0.6 inch thickness, it is ready to be easily carried around.
  • Widely Applicable - The smooth platform accommodates laptops and tablets up to 15.6 inches(Diagonal), making it a versatile accessory and one of the best gifts for mom, dad, students and professionals. Perfect for use as a laptop bed tray or tablet holder anywhere at home, library, or park.

Set the output for YouTube and your network

Use YouTube’s current encoder guidance when selecting protocol, codec, resolution, frame rate and bitrate. YouTube currently recommends RTMPS. Its guidance recommends a two-second keyframe interval and says not to exceed four seconds; it also recommends keeping upload capacity above the total stream bitrate, with 20% headroom. These are platform recommendations, not guarantees of a successful stream. Check the current YouTube encoder settings and bitrates before going live because technical recommendations can change.

  • Use an output bitrate your sustained upload connection can handle with headroom, including audio and any other concurrent traffic.
  • Set the keyframe interval to two seconds where the encoder exposes that setting, and do not exceed YouTube’s stated four-second ceiling.
  • Use RTMPS and the ingest URL provided in YouTube Studio; do not use a stream key copied from a different broadcast.
  • If stream-copying, verify that the source codec and stream parameters fit the output and platform requirements. If they do not, re-encode rather than expecting FFmpeg to convert them by copying.
  • A wired Ethernet connection is an optional way to connect the streaming computer to the router; it is not a YouTube requirement. The important requirement is a reliable connection with sufficient upload capacity.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Start, preview and monitor the broadcast

  1. Start FFmpeg and check its console output for input, decoding, timestamp, encoding and connection errors.
  2. Wait for the signal and preview to appear in YouTube Live Control Room. Verify moving video, audio levels and the transition between playlist items.
  3. Start the public broadcast in YouTube when the preview is correct. Keep watching both the FFmpeg process and YouTube’s live status; a successful initial connection does not prove that the whole playlist will run without interruption.
  4. For a continuous channel, decide how you will supervise the host, process and network, and how you will restart the broadcast if the process or connection fails. -stream_loop -1 only repeats media; it does not restart FFmpeg after a crash or reconnect under every failure condition.

YouTube recommends preparing ahead and checking the preview before going live. Its encoder setup guidance says streams under 12 hours are automatically archived. That statement does not establish that every longer stream is forcibly stopped at exactly 12 hours or guarantee archival of every longer broadcast; plan stream continuity and recordings around YouTube’s current behavior. YouTube encoder setup and stream archives

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
LAPGEAR Home Office Lap Desk – Pink, Fits 15.6” Laptops
  • Spacious Design: Measuring 21.1" wide and 12" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
  • Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy laptop support with the integrated device ledge.
  • Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
  • Durable Surface: Work with confidence on our lap desk's solid surface, featuring a blush pink color, ensuring optimal air circulation to prevent your laptop from overheating.
  • On-the-Go Convenience: With an integrated handle and lightweight design (2.14 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.

Troubleshooting common failures

Symptom Likely cause What to check or do
YouTube receives no signal Wrong ingest URL or key, encoder not connected, or key reset since configuration. Copy the current URL and key from the intended Live Control Room stream, update FFmpeg’s output, and keep the key private.
Connection drops or the preview buffers Unstable upload connection or bitrate too close to available upload capacity. Check sustained upload capacity, reduce output bitrate if needed and preserve the recommended headroom; check YouTube’s current encoder guidance.
Playlist stops at the end The loop option is missing, is not attached to the correct input, or is positioned incorrectly. Use -stream_loop -1 before the applicable -i, then test the full playlist boundary locally.
Errors or glitches at a file boundary Inputs have incompatible stream parameters, timestamps or container behavior for demuxer concatenation. Validate the files and boundary; if suitable for the source, use the concat filter and re-encode to a consistent format.
Black video, silent audio or rejected output Unexpected source streams or codecs, a mismatched output configuration, or an invalid filter/output setup. Inspect the actual input streams, choose an output format that matches YouTube’s current recommendations, and verify video and audio in preview before going public.
Stream ends when the computer or FFmpeg stops The DIY encoder depends on the computer, process and network remaining available. Keep the host and connection running and monitor the process, or use a cloud service designed to continue playback independently of the local computer.

Or let it run in the cloud

If you would rather not keep a computer, FFmpeg process and home connection running, StreamNeo runs uploaded videos as a YouTube livestream from the cloud. Upload your recording or build a playlist, add your YouTube stream key once, and go live. Nothing has to stay on at home; it streams the upload as made, up to 4K 60fps, at one price per slot regardless of quality, and automatically recovers if YouTube drops the stream. The first day is free with no card. Monthly pricing is $9.99 per month. StreamNeo is for prerecorded uploads to YouTube, not camera streaming. Start the free first day on 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

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
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.