October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
DocumentaryTube
FFmpeg

How to Schedule Different FFmpeg Video Playlists on YouTube by Time of Day

FFmpeg sequences each playlist, an external scheduler selects what runs by time of day, and YouTube manages the broadcast event. Here’s how to connect the pieces.

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

To run different FFmpeg playlists at different times, combine three separate controls: FFmpeg sequences the files in each playlist, an external scheduler chooses which playlist or FFmpeg process runs at a given time, and YouTube Studio or the Live Streaming API manages the broadcast event. YouTube’s scheduled-event feature does not choose an FFmpeg playlist for you.

How the scheduling pieces fit together

Think of the setup as three layers:

  • Media sequence: FFmpeg reads files in a defined order.
  • Time-of-day choice: A separate scheduler or wrapper decides which list or process should run.
  • YouTube broadcast: YouTube Studio or the Live Streaming API handles the scheduled event and the incoming encoder stream.

Google’s YouTube Live Streaming API documentation puts the distinction this way: “A stream enables you to transmit audio-video content to YouTube, and it defines the settings for how you stream your content.” The API documentation models the incoming stream separately from the broadcast event. Scheduling a YouTube event can make it promotable and allow reminders; it does not tell FFmpeg which media list to play.

Prepare an FFmpeg playlist for each time block

The concat demuxer lets FFmpeg read a text file listing media files in order, as though their packets had been muxed together. Make a separate list for each playlist you want the scheduler to select. For example, a list might contain:

file '/media/morning/episode-01.mp4'
file '/media/morning/episode-02.mp4'
file '/media/morning/episode-03.mp4'

Use the concat demuxer with the playlist file as input. A basic invocation is:

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.
ffmpeg -f concat -i morning.txt -c copy output.ts

This example illustrates how to point FFmpeg at a concat list; it is not a complete YouTube streaming command. Your final output and encoding options must match the media and the YouTube event you configure.

Check compatibility and paths

  • The files should have the same streams, codecs, and time base for reliable concat-demuxer sequencing.
  • The demuxer’s default safe mode rejects unsafe paths and directives. Prefer safe relative paths where practical; if you need a different path arrangement, understand the safe-mode behavior before changing it.
  • Reported or estimated file durations that are wrong can cause gaps or artifacts. The concat file’s duration directive can override a file’s reported duration when necessary.
  • Do not assume that listing arbitrary videos guarantees a seamless transition. Test the actual files and intended playback flow.

See the official FFmpeg concat demuxer documentation for the file-list format, safety behavior, and duration directive.

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.

Choose the playlist by time of day

FFmpeg’s concat demuxer determines file order inside a list; it does not provide the time-of-day orchestration described here. YouTube Studio’s scheduling controls likewise do not select an input list. Use an external scheduler, script, or service wrapper to decide which list or FFmpeg process should run at the chosen time. The particular scheduler and handoff design are implementation choices; the official documentation describes the FFmpeg and YouTube roles separately rather than prescribing a built-in playlist switcher.

One continuous broadcast

For a single continuing YouTube broadcast, arrange the transitions within the playback workflow and have your external scheduler or wrapper select the appropriate list or process at the desired times. Plan how the outgoing sequence ends and the next one begins, and test transitions in the intended environment. The exact handoff mechanism depends on your orchestration setup; do not treat a scheduled YouTube event as an automatic handoff between FFmpeg playlists.

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

Separate scheduled events

If each time block should be its own YouTube broadcast, create or reuse the event settings in YouTube Studio and start the matching FFmpeg process for that event. This separates event scheduling from playlist selection: the external scheduler chooses the media process, while YouTube manages the event.

Schedule and connect the YouTube event

  1. In YouTube Studio, open Live Control Room, choose Manage, then Schedule stream. Create an event or reuse settings appropriate to your workflow.
  2. Configure your encoder with the server URL and stream key associated with the event you intend to run. Match the process and playlist to the correct event.
  3. Start the encoder and wait for the stream preview in Live Control Room. Check that the expected media is arriving, then go live when appropriate.

YouTube’s encoder guidance describes the Live Control Room scheduling and preview workflow: Schedule a live stream.

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
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Choose how to model repeated events in the API

If you automate event creation with the YouTube Live Streaming API, keep the broadcast event and the incoming media configuration conceptually separate. Google documents recurring broadcasts that reuse stream settings, as well as a pattern that creates a distinct liveStream resource for each broadcast. Reuse settings when events share encoder configuration and that fits your automation; distinct resources may fit a workflow that organizes each broadcast separately. The right choice depends on how your scheduler and event management are built.

Consult the official YouTube Live Streaming API documentation for the resource model and event operations.

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.

Test the complete schedule before relying on it

  • Verify each concat list independently and confirm that the intended files play in the intended order.
  • Check stream, codec, time-base, path, and duration compatibility for the files in each list.
  • Run the scheduler across the planned time boundary and confirm it selects the intended playlist or FFmpeg process.
  • Confirm that the correct YouTube event, server URL, and stream key are paired with the encoder process.
  • Watch the YouTube preview before taking the event live, and test transitions using the actual media and intended environment.

Common problems and fixes

The right YouTube event starts with the wrong playlist

The event scheduler and playlist selector are separate controls. Check the external scheduler’s time rules and the list or process it launches; changing the YouTube event schedule alone will not change FFmpeg’s input.

FFmpeg rejects a file path or directive

The concat demuxer’s default safe mode rejects unsafe paths and directives. Review the list syntax and path arrangement against the concat demuxer documentation, and use safe relative paths where possible.

There is a gap or artifact between files

Check whether the files have compatible streams, codecs, and time bases, and whether reported durations are accurate. Where a reported duration needs correction, use the concat demuxer’s duration directive and test the transition again.

YouTube does not show the expected incoming video

Confirm that the encoder is using the server URL and stream key for the intended event. Check the Live Control Room preview before going live.

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

Or let it run in the cloud

If your goal is to keep prerecorded video running on YouTube without maintaining a home FFmpeg scheduler, StreamNeo is an alternative: upload a recording or build a playlist, add your YouTube stream key, and go live. It loops the uploaded video from the cloud, so nothing has to stay on at home; each slot streams the upload as made, up to 4K 60fps, at one flat price per slot. It can automatically recover if YouTube drops the stream. The first day is free with no card. Monthly pricing is $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
Windows Errors? Fix Them Before They SpreadFree repair scan
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.