October 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 PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
DocumentaryTube
concat demuxer

FFmpeg filter_complex vs. Concat Demuxer for YouTube Live Loops

For a YouTube Live loop, choose FFmpeg’s concat demuxer to preserve compatible encoded streams, or the concat filter in a complex graph when clips need processing. Validate the output for your specific YouTube ingest protocol.

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

Use FFmpeg’s concat demuxer when your files are compatible and you want to preserve their encoded streams; use the concat filter in a -filter_complex graph when you need to re-encode, normalize, or apply effects. Neither choice alone configures a YouTube Live stream: the output must also match the ingest protocol you select.

What these two methods do

The concat demuxer and concat filter work at different stages of FFmpeg’s media pipeline. A demuxer reads packets from media files and sequences them; a filter works on decoded media. That distinction determines whether FFmpeg can pass through the existing encoded streams or must process and usually encode the result.

Concat demuxer: sequence packets

The concat demuxer is the route to evaluate when you want to avoid another encode and your inputs are suitable for concatenation. If stream copy works for those sources, FFmpeg can preserve the encoded streams instead of decoding and re-encoding them. This is not a guarantee for arbitrary files: compatibility depends on the actual inputs and intended output. FFmpeg’s FAQ describes the demuxer as an option for avoiding re-encoding where the format does not support file-level concatenation. FFmpeg FAQ

Concat filter in -filter_complex: process media

The concat filter joins decoded media within a filtergraph. Choose it when the clips need normalization, re-encoding, or other filter processing. -filter_complex configures graphs that cannot be expressed as a simple linear chain, including graphs with multiple inputs or outputs, so it can combine concatenation with transformations such as scaling or overlays. Processing the affected streams usually means encoding the result. FFmpeg command-line documentation

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

Which route fits your loop?

Your situation Route to evaluate Why
Clips need no media changes and are compatible for concatenation Concat demuxer, with stream copy if it works It can avoid re-encoding; validate the actual sources and output.
Clips need consistent dimensions, effects, or other processing Concat filter in -filter_complex The filtergraph processes decoded media, and the result generally needs encoding.
You are sending the result to YouTube Live Either FFmpeg route, followed by output settings that meet the selected ingest protocol Concatenation choice does not determine YouTube’s packaging or codec requirements.

FFmpeg recommends the concat filter when re-encoding is needed and describes the demuxer as an option when avoiding it. It does not provide a universal compatibility checklist for every combination of files. Inspect and test your own sources rather than assuming that matching file extensions or a successful-looking playlist guarantees stream-copy compatibility. FFmpeg FAQ

Plan for the YouTube ingest protocol separately

YouTube Live has protocol-specific requirements. The cited YouTube guidance here is specifically for HLS ingestion, not a blanket profile for every YouTube Live connection method. For HLS, YouTube specifies muxed M2TS, H.264 or HEVC video, AAC audio, a closed GOP, and support for frame rates up to 60 fps. These requirements apply to HLS ingestion; do not assume they describe RTMP or another protocol. Check the current documentation for the protocol you are actually using. YouTube: Delivering Live YouTube Content via HLS

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.

So the practical decision has two parts: choose demuxer or filter based on whether your media needs processing, then validate packaging, codecs, and other output requirements for your chosen YouTube ingest method. The sources cited here do not establish a single end-to-end command or a universal RTMP settings profile.

How to choose and validate your FFmpeg workflow

  1. Inspect the source clips. Check the files you actually plan to use and determine whether their encoded streams are suitable for concatenation and the intended output. Do not treat the demuxer as a universal fix for mismatched media.
  2. Decide whether the clips need processing. If they need scaling, overlays, normalization, or another filter, use the concat filter in a -filter_complex graph and plan to encode the processed result. If no processing is needed, evaluate the demuxer and stream copy.
  3. Choose the YouTube ingest protocol. Apply only the requirements for that protocol. For HLS, follow YouTube’s documented M2TS, video, audio, GOP, and frame-rate constraints; do not apply that HLS list as if it were an RTMP profile.
  4. Map the media streams deliberately. When building a command, explicitly map the intended video and audio outputs, especially when a graph has multiple inputs or outputs. The right mapping and options depend on your files and chosen protocol, so there is no universal command supported by the documentation cited here.
  5. Test the intended output before relying on the loop. Confirm that the actual files concatenate and that the output satisfies the selected ingest protocol. If stream copy fails or produces an unsuitable result, use a processing route and encode to the needed output characteristics.
  6. Check documentation for your installed FFmpeg build. FFmpeg’s online documentation is regenerated nightly for the newest revision. If an option behaves differently, consult the documentation available for your installed version. FFmpeg documentation index

Common problems and what to check

  • Stream copy does not work across the clips: the inputs may not be suitable for concatenation in that form. Inspect the actual sources; if they need standardization or processing, use the concat filter and encode the result.
  • The joined output is not accepted by YouTube: the concat method does not guarantee protocol compliance. Verify packaging and media settings against the documentation for your selected ingest protocol. The HLS requirements listed above apply only to HLS.
  • A command found online behaves differently: online FFmpeg documentation follows the newest revision. Check the documentation for your installed build before relying on options copied from a different version.
  • A GIF overlay loops, but the playlist does not: FFmpeg’s ignore_loop option concerns GIF demuxing and looping a GIF overlay; it is not a substitute for choosing a playlist concatenation strategy. FFmpeg demuxer documentation
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or let it run in the cloud

If your goal is to keep a pre-recorded YouTube channel live without maintaining an FFmpeg process at home, StreamNeo is a cloud option: upload your video or build a playlist, add your YouTube stream key, and go live. Nothing has to stay on at home; it streams uploaded videos to YouTube, not from a camera.

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.
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
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.
  • Any uploaded quality up to 4K 60fps streams as made at one flat price per slot.
  • Automatic recovery if YouTube drops the stream.
  • The first day is free with no card.
  • Monthly: $9.99 per month.

Start your free StreamNeo 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 *

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
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

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.