October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Mountain View desk5 min

How to Make FFmpeg Skip a Missing Video File Without Stopping a YouTube Stream

FFmpeg’s concat demuxer does not silently skip missing inputs. Exclude absent files before launch, or supervise and restart FFmpeg with a regenerated playlist.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

FFmpeg’s concat demuxer has no documented option to silently skip a missing input file. The dependable fix is to remove missing paths before FFmpeg opens the playlist. If files can disappear while a stream is running, use a supervisor to rebuild the playlist and restart FFmpeg when it fails; that restart may interrupt the live output.

Why FFmpeg stops on a missing concat entry

The concat demuxer reads a text script and processes its listed files in sequence as though their packets had been joined. If a listed local file is absent when FFmpeg tries to open it, the demuxer cannot read that input. YouTube is only the destination in this scenario: the failure occurs at FFmpeg’s local input layer.

As an Amazon Associate I earn from qualifying purchases.

FFmpeg’s documentation does not list a silent missing-file skip option for the concat demuxer. In particular, onfail=ignore is not a documented concat-demuxer setting; syntax with that name appears in some FFmpeg contexts, including the tee muxer, where it concerns output failures rather than a missing input.

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

Build a playlist that excludes missing files

For a playlist whose contents are known before the broadcast starts, have the script that creates the ffconcat file test every path and include only files that exist. Then give FFmpeg the filtered playlist. This prevents a known missing entry from being opened in the first place.

#1 Best Overall
Guermok Video Capture Card, 4K USB3.0 HDMI to USB C, 1080P 60FPS & 2K 30FPS
  • 【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

Use the ffconcat script format correctly

A basic script looks like this:

ffconcat version 1.0
file 'video-01.mp4'
file 'video-02.mp4'

For automatic format recognition, ffconcat version 1.0 must be the exact first line. Do not put spaces before it or a byte-order mark at the beginning of the file. Quote or escape paths containing spaces or special characters.

The concat demuxer’s safe option defaults to 1, which rejects paths it considers unsafe. -safe 0 allows any file name, but use it only with a playlist you trust because it relaxes those path restrictions.

Rank #2
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 going live

  • Confirm every selected file exists at the path written in the playlist.
  • Check that the files have the same streams, including codecs and time base. FFmpeg states that the concat demuxer requires matching stream layouts.
  • Check durations: incorrect or truncated-file durations can cause timestamp artifacts or gaps between files.
  • Use explicit -map options when you need to control which streams go into the output. Incompatible selected streams or output handling can still make FFmpeg abort.

The demuxer adjusts timestamps so the first file starts at zero and later files follow the preceding file. Unequal stream lengths can leave gaps, so a playlist that opens successfully is not automatically free of timing problems.

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

Handle files that disappear during a live stream

If a file can be removed or become unavailable after FFmpeg starts, pre-filtering at launch cannot protect against that runtime change. Use an external supervisor to monitor FFmpeg’s exit status and logs. When the process fails, the supervisor can check which files remain available, generate a fresh valid playlist, and launch FFmpeg again.

Rank #3
Video Capture Card, 4K USB3.0 HDMI to USB C, 1080P60FPS HDMI Capture Card for Streaming, Gaming, Video Recording Compatible with Switch, Xbox, PS4/5, OBS,iPad Mac OS Windows,Camera, Zoom(Silver)
  • 【4K HDMI Input, 2K@30Hz Recording】Powered by a true USB 3.0 high-speed interface, the capture card supports up to 4K@30Hz HDMI input and records at 2K@30Hz or 1080P@60Hz. Perfect for gamers, streamers, and professionals who need crisp, smooth video for live streaming, gameplay recording, or online meetings.
  • 【Ultra Low Latency Screen Sharing】Built with a premium aluminum alloy shell and advanced chipset for stable heat dissipation, ensuring ultra-low latency transmission. Capture high-quality video and dual-channel audio in real time—no lag, no frame drop—ideal for Twitch, YouTube, or OBS streaming.
  • 【Easy Plug and Play, Compact & Portable】No driver or external power required—just plug and play via USB 3.0 or Type-C connection to your Windows or macOS computer. Lightweight and compact design makes it easy to carry for outdoor streaming, live shows, or mobile recording setups.
  • 【Wide Compatibility & Multi-Device Support】Compatible with Windows 7 8 10 11, macOS, Linux,Android and supports most popular software such as OBS, Zoom, VLC, Twitch Studio, and more. Works seamlessly with PS4, PS5, Xbox, Switch, DSLR cameras, TV boxes, and other HDMI-output devices for streaming to YouTube, Twitch, etc.
  • 【What You Get】Includes: HDMI Capture Card, USB 3.0 to USB-C Adapter, User Manual. Tips: Make sure your tablet’s OTG function is enabled before connecting. Test your HDMI device with a monitor first to confirm video and audio output, then connect to the Video Capture Card for recording.
  1. Start FFmpeg with a playlist generated from files that currently exist.
  2. Monitor the process and its logs for an input-open or read failure.
  3. After a failure, rebuild the playlist from the files still available; do not retain the missing path.
  4. Relaunch FFmpeg using the regenerated playlist, then verify the YouTube output has resumed.

This is recovery by restarting the encoder, not a documented seamless in-process skip. A restart can interrupt the live output, so test the supervisor and the resulting YouTube behavior before relying on it for a broadcast.

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

Choose the right concat method

Approach Use it when Trade-off
Concat demuxer The files already have compatible streams and you want to avoid re-encoding. Streams must match, durations matter, and missing entries should be excluded before FFmpeg opens the list.
Concat filter The inputs need processing or re-encoding to standardize them. It requires a filter and re-encode workflow. FFmpeg’s FAQ recommends the filter when re-encoding is needed.
External supervisor with a regenerated playlist A file may be discovered missing while the stream is running. It can relaunch FFmpeg with a valid list, but the restart may interrupt the output; seamless recovery is not established.

For FFmpeg’s official concat demuxer documentation, see the concat demuxer section. Its FAQ explains the choice between the demuxer and filter at How can I concatenate video files?.

Rank #4
Sale
Capture Card 4K HDMI Video Streaming to USB 3.0 1080P 60FPS Capture Device
  • 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

What YouTube Live can—and cannot—fix

YouTube Live receives the encoded output; it does not change how FFmpeg opens a local file in its concat list. The cited YouTube HLS ingestion guidance discusses HLS playlists and media segments, including unique segment names across encoder restarts. It does not provide a control for skipping a missing local concat input. HLS-specific guidance should not be applied to an RTMP workflow without checking the corresponding current requirements for that protocol.

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

Troubleshoot a stream that still stops

  • FFmpeg reports that it cannot open a file: check the exact path, filename case, permissions, and whether the file still exists where the playlist says it does. Regenerate the list without unavailable entries.
  • The playlist is rejected despite existing files: check the first line and path quoting. If the paths are trusted but rejected by the default safety check, consider -safe 0; it permits paths the default setting rejects.
  • FFmpeg opens the files but output has gaps or artifacts: inspect durations and stream compatibility. The demuxer expects matching streams, and incorrect duration information can disrupt timestamps.
  • The supervisor restarts FFmpeg but YouTube output does not resume as expected: inspect the new process logs and confirm the output configuration and ingestion protocol. YouTube’s HLS restart guidance is protocol-specific and is not a general fix for RTMP.
  • The files do not share compatible streams: use the concat filter and re-encode or normalize the inputs instead of relying on stream-copy concatenation.

Or let it run in the cloud

If your goal is to keep uploaded videos looping on YouTube without maintaining an FFmpeg process at home, StreamNeo is a separate cloud option, not a fix for FFmpeg’s local missing-file behavior. Upload a recording or build a playlist, add your YouTube stream key, and go live. Nothing has to stay on at home; uploads stream as made up to 4K 60fps at one price per slot, with automatic recovery if YouTube drops the stream. The first day is free with no card. Monthly pricing is $9.99 per month. Start your free day with 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.

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
Windows Errors? Fix Them Before They SpreadFree repair 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.