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 DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
DocumentaryTube
concat demuxer

How to Stream Multiple Pre-Recorded Videos to YouTube Live with FFmpeg

Use FFmpeg’s concat demuxer for compatible clips without re-encoding, or the concat filter when you need to normalize and encode before sending a playlist to YouTube Live.

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

To stream a playlist of recorded videos to YouTube Live with FFmpeg, first decide whether the files are compatible enough to join without re-encoding. Use FFmpeg’s concat demuxer when their streams match and you want to preserve the encoded packets; use the concat filter and re-encode when you need to normalize differences or apply filters. Then send the output to the YouTube Live ingest URL with a private stream key, using settings that match YouTube’s current guidance for your chosen codec, resolution and frame rate.

Choose the right FFmpeg concat method

There are two different concat approaches, and they solve different problems. The concat demuxer is suited to compatible files when you want to avoid a re-encode. The concat filter is for cases where re-encoding is needed, such as when inputs need normalization or filtering. FFmpeg’s FAQ explains this distinction.

Approach Use it when Trade-offs
Concat demuxer with stream copy The files have compatible stream layouts and relevant properties, and you do not need filters. Fast and avoids generation loss because packets are copied without decoding or encoding. It cannot apply filters and may fail if the inputs or output requirements are incompatible.
Concat filter with encoding The clips differ materially or you need to resize, change frame rate, filter, or otherwise normalize them. Gives you a chance to make a consistent output, but encoding takes processing time and may reduce quality. FFmpeg’s FAQ recommends this approach when re-encoding is needed.

Before choosing, inspect the files and compare their video and audio streams, codecs, time bases, dimensions, frame rates and audio configurations. Differences in these properties are warning signs for stream-copy concat. Do not assume that a playlist of unrelated files can be joined cleanly without encoding. Even compatible settings do not guarantee seamless transitions, so test the complete playlist.

Prepare the playlist and output

For compatible files: concat demuxer

Use the concat demuxer for the no-re-encode path only after confirming that the inputs are suitable. The demuxer reads a sequence of files as one input; stream copy then passes the encoded packets through without decoding or encoding. Consult the documentation for the FFmpeg build installed on your system for its exact playlist syntax and path-handling behavior. The FFmpeg FAQ describes the method, but does not establish one universal playlist command for every setup.

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.

Do not work around playlist or path errors by disabling safety checks without first understanding the security implications and verifying the option for your installed version. Keep file paths and playlist files under your control.

For mixed files or changes: concat filter

Use the concat filter when the clips need to be brought to a consistent output or you need to apply filters. Decide the target dimensions, frame rate, video codec and audio configuration first, then encode the filtered output. Encoding adds CPU or GPU work and can introduce generation loss; choose settings that preserve the quality you need while matching YouTube’s ingest guidance. Test transitions and audio continuity on the actual set of clips rather than assuming the output will be seamless.

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.

Connect FFmpeg to YouTube Live

  1. Create or select a live stream. In YouTube Live Control Room, create or choose the stream and retrieve its stream URL and stream key. YouTube’s live stream settings guide covers managing these values.
  2. Keep the key private. Treat it like a credential. Do not put a real key in a public command, tutorial, screenshot or log. If it is exposed, reset it in Live Control Room.
  3. Set FFmpeg’s destination. Use the ingest URL and key in the encoder’s output settings. Avoid publishing commands containing credentials; use a private environment or configuration mechanism appropriate to your system.
  4. Choose an ingest protocol. YouTube recommends RTMPS, a secure extension to RTMP. FFmpeg documents RTMPS as streaming over an encrypted connection; see its protocol documentation.
  5. Match the output to YouTube’s current settings. Select codec, resolution, frame rate and bitrate from YouTube’s encoder settings. The correct bitrate depends on the encoded output, not just the source files.

YouTube’s current encoder guidance lists RTMP/RTMPS, H.264, H.265 (HEVC) and AV1 video, AAC or MP3 audio, CBR, and frame rates up to 60 fps. It recommends a two-second keyframe interval and says not to exceed four seconds. Audio suitability depends on the actual output and protocol, so check the current table rather than assuming the listed options are interchangeable.

Use a bitrate that matches the encoded stream

The following H.264 ingest values are YouTube-published minimum and recommended bitrates in its guidance checked in 2026. They are platform recommendations, not results of an independent performance study. Choose the row for the output you actually encode; YouTube’s page includes more combinations for other resolutions and codecs.

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.
H.264 output Minimum ingest bitrate Recommended ingest bitrate
720p at 30 fps 3 Mbps 8 Mbps
720p at 60 fps 3 Mbps 8 Mbps
1080p at 30 fps 5 Mbps 14 Mbps
1080p at 60 fps 6 Mbps 17 Mbps

These figures describe the video ingest bitrate for the listed H.264 outputs. They do not mean every source needs to be encoded at those settings, or that a network connection at exactly that rate will be reliable. The bitrate you send must fit your available upload capacity with headroom.

Rehearse and monitor the stream

  • Test the full workflow before going public, including representative motion and audio. A static or silent test may not expose the problems that occur in the real playlist.
  • Check YouTube Live Control Room’s stream health and review its messages during the event.
  • Test available upload throughput and use a reliable network connection. YouTube’s streaming tips recommend leaving 20% bandwidth headroom. That is YouTube guidance, not a guarantee that any connection will be stable.
  • Verify that the selected codec, resolution, frame rate, keyframe interval and bitrate describe the output FFmpeg is actually sending.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot common failures

The concat input fails or clips do not join as expected

Likely cause: the files have different codecs, stream layouts, time bases, dimensions, frame rates or audio configurations. Inspect the inputs and switch to a concat-filter workflow with re-encoding and normalization where necessary. Test transitions on the actual playlist.

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

The stream connects but YouTube reports poor stream health

Likely cause: the encoded output settings do not match YouTube’s guidance, or the upload connection is constrained or unstable. Match the bitrate row to the output codec, resolution and frame rate, test upload capacity, leave headroom and review YouTube’s messages.

YouTube does not receive the stream

Check that you selected the intended live stream and copied its current stream URL and key correctly. Keep the key private; if it may have been exposed, reset it in Live Control Room and update the encoder configuration.

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.
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.

Audio or motion problems appear during playback

Rehearse with representative audio and movement, then inspect the encoded output and stream-health messages. Confirm that the chosen audio settings work for the output and protocol rather than assuming that every listed audio format is suitable.

Or let it run in the cloud

If you want a YouTube channel to keep playing uploaded videos without leaving FFmpeg or a computer running at home, StreamNeo is a cloud option: upload your recording or playlist, add your YouTube stream key once, and go live. It loops the uploaded videos from the cloud, not a camera feed. Nothing has to stay on at home; videos stream as uploaded, up to 4K at 60 fps, at one flat price per slot. StreamNeo automatically recovers if YouTube drops the stream. The first day is free with no card required.

Each slot includes one always-on stream, 10 GB storage per slot pooled across active slots, 24/7 looping and playlists, automatic recovery and support from the StreamNeo team. All plans include the same product; only the billing length changes. Monthly: $9.99 per month. See StreamNeo for details, then start the 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.

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

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.

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.