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
DocumentaryTube
concat demuxer

Fix FFmpeg Playlist Files That Skip Tracks During a YouTube Music Stream

When FFmpeg skips a song, isolate whether it disappears from local concat playback or only from YouTube Live. Then troubleshoot the playlist, file boundary, timestamps, stream mapping, or ingest layer.

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

If FFmpeg appears to skip songs, first find out whether the track is missing from the local playlist playback or only from the YouTube stream. A local skip points toward the playlist, file paths, media compatibility, or timestamps; a track that plays locally but disappears live points toward stream mapping, FFmpeg output, or YouTube ingest. The right fix depends on which side loses it.

Find where the track disappears

Do not start by changing bitrate or encoding settings. Those settings cannot repair a missing playlist entry or an unreadable source file. Play the source sequence locally and compare it with YouTube’s Live Control Room preview. Note the exact transition where the expected song vanishes.

  • Missing locally: inspect the playlist text, paths, file readability, concat compatibility, and durations.
  • Present locally but missing or silent live: inspect FFmpeg’s output log, selected streams, network output, YouTube preview, and stream-health messages.

For a useful diagnosis, keep the FFmpeg version, command, playlist text with private paths redacted, and the log around the transition. Never share a real YouTube stream key.

Check the concat playlist and its paths

The concat demuxer reads a script of files and directives sequentially as one virtual input. Check that the script contains every intended file once, in the intended order, and uses the concat demuxer’s expected format. A typo, wrong path base, quoting problem, or faulty generated list can make a song fail to load or leave it out of the sequence.

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.
  1. Open the playlist and compare its entries with the intended song order.
  2. Check spelling, capitalization where the filesystem distinguishes it, path base, and quoting for each affected entry.
  3. Confirm that FFmpeg can open the file at the path shown in the playlist; read the log for input-open errors.
  4. If you use -safe 0 to allow paths FFmpeg would otherwise reject, use it only with a playlist you control and trust.
  5. Test the last song that plays correctly and the next song that appears to be skipped as a small, controlled sequence.

FFmpeg describes the concat demuxer as reading a list of files and directives and demuxing them one after another as though their packets had been muxed together. See the FFmpeg documentation for concat script syntax and demuxer behavior.

Check whether adjacent tracks are compatible

The concat demuxer expects the files to have the same streams, including compatible codecs and time bases. If adjacent tracks differ in stream layout or encoding, stream copy with -c copy does not make them compatible or normalize them. A transition may fail or produce boundary artifacts even when each file plays by itself.

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.
  1. Inspect the streams of both files around the problem transition: note the audio and video streams, codecs, time bases, and durations.
  2. Test just those two files with the same playlist method and output settings used for the full stream.
  3. If the streams are compatible and preserving the original packets is important, stream copy may be appropriate.
  4. If the files are incompatible, use FFmpeg’s concat filter and re-encode them to a common output format. The FFmpeg FAQ distinguishes the concat filter for cases requiring re-encoding from the concat demuxer option when avoiding re-encoding.

Choose the filter or demuxer based on the actual files and desired output; there is no single safe command for every playlist. The formats, FFmpeg version, destination ingest URL format, and intended video and audio settings matter.

Check durations and timestamps at the transition

The concat demuxer uses each file’s duration to set the timestamps for the next file. If a stored duration is wrong or was estimated inaccurately—for example, from bitrate—or a file is truncated, the next track can begin at the wrong timestamp and cause boundary artifacts.

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.
  • Compare the reported duration with the actual playable length of each file around the skip.
  • Inspect truncated files and files with unusual metadata separately; a bad duration is not necessarily a playlist-order problem.
  • Use a duration directive to override a duration only when you know the correct value.

Changing a duration without verifying it can move the timestamp problem rather than solve it. Consult the concat demuxer section of the FFmpeg documentation for the directive and its effect.

Confirm FFmpeg selected the intended audio stream

A song can appear to be skipped if the expected audio stream is absent from the output or FFmpeg selected a different stream. FFmpeg’s automatic stream selection depends on output-format eligibility and its selection rules; -map lets you choose input streams manually.

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
  1. Read FFmpeg’s input stream listing and identify the audio stream that contains the expected track audio.
  2. Check the output mapping in the log and verify that the intended audio stream is included.
  3. When automatic selection is unsuitable, add explicit -map options for the intended audio and video streams, using the stream indexes from your actual input.
  4. Confirm that the resulting output contains audio before blaming YouTube for silence or omissions.

Because stream indexes and layouts vary by input, do not copy a mapping blindly. See the FFmpeg CLI documentation for -map and stream selection.

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

Separate local playlist correctness from YouTube ingest

If local playback is correct, compare the same point in YouTube’s Live Control Room preview and review its stream-health messages alongside FFmpeg’s output log. Look for output or network errors and verify the encoder settings against YouTube’s current guidance. YouTube recommends testing representative audio and video, checking the preview, and monitoring stream health.

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.

YouTube’s live encoder guidance lists RTMP/RTMPS as streaming protocols and recommends RTMPS. It lists H.264, H.265/HEVC, and AV1 video codecs; AAC or MP3 audio codecs; and constant bitrate (CBR). The recommended keyframe interval is two seconds, with a maximum of four seconds. For stereo audio, YouTube lists 44.1 kHz and 128 Kbps as recommended advanced settings; for 5.1 audio, it lists 48 kHz and 384 Kbps. Video bitrate recommendations depend on codec, resolution, and frame rate, so use the current YouTube live encoder settings table instead of treating one bitrate as universal.

These ingest checks address the outgoing stream, not a malformed local playlist or incompatible source files. Fix the layer where the track first goes missing.

Use output recovery only for output interruptions

FFmpeg’s FIFO muxer has network-output recovery controls, including attempt_recovery and recovery_wait_time. They can help with output continuity when a network stream encounters an error; they do not fix playlist entries, unreadable files, incompatible inputs, or bad durations.

The FIFO muxer can also be configured to drop packets on overflow so processing continues. That may omit part of the stream, so packet dropping is not a lossless fix for a skipped song. Use recovery settings only after confirming the local sequence is correct and the problem lies in output continuity. See the FFmpeg documentation for the FIFO muxer options and trade-offs.

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.

Quick symptom-to-fix guide

What you observe Where to look first Next check
The same song is missing in local playback Playlist and source files Verify entry order, paths, quoting, readability, and the generated-list process.
A skip occurs at a particular file boundary Adjacent media and durations Compare streams, codecs, time bases, and actual versus reported duration.
The track plays locally but is absent or silent in the live output FFmpeg stream selection and output Review input/output stream listings, explicit mapping, and the FFmpeg log.
Local playback is correct but YouTube preview or health is not Ingest and network output Review YouTube stream health, output errors, and current encoder settings.

Or let it run in the cloud

If your goal is a continuous YouTube music stream rather than troubleshooting a local FFmpeg setup, StreamNeo runs uploaded videos or playlists from the cloud. Upload your recording or build a playlist, add your YouTube stream key, and go live; it loops the material without requiring a computer, OBS, or home connection to stay on. It does not stream from a camera.

  • Nothing has to stay on at home.
  • Any quality up to 4K 60fps streams as uploaded at one flat price per slot.
  • Automatic recovery if YouTube drops the stream.
  • The first day is free with no card; one free day is available per account.
  • Monthly: $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
Outdated Drivers Are Slowing You DownFree scan - exact matches
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.