Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon 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 NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › FFmpeg

How to Create an FFmpeg Playlist for a 24/7 Preschool Story Stream on YouTube

By Freedom251 Team · · 7 min read

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

To run a 24/7 preschool story stream on YouTube with FFmpeg, put compatible video files in an FFconcat playlist, loop that playlist, encode the output to a YouTube-supported profile, and send it to YouTube Live using the server URL and stream key from Live Control Room. The playlist controls which stories play; FFmpeg delivers the encoded feed. A continuously running command is not, by itself, a guarantee of uninterrupted uptime or a complete archive.

What you need before building the playlist

  • An installed FFmpeg build with the demuxer and encoders you plan to use. Options can vary by build, so check the documentation for your installed release and test with your actual files.
  • Story videos you have the right to stream, stored where the FFmpeg process can read them.
  • A stable upload connection with enough capacity for the selected video and audio bitrate. YouTube recommends testing upload speed and monitoring stream health.
  • A YouTube channel with live streaming available, plus a broadcast created or scheduled in Live Control Room.
  • A plan for monitoring, restarting after failures, and preserving recordings if you need a full archive.

Inspect each file before concatenating. Check its video and audio streams, codecs, time base, dimensions, frame rate, and duration. The concat demuxer works best when the files have matching streams and compatible parameters; inaccurate durations or streams with unequal actual lengths can cause timestamp artifacts or gaps. See the FFmpeg concat demuxer documentation and the FFmpeg concatenation FAQ.

As an Amazon Associate I earn from qualifying purchases.

Choose how to join the story videos

Method Best fit Trade-off
Concat demuxer Files with compatible streams, codecs, and time bases. Can join packets without re-encoding, but relies on compatible inputs and accurate durations.
Concat filter Inputs that need normalization or a workflow that must re-encode. Gives you control over a consistent output, but requires encoding work. FFmpeg recommends the filter when re-encoding is needed.

Do not confuse the concat demuxer with FFmpeg’s concat protocol: they are different approaches, and the protocol only applies to certain containers. For the ordinary local playlist-to-YouTube workflow below, the demuxer is the simpler choice when your files are compatible.

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

Create and test the FFconcat list

1. Put the files in playback order

Make a plain-text file named stories.ffconcat in the directory containing the story videos. Use the first line and one file entry per clip, in the order you want them played:

#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter | 4Pack Type C Female to A Male Cable Converter for Apple Duo 17 16 15 14 Plus,iWatch Watch 12 11 10,iPad 9 8 Air,Airpods 5 4
  • 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.
ffconcat version 1.0
file 'story-01.mp4'
file 'story-02.mp4'
file 'story-03.mp4'

Use paths the FFmpeg process can access. Relative paths are convenient when the list and videos are together. Keep the default safe-path behavior when possible; do not disable safety checks or use unsafe paths for files you do not trust. If a filename contains special characters, follow FFmpeg’s documented FFconcat escaping rules.

2. Play the list once before looping

Test that the complete sequence plays from start to finish before making it repeat. For example, to write a temporary joined file from compatible inputs, run:

ffmpeg -f concat -i stories.ffconcat -c copy test-joined.mp4

This copy-mode test does not fix incompatible files. If it reports stream or timestamp problems, normalize the files first or build a concat-filter workflow that re-encodes them. Check the result at every transition, including audio. A single file with a different frame size, codec, audio layout, or inaccurate duration can undermine an otherwise clean playlist.

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 #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter | USB C Dongle with 90W Max Power Delivery, 3×5Gbps USB A Data Ports, for MacBook, Dell, and More (Charger Not Included)
  • 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.

Set a practical YouTube encoding profile

YouTube recommends RTMPS as the secure extension of RTMP. Its encoder guidance lists H.264, H.265/HEVC, or AV1 for RTMP/RTMPS ingestion, up to 60 fps, constant bitrate (CBR), and a two-second keyframe interval; do not exceed four seconds. Audio may use AAC or MP3. For a straightforward H.264 SDR setup, the following YouTube recommendations are useful reference points, not a promise that every connection will sustain them:

Output profile YouTube-recommended bitrate YouTube-listed minimum
720p at 30 fps, H.264 4 Mbps 3 Mbps
1080p at 30 fps, H.264 10 Mbps 5 Mbps
1080p at 60 fps, H.264 17 Mbps 6 Mbps

Choose one profile your upload connection can sustain consistently; leave headroom for normal network variation. For SDR, YouTube lists Rec. 709 and 8-bit. Its recommended stereo audio setting is AAC at 128 kbps and 44.1 kHz. Review the current YouTube live encoder settings and bitrate table for other resolutions, frame rates, and encoding options.

Loop the playlist and send it to YouTube Live

This example assumes compatible story files with video and stereo audio, an FFmpeg build that supports the shown options and H.264/AAC encoders, and a 1080p30 SDR output. Adapt and test it rather than treating it as a universal command. It re-encodes to H.264 at YouTube’s 1080p30 recommendation, AAC audio, and a two-second keyframe interval. It does not include a local archive or a restart supervisor.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • 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.
  1. In YouTube Studio, create or schedule a broadcast in Live Control Room. Copy the server URL and stream key provided for the broadcast. The exact server URL and key are account-specific; do not share or publish the key. Follow YouTube’s encoder setup instructions.
  2. Save the server URL and stream key somewhere private. Insert them into the output destination in the command below, using the exact ingest details YouTube gave you. Do not paste the key into a public script, screenshot, or forum post.
  3. From the directory containing the playlist and clips, start FFmpeg. Replace YOUR_RTMPS_SERVER_URL/YOUR_STREAM_KEY with the actual RTMPS destination format YouTube supplies for your broadcast:
ffmpeg -re -f concat -stream_loop -1 -i stories.ffconcat 
  -c:v libx264 -preset veryfast -pix_fmt yuv420p 
  -r 30 -b:v 10M -minrate 10M -maxrate 10M -bufsize 20M 
  -g 60 -keyint_min 60 -sc_threshold 0 
  -c:a aac -b:a 128k -ar 44100 -ac 2 
  -f flv "YOUR_RTMPS_SERVER_URL/YOUR_STREAM_KEY"

-re reads the files at their natural playback pace, and -stream_loop -1 asks FFmpeg to repeat the input indefinitely. With -r 30, a 60-frame keyframe interval is two seconds. The CBR-related rate settings target 10 Mbps video; they cannot compensate for inadequate or unstable upload bandwidth. The command assumes your source audio can be encoded as stereo AAC. If your files do not meet those assumptions, adapt the filters, stream mapping, or encoding settings and test before using the stream for an audience.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Start the command and check Live Control Room for incoming video, audio, and stream-health warnings. YouTube recommends testing with representative sound and movement, then monitoring the stream.
  2. When testing is clean, run the process on a machine and network you can monitor. Decide in advance how you will detect a stopped process or connection and restart it. FFmpeg looping does not itself provide a complete failure-recovery or 24/7 uptime system.

For troubleshooting, first inspect FFmpeg’s console output and YouTube’s stream-health status. Common causes include an inaccessible file path, malformed list, incompatible streams, incorrect server URL or key, an encoder missing from the installed build, or upload bandwidth that cannot sustain the selected bitrate. Fix the specific issue, then test the full playlist and representative audio and motion again.

Set the audience and clear the content rights

YouTube requires creators to declare whether a live stream is Made for Kids. Preschool-directed stories may be intended for children, but the creator is responsible for setting the audience accurately; do not rely on automated classification to make the decision. Use the audience setting in Live Control Room and consult YouTube’s audience-setting guidance.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray | Data transfer & Fast charging for MacBook, iPhone 17/16/15, iPad, Samsung Galaxy, Apple Watch
  • 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

Made for Kids live streams lose features including live chat and related functions. Personalized ads are disabled, though contextual ads may still appear; comments, reminders, and other features are also restricted. Do not build the format or revenue plan around live chat, Super Chat, personalized advertising, or notification-driven growth. See YouTube’s live-stream restrictions.

Confirm that you have permission to stream every story, illustration, recording, performance, and music track. The YouTube and FFmpeg setup guides do not establish that any particular story or recording is cleared for livestreaming. Stream only content you have rights to use; the copyright safety checklist can help you review common rights questions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Plan separately for continuity and archiving

A live feed and a durable recording are separate needs. YouTube says it can automatically archive a live stream shorter than 12 hours, but streams exceeding 12 hours may not be captured. For a nominally 24/7 broadcast, do not rely on YouTube’s automatic archive to preserve the whole program. YouTube recommends keeping a separate local recording as backup; plan storage and file rotation around your actual bitrate and retention needs. See YouTube’s archive guidance.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 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.

A local recording or archive workflow uses additional storage and may add disk, CPU, or encoding load. Test it separately so that a recording failure, full disk, or resource shortage does not go unnoticed while the live output continues. No single FFmpeg process or configuration can promise continuous uptime across host, power, network, and YouTube-side failures.

Or let it run in the cloud

If you would rather not keep a computer and home connection running, StreamNeo is a cloud service for keeping a YouTube channel live from uploaded videos. Upload your recording or make a playlist, add your YouTube stream key once, and go live. The cloud loops the uploaded video, so your computer can be off; it does not stream from a camera or to platforms other than YouTube.

  • One flat price per slot for any uploaded quality up to 4K 60fps, streamed as made without re-encoding or quality tiers.
  • Automatic recovery if YouTube drops the stream.
  • Each slot includes one always-on stream, 10 GB storage per slot pooled across active slots, 24/7 looping and playlists, and StreamNeo team support. The product is the same on every plan; only the billing length changes.
  • The first day is free with no card, one free day per account. Billing options are a day, a week, a month, six months, or a year; cancel any time. UPI and cards are accepted in India, with card checkout worldwide. For five or more slots, contact support.

Monthly pricing: $9.99 per month. Try StreamNeo’s free first day with no card by creating a StreamNeo account.

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

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.

FFmpeglivestreamingpreschool storiesvideo playlistsYouTube Live

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.

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
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.