Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
Mountain View desk5 min

How to Loop Videos to YouTube Live with FFmpeg and a Text File Playlist

Use FFmpeg’s concat demuxer to play local videos in sequence and send them to YouTube Live. Learn playlist syntax, compatibility checks, ingest settings, and troubleshooting.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use FFmpeg’s concat demuxer to read a text playlist, then send the resulting video feed to YouTube Live using the stream URL and key from YouTube Studio. The playlist makes files play in sequence; matching media formats and a successful test are essential before leaving the stream unattended.

What you need before you start

  • FFmpeg installed on a computer that can remain on and connected for the duration of the stream.
  • Local video files you have the right to stream.
  • A YouTube channel with live streaming enabled, plus its ingest URL and stream key from Live Control Room.
  • A stable upload connection capable of sustaining the bitrate you choose.

YouTube says first-time live-stream activation may take up to 24 hours. See YouTube Help: Create a YouTube live stream with an encoder. The stream key is a credential: keep it private, and reset it in Studio if it is exposed.

As an Amazon Associate I earn from qualifying purchases.

Build a text playlist

Create a plain-text file in the same directory as your videos, for example playlist.ffconcat. The first line must be exactly ffconcat version 1.0, with no leading spaces or byte-order mark, for FFmpeg to recognize the format automatically. Add one file directive per video:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
ffconcat version 1.0
file 'video-01.mp4'
file 'video-02.mp4'
file 'video-03.mp4'

Use paths relative to the playlist file or absolute paths. Quote paths containing spaces or special characters using concat syntax and test them with your FFmpeg build. The concat demuxer reads the listed files in sequence as one virtual input; see the FFmpeg Formats Documentation.

#1 Best Overall
Sale
Capture Card, 4K HDMI Video Capture Card, Game Capture Card, 1080P 60FPS Video Capture Device, HDMI to USB 3.0 Capture Card for Streaming, Work with Camera/Xbox/PS4/PS5/PC/OBS
  • 【1080P HD High Quality】Capture resolution up to 1080p for video source and it is ideal for all HDMI devices such as PS4, PS3, Xbox One, Xbox 360, Wii U, DVDs, DSLR, Camera, Security Camera and set top box. Note: Video input supports 4K30/60Hz and 1080p120/144Hz. Does not support 4K120Hz/144Hz. Output supports up to 2K30Hz.
  • 【Plug and Play】No driver or external power supply required, true PnP. Once plugged in, the device is identified automatically as a webcam. Detect input and adjust output automatically. Won't occupy CPU, optional audio capture. No freeze with correct setting.
  • 【Compatible with Multiple Systems】suitable for Windows and Mac OS. High speed USB 3.0 technology and superior low latency technology makes it easier for you to transmit live streaming to Twitch, Youtube, Facebook, Twitter, OBS, Potplayer and VLC.
  • 【HDMI LOOP-OUT】Based on the high-speed USB 3.0 technology, it can capture one single channel HD HDMI video signal. There is no delay when you are playing game live.
  • 【Support Mic-in for Commentary】Rybozen capture card has microphone input and you can use it to add external commentary when playing a game. Please note: it only accepts 3.5mm TRS standard microphone headset.

Check compatibility before streaming

The concat demuxer expects the files to have the same streams, codecs, and time bases. Differences in resolution, frame rate, audio layout, or codec can cause errors or uneven transitions. Test the complete playlist locally before sending it to YouTube.

  • Check that every path resolves and that each file opens and plays through to its end.
  • Confirm the video and audio streams are compatible across all files.
  • Watch transitions for black frames, audio gaps, freezes, or abrupt changes.
  • If a file has an inaccurate reported duration, the concat demuxer’s duration directive can override it; incorrect durations may otherwise produce timestamp artifacts.

FFmpeg’s default safe=1 rejects unsafe paths and directives. Avoid disabling this protection casually; use safe, straightforward paths where possible.

Rank #2
Guermok Video Capture Card, 4K USB3.0 HDMI to USB C, 1080P 60FPS & 2K 30FPS | Capture Card for Streaming, Compatible with iPad Mac OS Windows, Quest 3, OBS, PS5/4, Switch2/1, Xbox, Camera (Silver)
  • 【1080P 60FPS Video Capture Card】 This HDMI game capture card is based on USB3.0 high speed transmission port, input resolution up to 4K@30HZ, output resolution up to 2K@30Hz or 1920×1080@60Hz. Type c and USB interface can meet most of the devices in daily life. Easily meet the online capture, real-time recording, online meetings, live gaming and other functions, so you have a better visual enjoyment. Note: For capture use only; requires capture software to function and is not intended for direct screen casting to a monitor or TV
  • 【Ultra Low Latency Screen Sharing】 HDMI capture card is made of good quality aluminum alloy with strong heat dissipation, allowing you to enjoy ultra low latency while live gaming or video recording or live streaming, avoiding blue screens and lag. This HDMI to USBC capture card supports easy recording of good quality audio or HD video and transferring it to your computer or streaming platform, allowing you to record 60 fps HD video directly on your hard drive and real-time preview
  • 【Plug and Play, Easy to Carry】 This HDMI 1080P video capture card does not require any additional drivers or external power supply, just plug and play for fast capture. The capture card is small and lightweight, so you can put it in your bag for emergencies, making it very portable for outdoor live streaming. It's also a great way to share content in game recording, video conference, video recorder and online teaching
  • 【Wide Compatibility USB Capture Card】 Easily streams to Facebook, Youtube or Twitch. With the connection, this HDMI to USB C/3.0 video capture devices can be working on several Operating Systems and various software: Windows 7/ 8/ 10, Mac OS or above, Linux, Android, Laptop, Xbox One, PS3/PS4/PS5, Camera, DVDs, Set Top Box, Webcame, DSLR, Switch/Switch 2, TV BOX, HDTV, Potplayer/VLC, ZOOM, OBS Studio etc.
  • 【Package Content & Note】 1x HD Audio Capture Card , 1x USB 3.0 to USB C Adapter (A-side 3.0, B-side 2.0), 1x user manual. Please note that you need to restart the OBS Studio software after the audio setup is complete, otherwise it will result in no sound output. When using an adapter, if the device is recognized as USB 2.0, try using the other side with the USB-C port. Simply flip the capture card and reconnect it to be recognized as USB 3.0

Set up YouTube Live and choose encoder settings

  1. Open YouTube Studio and go to Create > Go live to open Live Control Room. Create or select the stream.
  2. Copy the stream URL and stream key shown for the stream. Keep the key out of screenshots, shared commands, and public scripts.
  3. Choose an ingest protocol supported by your setup. YouTube documents RTMP and RTMPS; prefer RTMPS when available.
  4. Choose a video codec, resolution, frame rate, bitrate, and audio format supported by YouTube and your source files. YouTube documents H.264, H.265/HEVC, and AV1 video options, up to 60 fps, with AAC or MP3 audio.
  5. Use constant bitrate (CBR) and a two-second keyframe interval where your encoder allows it. YouTube recommends two seconds and says the interval should not exceed four seconds.

YouTube’s current guidance accessed in 2026 lists 14 Mbps for 1080p30 H.264 and 8 Mbps for 720p30 H.264. These are recommended encoder bitrates, not guarantees that your internet connection can sustain the stream. Choose a bitrate appropriate to the resolution, frame rate, and codec, and test your actual upload capacity. See YouTube Help: Live encoder settings, bitrates, and resolutions.

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.

Send the playlist to YouTube and test it

FFmpeg’s concat playlist provides sequential input, but a complete streaming command depends on the installed FFmpeg version, the playlist paths, the media’s codecs, and the chosen YouTube settings. The available official documentation here does not establish one universal command for endless looping and streaming. Verify the options supported by your installed build and test a short private or unlisted stream before relying on a command in production.

Rank #3
Sale
Capture Card 4K HDMI Video Streaming to USB 3.0 1080P 60FPS Capture Device | Audio Video Capture, 4K HDMI Loop-Out, Work for PS5/PS4/Switch/Xbox/PC/Camera/OBS, Game Screen Recorder Streaming Equipment
  • High-Quality Video Capture, 4K HDMI Capture Card Ready: Capture smooth and vibrant video with this 4K HDMI capture card, engineered for gamers and content creators who demand crisp 1080P 60FPS video quality. Whether you're streaming to Twitch or recording gameplay for YouTube, your footage will look professional and detailed
  • Plug-and-Play USB Capture Card, No Drivers Needed: Designed as a USB capture card for streaming, this device works instantly out of the box, just plug into your PC or laptop and start capturing. Fully compatible with popular software like OBS Studio, Streamlabs, and XSplit, making setup quick and stress-free for beginners and pros alike
  • Universal Compatibility PS5, Xbox, Switch & More: Stream or record gameplay from virtually any HDMI-enabled device including Nintendo Switch, PS5, Xbox Series X, DSLR cameras, and PCs. The video capture card for gaming supports seamless passthrough so you can play without lag while your audience watches every frame in real time
  • Low-Latency Performance for Smooth Streaming: This capture card for streaming minimizes delay between gameplay and broadcast, so you get reliable, low-latency capture that works well for competitive gaming, live broadcasts, and podcast sessions. Suitable for those building their channel with high-quality, engaging content
  • Compact & Portable Design for Content Creators: Lightweight and portable, this USB 3.0 capture card works well for creators who travel or switch gaming setups often. Throw it in your bag and stream or record wherever you are, at home, events, LAN parties, streaming or studio sessions
  1. Start with a local playback test of the playlist and confirm that FFmpeg reaches each file in order.
  2. Configure your FFmpeg output for the selected video and audio codecs, resolution, frame rate, bitrate, and keyframe interval.
  3. Set the YouTube ingest URL and stream key in the output configuration. Do not publish a command containing a live key.
  4. Start the encoder and check the Live Control Room preview, stream health, and any warnings or error messages.
  5. Watch at least one transition between files and verify that both picture and sound continue as expected.

YouTube recommends testing with audio and movement similar to the real broadcast and monitoring stream health. Do not treat a successful start alone as proof that a long-running stream will remain healthy.

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

Choose visibility and confirm media rights

Set the stream to public, private, or unlisted according to who should be able to watch it. Confirm that you have the rights to every video and audio track in the playlist; having a local copy does not itself establish permission to broadcast it. YouTube provides rights-management controls, but whether a particular recording may be streamed depends on the rights that apply to it. Scheduled streams and channel-specific settings are managed in Studio.

Rank #4
acer Video Capture Card HDMI to USB 3.0, 1080P 60FPS/2K 30FPS for Streaming
  • 【1080P 60FPS & 2K 30FPS】Supports HDMI input up to 4K 30FPS for ultra‑clear source signals, and captures/streams smooth footage at max 1080P 60FPS or 2K 60FPS to eliminate motion blur and stuttering, delivering fluid visuals for gaming, live streaming and video recording via high‑speed USB 3.0 transmission.
  • 【USB 3.0 High-Speed Interface】USB 3.0 interface with up to 5Gbps bandwidth for lag-free HD capture and streaming with consoles, cameras, desktops, and laptops. Aluminum casing dissipates heat effectively, ensuring stable performance under prolonged high-bandwidth loads. Note: For best results, use a USB 3.0 port.
  • 【Easy Plug-and-Play design】with no additional driver software required. The 2-in-1 USB-A & Type-C interface design ensures wide compatibility with laptops, desktops, gaming consoles and mobile devices. Its compact and lightweight construction enhances portability, allowing you to carry and use it effortlessly anytime and anywhere.
  • 【Wide Universal Compatibility】Works with diverse devices: laptops, tablets, PS4/PS5, Nintendo Switch, cameras, TV boxes, and Oculus Quest 2/3. It supports major operating systems: Windows 7/8/8.1/10, Mac OS, Linux, Android, and iPadOS 17+. Fully compatible with popular software and streaming platforms like OBS Studio, QuickTime Player, TikTok, Twitch, and YouTube—all without requiring drivers.
  • 【Worry-Free After-Sales Support】Whether you're a newcomer or a seasoned user, feel free to reach out anytime with any questions—your satisfaction is our top priority. NOTE: This capture card supports one-way transmission only (HDMI to USB), and ensure your device is equipped with a USB 3.0 port to achieve optimal performance.

Troubleshoot common failures

FFmpeg rejects the playlist

  • Check the header: make ffconcat version 1.0 the exact first line, without leading whitespace or a byte-order mark.
  • Check paths and quotes: verify each file exists and that paths with spaces or special characters follow concat syntax.
  • Check safe-path restrictions: the default safe mode rejects some paths and directives. Prefer simple, safe paths rather than turning off the check without understanding the consequences.

Playback breaks at a file boundary

  • Compare the files’ streams, codecs, and time bases; the concat demuxer requires compatible inputs.
  • Look for inaccurate file durations, truncation, or damaged media. A duration override can help when the reported duration is inaccurate, but should be based on the file’s actual duration.
  • Test each transition locally before streaming the playlist.

YouTube does not show a preview or reports poor stream health

  • Confirm that the selected stream URL and key are correct and that live streaming is enabled for the channel.
  • Check that the output codec, bitrate, frame rate, audio format, and keyframe interval match YouTube’s guidance.
  • Test whether the upload connection can sustain the selected bitrate; encoder recommendations do not account for your connection’s available capacity.
  • Review Live Control Room messages and stream-health indicators rather than assuming the feed is healthy because FFmpeg is still running.

The stream stops when the computer or connection fails

A local FFmpeg process depends on the computer, power, and network connection staying available. If any of those fail, the feed can stop. For a stream that must continue while your computer is off, use a cloud-hosted approach instead.

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

Or let it run in the cloud

StreamNeo keeps an uploaded video or playlist streaming to YouTube from the cloud. Upload your recording or build a playlist, add your YouTube stream key once, and go live. Nothing has to stay on at home; videos stream as uploaded, up to 4K 60fps, at one price per slot regardless of quality, with automatic recovery if YouTube drops the stream. The first day is free with no card. Monthly billing is $9.99 per month. See StreamNeo for details, or start your free 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 Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
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.