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
VGSources
FFmpeg

How to Stream Local Video Files to YouTube from Linode with FFmpeg Concat

Use FFmpeg’s concat demuxer on Linode to sequence compatible local media files and stream them to YouTube Live. A YouTube playlist URL is not a concat manifest.

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

You can stream a sequence of local video files from a Linode server to YouTube Live with FFmpeg’s concat demuxer. Create a text manifest, make sure its files have compatible streams, then send FFmpeg’s output to the ingest URL and stream key shown in YouTube Live Control Room. A YouTube playlist URL is not a concat manifest: this method does not fetch or resolve videos from YouTube.

What this method does—and does not do

FFmpeg’s concat demuxer reads a text file listing media files and processes them sequentially, “as if all their packets had been muxed together,” according to the FFmpeg Formats Documentation. The files must already be available on the server, and you must have the rights needed to rebroadcast them.

This is a file-based live stream, not a way to turn a YouTube playlist link into downloadable inputs. If you mean a playlist hosted on YouTube, the concat demuxer does not extract its videos or bypass access restrictions. For a YouTube Live stream, you also need a live event or stream configured in YouTube Studio and its current ingest details.

Prepare compatible media and a concat manifest

Place the files on the Linode server

Store the authorized media in a stable directory, such as /srv/media, and check that each path in the manifest exists and is readable by the account running FFmpeg. The concat demuxer works best when inputs have matching stream layouts, codecs, and time bases. It does not normalize different files into a common format.

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.

Create the manifest

Make a UTF-8 or ASCII-compatible text file with the documented header and one file directive per input. For example, save this as /srv/media/playlist.ffconcat:

ffconcat version 1.0
file '/srv/media/part-01.mp4'
file '/srv/media/part-02.mp4'

Use paths that match the server exactly. Escape spaces and special characters according to FFmpeg’s concat-script syntax; incorrect quoting or paths can prevent the list from loading. The manifest order is the playback order.

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.

Check stream compatibility and durations

Inspect the inputs before relying on a long stream. Differences in video or audio streams, codecs, time bases, or timestamps may cause errors, gaps, jumps, missing audio, or synchronization problems. The concat demuxer uses file durations to place the next input, so inaccurate duration information can create timestamp artifacts. If the files are not compatible, use a filter-based concat and transcode workflow to normalize them instead; a simple demuxer manifest will not do that work for you.

Get the YouTube Live destination

  1. Open YouTube Studio and go to Live Control Room.
  2. Create or select the stream or event you intend to use.
  3. Copy the current server/ingest URL and stream key shown there. Prefer the RTMPS endpoint when your FFmpeg build supports it. YouTube describes RTMPS as RTMP over TLS; use the endpoint and key displayed for your stream rather than relying on an old URL.
  4. Keep the key secret. Treat it like a password: do not publish it in a tutorial, screenshot, source repository, public logs, or shell history. Use a protected configuration or credential mechanism and restrict its file permissions.

YouTube says first-time live streaming may take up to 24 hours to become available. If Live Control Room does not let you start, check the account’s current live-streaming eligibility and access in YouTube Studio.

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.

Run FFmpeg on Linode

Choose copy or transcode

If the inputs are compatible with YouTube’s accepted formats and with one another, stream copying can reduce CPU use because FFmpeg does not decode and re-encode the media. If you need to change codec, resolution, frame rate, bitrate, or normalize mismatched inputs, transcode instead. Transcoding consumes more CPU, and the necessary Linode capacity depends on the media and workload; there is no single instance size that fits every resolution and frame rate.

Illustrative transcode command

This is an example command shape, not a universal profile or performance guarantee. Replace the ingest placeholder with the current URL and key from Live Control Room using a protected method; do not paste a real key into a published command. Check option support and ordering against the FFmpeg version installed on your server.

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
ffmpeg -re -f concat -safe 0 -i /srv/media/playlist.ffconcat 
  -c:v libx264 -preset veryfast -b:v 2500k -maxrate 2500k -bufsize 5000k 
  -g 60 -c:a aac -b:a 128k -f flv 'rtmps://CURRENT_YOUTUBE_INGEST/STREAM_KEY'

The sample uses H.264 video, AAC audio, a 2,500 kbit/s video target, and a GOP value of 60; those values are illustrative, not a recommendation for every resolution or frame rate. Select codecs, frame rate, bitrate, audio settings, and keyframe interval to match YouTube’s current live encoder settings and your server’s capacity. YouTube recommends a two-second keyframe interval and constant bitrate. For a frame rate of 30 fps, for example, a two-second GOP is typically 60 frames; choose the corresponding frame count for your actual output frame rate.

The command uses -re to read file input at its native rate, -f concat to select the demuxer, and -safe 0 to allow the absolute paths shown in the example manifest. Keep that setting limited to a manifest and paths you control. The -f flv output muxer is used for RTMP-family live ingest. YouTube’s accepted codecs, recommended bitrate ranges, and ingest options can change, so follow the current settings page rather than treating this sample as fixed.

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.

Confirm build support and start safely

Check that the installed FFmpeg build includes the encoders and network protocols your command needs, especially libx264 and RTMPS support if you use them. If you choose stream copy, replace the encoding options with appropriate copy options only after confirming the files are compatible and acceptable to YouTube. Run a short preflight stream, confirm it appears in Live Control Room’s preview, and verify picture, sound, and stream health before relying on it for a scheduled broadcast.

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

Plan Linode capacity and network headroom

The server must read the media, run the selected FFmpeg workload, and sustain outbound traffic to YouTube’s chosen ingest endpoint. Copying compatible streams has different CPU demands from decoding and transcoding; measure the actual process rather than guessing from a generic instance recommendation. If multiple outputs run at once, account for the sum of their bitrates.

  • Check CPU use during a representative test at the intended resolution and frame rate.
  • Verify the server’s outbound throughput can sustain the total stream bitrate. YouTube recommends about 20% upload-bandwidth headroom and advises testing and monitoring stream health; this is guidance, not a guarantee of service.
  • Allow outbound connectivity to the endpoint and port shown by YouTube. Do not assume one port is universal; keep firewall rules limited to what the selected endpoint and your server require.
  • Confirm FFmpeg reconnect behavior and YouTube’s event state before leaving a long-running process unattended. Monitor the preview and health indicators rather than assuming that a running process means a healthy broadcast.

Troubleshoot common failures

Symptom Likely cause What to check or do
Manifest will not load or reports concat errors Malformed quoting, a missing file, unreadable permissions, or incorrect path Check every file entry against the server’s exact path, permissions, and concat-script escaping rules.
Video jumps, gaps, or timestamp errors between files Incompatible streams or inaccurate input durations Compare stream layouts, codecs, time bases, and timestamps. Correct duration metadata where appropriate or normalize the inputs with a filter-based concat and transcode workflow.
FFmpeg connects but YouTube does not show a usable stream Wrong or stale URL/key, unsupported RTMPS protocol, or an incorrect endpoint/port Copy current ingest details from Live Control Room, verify the URL scheme and port, and confirm the installed FFmpeg build supports the selected protocol.
Dropped frames or buffering Insufficient encode capacity or outbound bandwidth Monitor CPU and stream health; reduce output resolution or bitrate, or choose an instance and network capacity that can sustain the workload. YouTube recommends roughly 20% upload headroom.
No audio or poor audio/video synchronization Inputs have different audio streams, timestamps, time bases, or duration metadata Inspect each file’s streams and timestamps. Normalize mismatched inputs instead of expecting the concat demuxer to repair them.
Live controls or streaming access are unavailable Live streaming is not enabled for the account or is still activating Check current eligibility and access in YouTube Studio; YouTube says initial activation can take up to 24 hours.

Or let it run in the cloud

If your goal is simply to keep authorized uploaded videos playing on a YouTube channel, StreamNeo is a hosted alternative: upload a recording or build a playlist, add your YouTube stream key once, and go live. It loops uploaded videos from the cloud, so your Linode instance, home computer, OBS setup, and home connection do not have to stay on. Each slot streams your upload as made, up to 4K 60fps, at one flat price per slot; there are no quality tiers or re-encoding. StreamNeo automatically recovers if YouTube drops the stream. The first day is free with no card, once per account. Monthly billing is $9.99 per month. The same product is on every plan; you can choose day, week, month, six-month, or annual billing and cancel any time. UPI and cards are accepted in India; card checkout is available worldwide. Each slot includes 10 GB of storage, pooled across active slots, 24/7 looping and playlists, and StreamNeo team support. StreamNeo streams to YouTube only and plays uploaded video; it does not stream a live camera feed. Start your 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.

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 Patch Notes

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.