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

How to Stream a Pre-Encoded H.264 Playlist to YouTube with FFmpeg Copy Mode

A practical guide to checking playlist compatibility, creating an ffconcat manifest, sending it to YouTube with FFmpeg copy mode, and diagnosing common ingest problems.

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 compatible playlist of pre-encoded H.264 files to YouTube Live without re-encoding, use FFmpeg’s concat demuxer, pace the file input with -re, and send it with -c copy to the RTMPS ingest URL and stream key shown in YouTube Live Control Room. Copy mode preserves the original compressed streams; it cannot fix incompatible segments or change their bitrate, frame rate, keyframe interval, resolution, or audio encoding.

What copy mode does—and what it cannot do

FFmpeg’s -c copy (also written -codec copy) copies selected compressed streams without decoding and re-encoding them. It avoids another lossy encode and reduces the processing required, but the output inherits the source streams’ properties.

That makes copy mode suitable only when the files are already compatible with each other and with YouTube’s ingest guidance. It does not convert codecs, normalize timestamps or durations, change bitrate or frame rate, or repair keyframe spacing. If a file is out of spec, prepare a compliant source by re-encoding it rather than expecting copy mode to correct it.

Check the files before building the playlist

The concat demuxer joins files as a sequence; it is not a general-purpose way to combine unrelated media. FFmpeg requires the files to have matching streams, codecs, and time bases. Inaccurate duration metadata can also affect timestamp adjustment at segment boundaries. See the FFmpeg concat demuxer documentation.

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.
  • Check every segment’s video and audio streams, stream layout, codecs, and time bases.
  • Confirm that the segments play correctly and that their stored durations are reliable, especially if artifacts or timing jumps have appeared at joins.
  • Check that the existing encoding aligns with the YouTube ingest recommendations below. With stream copy, you cannot change those settings on the way out.

If your files do not match, make compatible source files first, or use a single already assembled file. Do not assume that changing the playlist command will reconcile different codecs or stream layouts.

Match YouTube’s ingest guidance

YouTube’s current encoder settings page recommends the following H.264 video bitrates. These are ingest recommendations, not a promise that a particular internet connection can sustain them. Choose the row that matches the encoded video’s resolution and frame rate, and test with the available upload capacity. The values below are from YouTube’s settings page as accessed in 2026: YouTube live encoder settings.

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.
Resolution and frame rate Recommended H.264 bitrate
720p at 30 fps 8 Mbps
720p at 60 fps 8 Mbps
1080p at 30 fps 14 Mbps
1080p at 60 fps 17 Mbps
1440p at 30 fps 21 Mbps
1440p at 60 fps 34 Mbps
4K (2160p) at 30 fps 42 Mbps
4K (2160p) at 60 fps 50 Mbps

YouTube also recommends constant bitrate (CBR), keyframes every two seconds (no more than four seconds apart), video up to 60 fps, and AAC or MP3 audio. For stereo audio, its page recommends a 44.1 kHz sample rate and 128 kbps audio bitrate. These are properties to check in your existing files: strict copy mode cannot alter them.

Create the concat manifest

Make a plain-text manifest in playback order. For automatic recognition, the first line must be exactly ffconcat version 1.0. For example:

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.
ffconcat version 1.0
file 'part-001.ts'
file 'part-002.ts'
file 'part-003.ts'

Put the manifest and media files in locations that match the paths you write. Quote or escape path characters as needed. The concat demuxer’s safe-path setting defaults to 1 and rejects paths it considers unsafe. The command below uses -safe 0 to allow arbitrary paths; use it only with a manifest and local files you trust. See FFmpeg’s concat demuxer documentation.

Get the YouTube ingest URL and stream key

  1. In YouTube Studio, open Live Control Room and create or schedule an encoder stream.
  2. In Stream settings, copy the server URL and stream key supplied for that stream. YouTube makes the RTMPS URL available from the lock icon and describes RTMPS as RTMP over TLS/SSL. Prefer RTMPS when your FFmpeg build and network support it. See YouTube’s RTMPS guidance and YouTube’s streaming setup instructions.
  3. Treat the stream key like a password. Keep it out of public shell history, shared scripts, screenshots, and logs. Use a protected secret mechanism in production rather than publishing the key in a command example.

The server URL and key are assigned in Live Control Room; do not guess or reuse a URL from an old setup. Confirm that the FFmpeg build you installed supports RTMPS before starting.

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

Send the playlist with FFmpeg

Use this command pattern, replacing the destination placeholders with the exact RTMPS URL and key from Live Control Room. The placeholders are not literal credentials:

ffmpeg -re -f concat -safe 0 -i playlist.ffconcat -map 0:v:0 -map 0:a? -c copy -f flv "$YOUTUBE_RTMPS_URL/$YOUTUBE_STREAM_KEY"
  • -re paces a file input at its native frame rate—effectively a read rate of 1—rather than sending the playlist as fast as the machine can read it. Put it before the input option -i. FFmpeg describes this as useful where packet flow speed matters, such as live streaming. See FFmpeg documentation for -re and stream copy.
  • -f concat selects the concat demuxer, and -i playlist.ffconcat reads the manifest.
  • -map 0:v:0 selects the first video stream. -map 0:a? selects audio if present; if the playlist has no audio, omit that mapping.
  • -c copy copies the selected streams without re-encoding. -f flv selects the output muxer used by this command pattern.

Confirm the output muxer and RTMPS destination syntax against the URL YouTube currently provides and the installed FFmpeg build. This is a command pattern, not a guarantee that every playlist, URL, or FFmpeg installation will work unchanged. Avoid adding video filters, scaling, frame-rate conversion, -c:v libx264, or audio re-encoding if the goal is to copy the streams unchanged.

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.

Use -re for file input, not to throttle an actual capture or live input; FFmpeg cautions that low read rates on live inputs can cause packet loss.

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

Test the stream and start the event

  1. Start FFmpeg and watch Live Control Room for the incoming preview and stream-health messages.
  2. Confirm that the video plays, audio is present where expected, and the stream is reaching YouTube before you begin an event. YouTube recommends testing with representative movement and sound and monitoring the stream’s health.
  3. For a scheduled stream, wait for the preview and use Live Control Room’s Go live control when required by the event workflow.
  4. When finished, end the event through Live Control Room as appropriate, then stop FFmpeg. YouTube says streams under 12 hours are automatically archived. See YouTube’s streaming instructions.

Troubleshoot common failures

Symptom What to check What to do
FFmpeg cannot open the playlist The manifest’s first line, file paths, quoting, and safe-path behavior. Make the first line exactly ffconcat version 1.0; correct the paths and escaping. If using -safe 0, make sure the manifest and files are trusted.
Only the first segment plays, or joins have glitches Stream layouts, codecs, time bases, and duration metadata across all files. Make the segments compatible or assemble a single suitable file. Investigate unreliable stored durations before changing the command; concat timestamp adjustment relies on the preceding file’s duration.
The playlist runs too quickly or timing is wrong Whether -re appears before the file input’s -i. Use real-time pacing for file input. Do not apply a low read rate to a capture or live input.
YouTube reports ingest or quality problems Existing video bitrate, resolution, frame rate, keyframe interval, CBR status, and audio codec and settings. Compare the source with YouTube’s current encoder guidance. Copy mode cannot fix a mismatch; prepare a compliant source, re-encoding if necessary.
RTMPS connection or certificate error The copied URL, protocol, FFmpeg’s RTMPS support, and any network or client requirement for port 443. Copy the current RTMPS URL from Live Control Room and check the installed client and network. YouTube lists an incorrect protocol or URL, port issues, and missing RTMPS support among troubleshooting checks: RTMPS troubleshooting.
No preview appears Whether FFmpeg is sending to the correct URL with the matching stream key, and the connection status in Live Control Room. Verify the server URL and key from the same stream setup, confirm transmission, and wait for the preview. A scheduled event may still need you to click Go live.

Or let it run in the cloud

If your goal is an always-on YouTube channel rather than a one-off FFmpeg session, StreamNeo is a cloud service for looping uploaded videos or playlists. Upload the video, add your YouTube stream key, and go live; StreamNeo keeps the stream running without a computer or home connection staying on. It does not stream from a camera.

  • Nothing has to stay on at home: the stream runs from the cloud.
  • Any uploaded quality up to 4K 60 fps streams as made, at one price per slot, without re-encoding or quality tiers.
  • Automatic recovery is included if YouTube drops the stream.
  • The first day is free with no card required.

The monthly option is $9.99 per month. The service is YouTube-only; see StreamNeo plans for billing options. To try it, 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.

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 *

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