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
Mountain View desk5 min

Fix an FFmpeg YouTube Stream That Exits on a Corrupt Playlist Entry

A corrupt playlist entry does not have one universal FFmpeg fix. Identify which component reads the list, capture the first error, test the suspect item, and use the recovery option that matches the failure.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

There is no single FFmpeg flag that safely skips every bad playlist entry. First identify which component reads the playlist: FFmpeg’s concat demuxer, an HLS manifest, or a YouTube playlist handled by a downloader such as yt-dlp. Then match the recovery method to the failure: validate or replace an entry that cannot be opened, use -fflags +discardcorrupt only for damaged packets FFmpeg can read, and use HTTP reconnect options only for relevant transport failures.

Identify which playlist is failing

“Playlist” can refer to different inputs, and the fix depends on which program reads it. FFmpeg documents its concat demuxer as reading files and directives in sequence; its FAQ distinguishes the concat demuxer, concat filter, and concat protocol. See the FFmpeg Formats Documentation and the FFmpeg FAQ.

As an Amazon Associate I earn from qualifying purchases.

What the command uses What to investigate
-f concat -i list.txt The local concat-demuxer list, its paths or URLs, and the media files it references.
An .m3u8 input The HLS manifest and the referenced segments. An entry may be stale, malformed, unavailable, or damaged.
A YouTube playlist URL passed to yt-dlp The downloader’s playlist handling first. FFmpeg may only process the downloaded media or merge separate audio and video formats; it is not necessarily the component reading the YouTube playlist. See the yt-dlp FAQ.

Before changing options, preserve the exact command, the first FFmpeg error, and the input named after -i. The title alone does not establish the playlist format, error text, FFmpeg version, or operating system, so a universal replacement command would be guesswork.

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

Capture the first failure and isolate the item

Keep the original evidence

Run the same job with logging sufficient to retain the first error. Record the item being processed, any HTTP status, and whether the same item fails on each attempt. Do not conclude that an entry is corrupt merely because FFmpeg exits: an unopenable path, malformed list syntax, damaged packet or segment, incompatible concat streams, and a transport interruption can all require different remedies.

#1 Best Overall
Sale
Lexar D40E 128GB Dual USB 3.2 Gen 1 Type-C Jump Drive, Champagne Silver
  • USB-C 2-in-1 storage OTG: The Lexar JumpDrive Dual Drive D40E features USB Type-A and Type-C connectors in a slim, portable form factor for easy device compatibility
  • Transfer speeds up to 100MB/s: Based on internal testing, performance may vary depending upon the host device, interface, and usage conditions. 1MB=1,000,000 bytes
  • Plug and Play: Widely compatible with USB Type-C smartphones, tablets, laptops, Macs, and traditional Type-A devices, no software installation required. The 360° swivel design allows for easy switching between connectors without the hassle of losing a cap
  • Durable & Compact: The Lexar D40E USB memory stick features a metal enclosure, withstands temperatures from 0° to 50° C (32°F to 122°F), and is lightweight at 26g with dimensions of 70.4 x 16.9 x 11.7mm
  • Security & Warranty: Securely protects files using an advanced security software solution with 256-bit AES encryption. Backed by a Lexar 3-year limited warranty

Test the suspicious item on its own

Use the same FFmpeg build and, where relevant, the same headers or credentials to test the suspect file or URL independently. For a local concat list, back it up, temporarily remove or comment out the suspect entry, and check whether later known-good inputs process. For HLS, inspect the manifest and test the referenced segment independently. If a YouTube playlist is involved, establish whether yt-dlp or FFmpeg is reporting the failure before changing either tool’s options.

A failure that recurs at the same item is a reason to inspect that reference or source. A failure that moves between attempts is more consistent with a transient condition. This is a troubleshooting heuristic, not proof of the cause; the FFmpeg-user mailing-list discussion “ffmpeg retry failed segments” makes the same distinction.

Rank #2
SANDISK 128GB Ultra Flair, USB-A Flash Drive, Up to 150MB/s Read Speeds | USB Flash Drive, Up to 15x Faster than standard 2.0, Password Protection, Durable, Sleek Metal Casing, USB 3.0, Silver/Black
  • High-speed USB 3.0 performance of up to 150MB/s(1) [(1) Write to drive up to 15x faster than standard USB 2.0 drives (4MB/s); varies by drive capacity. Up to 150MB/s read speed. USB 3.0 port required. Based on internal testing; performance may be lower depending on host device, usage conditions, and other factors; 1MB=1,000,000 bytes]
  • Transfer a full-length movie in less than 30 seconds(2) [(2) Based on 1.2GB MPEG-4 video transfer with USB 3.0 host device. Results may vary based on host device, file attributes and other factors]
  • Transfer to drive up to 15 times faster than standard USB 2.0 drives(1)
  • Sleek, durable metal casing
  • Easy-to-use password protection for your private files(3) [(3)Password protection uses 128-bit AES encryption and is supported by Windows 7, Windows 8, Windows 10, and Mac OS X v10.9 plus; Software download required for Mac, visit the SanDisk SecureAccess support page]

Choose the fix for the failure layer

Approach Targets Limit
Validate or filter playlist entries Missing, stale, or invalid paths, URLs, or manifest references Requires control of the playlist generator or a wrapper that checks entries before processing.
-fflags +discardcorrupt Corrupted packets that FFmpeg can read May discard damaged content; it does not open or skip a missing entry or repair malformed playlist syntax.
HTTP reconnect options Applicable connection, EOF, or HTTP failures Protocol-specific; cannot make an invalid playlist reference valid.
Re-encode or use the concat filter Inputs with incompatible stream layouts that cannot be concatenated as-is Requires more processing and may reduce quality compared with stream copy.

For damaged packets: discard only what FFmpeg can read

The FFmpeg Formats Documentation describes the discardcorrupt input flag as “Discard corrupted packets.” The commonly used spelling is -fflags +discardcorrupt, placed before the affected input, for example:

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

ffmpeg -fflags +discardcorrupt -i input.ts -c copy output.ts

Rank #3
2 Pack 64GB USB Flash Drive USB 2.0 Thumb Drives Jump Drive Fold Storage Memory Stick Swivel Design - Black
  • What You Get - 2 pack 64GB genuine USB 2.0 flash drives, 12-month warranty and lifetime friendly customer service
  • Great for All Ages and Purposes – the thumb drives are suitable for storing digital data for school, business or daily usage. Apply to data storage of music, photos, movies and other files
  • Easy to Use - Plug and play USB memory stick, no need to install any software. Support Windows 7 / 8 / 10 / Vista / XP / Unix / 2000 / ME / NT Linux and Mac OS, compatible with USB 2.0 and 1.1 ports
  • Convenient Design - 360°metal swivel cap with matt surface and ring designed zip drive can protect USB connector, avoid to leave your fingerprint and easily attach to your key chain to avoid from losing and for easy carrying
  • Brand Yourself - Brand the flash drive with your company's name and provide company's overview, policies, etc. to the newly joined employees or your customers

This example applies to a single input and is not a general playlist skip command. It may omit damaged content. If FFmpeg cannot open a referenced file or segment at all, discarding corrupt packets does not solve that failure. Consult the formats documentation for the flag and other input behavior.

For network interruptions: use HTTP reconnect options selectively

FFmpeg’s native HTTP protocol documents options including reconnect, reconnect_at_eof, reconnect_on_network_error, reconnect_on_http_error, reconnect_streamed, and reconnect_delay_max, along with retry and delay limits. Choose only options that match the protocol and observed failure; their presence does not fix a stale URL, malformed manifest, or missing file. See the FFmpeg Protocols Documentation.

Rank #4
Sale
SIMMAX 32GB Memory Stick USB 2.0 Flash Drives Swivel Thumb Drive Pen Drive (32GB Purple)
  • GOOD VALUE PACKAGE - 1 Pack 32GB Memory Stick USB 2.0 Flash Drives with great cost performance and high quality.
  • BIG CAPACITY - The available capacity: 29.10GB-29.8GB, You can save the data of movies, music, photos, designs, programs, manuals, handouts in a high speed.Good performance in digital data storing, transferring and sharing with families, friends, workmates, clients and machines.
  • EASY TO USE & PLUG AND WORK - Support windows 7 / 8 / 10 / Vista / XP / 2000 / ME / NT Linux and Mac OS, Compatible with USB2.0 and below.
  • TWISTTURN DESIGN & EASY CARRY - The metal clip rotates 360° round the ABS plastic body which with rubber oil skin feeling finish. The capless design can avoid lossing of cap, and providing efficient protection to the USB port.
  • WARRANTY & SUPPORT - SIMMAX logo is laser printed on the USB connector surface, our products are of good quality and we promise that any problem about the product within one year since you buy.

For a bad reference: validate or replace the playlist entry

If the path or URL is invalid or unavailable, make the playlist producer check each entry and omit or replace unavailable items, or process entries through a wrapper that handles failures one at a time. The reviewed FFmpeg documentation does not establish a universal concat-demuxer switch that skips every failed entry. Do not present packet-discard or HTTP-reconnect flags as substitutes for entry validation.

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

For concat inputs: check stream compatibility and timing

When using the concat demuxer, verify that the files have the same streams and compatible layouts. FFmpeg’s documentation warns that incorrect durations can cause timestamp artifacts in later content. If the inputs do not meet the concat-demuxer requirements, consider re-encoding or using the concat filter rather than assuming stream-copy concatenation will work. See the FFmpeg all-in-one documentation, section 20.6, and the FFmpeg FAQ.

Best Value
IMEASON Swivel Design 16GB USB Flash Drive with Keychain, USB 2.0 Portable Thumb Drive Memory Stick, FAT32 Format Flashdrive for Data Storage, Photos, Music, Files (Black, 16 GB)
  • 【16GB Flash Drive】USB flash drives with 16GB capacity, meet your needs of daily use on work, school, home and travelling for photos, music, videos, files storage and transfer. IMEASON thumb drives can be used to store different files, easy to data backup.
  • 【Metal Swivel Cap Design】USB thumb drive is metal swivel cover provides extra protection for the usb thumbdrive connector, no usb drive cap to lose; keychain design makes it easier to carry without worrying lose it.
  • 【Wide Compatibility】USB drive supports Windows 7/8/10/11 / Vista / XP / Unix / 2000 / ME / NT Linux and Mac OS, also Supports USB 2.0 and 1.1 ports. USB Stick support TV, desktop, notebook computer, car, audio and other device. The USB Memory Stick is your great data storage and transfer companion with traveling and working.
  • 【Easy to use】usb memory stick is plug and play without any software installation. Just simply plug the Flashdrive into the port of your USB-compatible devices such as computer, laptop to start data storage or transmission.
  • 【What You Get】16 GB USB Flash Drive Thumb Drive, The default format of the usb storage flash drive is FAT32.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Common symptoms and what to check

  • FFmpeg reports that an input cannot be opened. Check the exact path or URL, permissions, availability, and whether the playlist reference is stale. Packet-discard flags cannot open an unavailable input.
  • The first error names a malformed line or manifest. Inspect the playlist syntax and the entry around the reported location; correct or remove the invalid reference at the source.
  • A segment produces decoding or packet errors but processing can continue. Test whether -fflags +discardcorrupt is appropriate for that input, understanding that damaged content may be lost.
  • HTTP errors or network failures vary between runs. Check the specific status and protocol, then consider the documented HTTP reconnect options that match that failure. Reconnect does not repair a bad reference.
  • Concat output has timestamp artifacts or fails on a particular file. Compare the inputs’ streams and durations; incompatible layouts may require a different concat workflow.
  • A YouTube playlist fails during download or extraction. Determine whether yt-dlp reports the error or FFmpeg does. If yt-dlp is handling the playlist, changing FFmpeg’s concat or HTTP flags may target the wrong layer.

Or let it run in the cloud

If the goal is to keep a YouTube channel live from uploaded recordings rather than to repair this particular FFmpeg job, StreamNeo is a cloud alternative: upload a recording or build a playlist, add your YouTube stream key, and go live. It loops uploaded videos from the cloud, so nothing has to stay on at home. Every slot streams the uploaded quality up to 4K 60fps at one flat price per slot, with automatic recovery if YouTube drops the stream. The first day is free with no card, one free day per account. Monthly is $9.99 per month. Start the free 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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.

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
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

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.