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

FFmpeg does not enumerate YouTube playlists from a playlist URL. If it keeps processing the first video, check which program is selecting playlist entries: use yt-dlp to enumerate and download them, or pass FFmpeg a distinct input for each video. If you only want the video in a watch URL that also contains playlist context, use yt-dlp’s --no-playlist option.

First identify what is repeating the video

Look at the exact command and determine whether it runs ffmpeg, yt-dlp, or both. FFmpeg processes the inputs supplied with -i; a YouTube playlist URL does not, by itself, make FFmpeg select each playlist entry. yt-dlp has playlist and item-selection options, so it is usually the right tool to enumerate a YouTube playlist. FFmpeg can then merge or process the downloaded files.

If your pipeline already provides individual media files or URLs, you can instead give FFmpeg separate, correctly ordered -i inputs. The right fix depends on the command and URL; without those, the symptom alone does not establish a specific cause.

Choose the workflow that matches your goal

Goal Recommended approach What to check
Process videos from a YouTube playlist Use yt-dlp to enumerate and select playlist entries; use FFmpeg afterward for merging or processing if needed. Playlist URL, item-selection options, and the downloaded item IDs or titles.
Process media already supplied as separate files or URLs Pass FFmpeg a distinct -i input for each intended item, in the required order. Every input argument and the placement of its related options.
Download just one video from a watch URL that includes playlist context Use yt-dlp with --no-playlist. Confirm the URL refers to both a video and a playlist, and that you want only the video.

Diagnose yt-dlp playlist selection

Check the URL and selection options

A watch URL can identify one video while also carrying playlist context. If you want just that video, yt-dlp documents --no-playlist for selecting the video alone. If you want the full playlist, use the playlist URL and remove unintended selection limits.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sandisk 2TB Extreme Portable SSD, Up to 1050MB/s, USB-C, USB 3.2 Gen 2, IP65 Water and Dust Resistance, Updated Firmware, External Solid State Drive, SDSSDE61-2T00-G25
  • Get NVMe solid state performance with up to 1050MB/s read and 1000MB/s write speeds in a portable, high-capacity drive(1) (Based on internal testing; performance may be lower depending on host device & other factors. 1MB=1,000,000 bytes.)
  • Up to 3-meter drop protection and IP65 water and dust resistance mean this tough drive can take a beating(3) (Previously rated for 2-meter drop protection and IP55 rating. Now qualified for the higher, stated specs.)
  • Use the handy carabiner loop to secure it to your belt loop or backpack for extra peace of mind.
  • Help keep private content private with the included password protection featuring 256‐bit AES hardware encryption.(3)
  • Easily manage files and automatically free up space with the SanDisk Memory Zone app.(5). Non-Operating Temperature -20°C to 85°C

Review the command for --playlist-items. This option deliberately selects playlist positions; a limited range can make a full playlist appear to be repeating or incomplete. For a small diagnostic run, select a few positions, such as --playlist-items 1-3, and inspect the resulting titles or IDs before processing the rest. The expected result is three distinct entries if those positions in the playlist contain distinct videos.

Make the output reveal playlist order

Use a filename template that records the playlist and item index. yt-dlp documents this pattern:

Rank #2
Sandisk 1TB Portable SSD, Up to 800MB/s Read Speeds, Black (Old Model)
  • Solid state performance with up to 800MB/s read speeds in a portable drive. (Based on internal testing; performance may be lower depending on host device, interface, usage conditions and other factors. 1MB=1,000,000 bytes.)
  • Back up your content and memories on a storage solution that fits seamlessly into your mobile lifestyle.
  • Take it with you on your adventures—up to two-meter drop protection means this durable drive can take a beating. (Based on internal testing.)
  • Secure it to your belt loop or backpack for extra peace of mind thanks to the tough rubber hook.
  • From Sandisk, a brand professional photographers trust to take on assignments.

%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s

The folder and index make repeated entries, skipped positions, and ordering easier to spot. Record or print item IDs and titles during the diagnostic run as well; filenames alone may not distinguish videos with similar titles.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Check FFmpeg inputs and option order

If FFmpeg is receiving the media directly, inspect every -i argument. Each intended video must be represented by a distinct input, or by the deliberate list or demuxer mechanism your pipeline uses. Reusing one URL or file as the input will not make FFmpeg advance through a YouTube playlist.

FFmpeg options generally apply to the next input or output, and input/output options are reset between files. Keep each input’s relevant options in the correct position and confirm that the sequence of -i arguments matches the intended order. A generic loop option will not correct a URL-selection mistake; first verify that the inputs themselves are different.

Rank #4
Sale
Sandisk 1TB Extreme Portable SSD, Up to 2000MB/s Transfer Speeds-New Model
  • NEARLY 2X FASTER THAN OUR PREVIOUS GENERATION(8) – move 1,000 high-res photos in under 60 seconds(6) with up to 2000MB/s transfer speeds(2).
  • IP65 RATING AND UP TO 3M DROP PROTECTION(3) – protects against spills and drops.
  • POCKET-SIZED – fits easily in pockets and small bags.
  • SPACE TO OWN YOUR AI CONTENT – speed and capacity to download your high-res clips and photo edits.
  • 256-BIT AES ENCRYPTION(4) – helps keep private files secure with password protection.

Use an archive only to prevent downloads on later runs

yt-dlp’s --download-archive records identifiers for successful downloads and skips those videos on later runs when the same archive is used. It is useful when rerunning a playlist without downloading previously completed items again. It does not change which item an incorrectly constructed input selects repeatedly within a single run.

Practical troubleshooting sequence

  1. Capture the exact command. Identify whether it invokes FFmpeg, yt-dlp, or both. Check the installed yt-dlp version with yt-dlp --version, since extractor behavior and available options can change.
  2. Classify the URL. Decide whether it is a single-video watch URL with playlist parameters or a playlist URL. For one video, use yt-dlp’s --no-playlist; for the playlist, use its playlist URL and remove unintended item restrictions.
  3. Test a few playlist positions. Run yt-dlp with an explicit selection such as --playlist-items 1-3. Inspect item IDs or titles and confirm the entries are distinct before applying FFmpeg processing.
  4. Audit direct FFmpeg inputs. Check that each intended video has its own input or that the intended list mechanism supplies distinct entries. Verify the order of -i arguments and the position of input-specific options.
  5. Inspect saved filenames. Include playlist name and item index, for example %(playlist)s/%(playlist_index)s - %(title)s.%(ext)s, so duplicates or missing positions are visible.
  6. Separate rerun behavior from within-run behavior. Add a stable --download-archive file if later runs should skip completed videos; do not expect it to fix repeated selection during one run.
  7. Prepare a reproducible report if it persists. Include the exact command, a representative URL with private tokens removed, yt-dlp version, operating system, and relevant verbose output. Avoid sharing credentials or private tokens.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or let it run in the cloud

If your goal is to keep uploaded videos looping as a 24/7 YouTube stream rather than download and process a playlist, StreamNeo is a separate cloud option: upload a recording or build a playlist, add your YouTube stream key, and go live. Nothing has to stay on at home; it streams the uploaded quality up to 4K 60fps at one price per slot, and automatically recovers if YouTube drops the stream. The first day is free with no card. Monthly pricing is $9.99 per month. Start the free day with StreamNeo.

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

Quick Recap

Bestseller No. 2
Sandisk 1TB Portable SSD, Up to 800MB/s Read Speeds, Black (Old Model)
Sandisk 1TB Portable SSD, Up to 800MB/s Read Speeds, Black (Old Model)
From Sandisk, a brand professional photographers trust to take on assignments.
$165.70
SaleBestseller No. 3
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.99
SaleBestseller No. 4
Sandisk 1TB Extreme Portable SSD, Up to 2000MB/s Transfer Speeds-New Model
Sandisk 1TB Extreme Portable SSD, Up to 2000MB/s Transfer Speeds-New Model
IP65 RATING AND UP TO 3M DROP PROTECTION(3) – protects against spills and drops.; POCKET-SIZED – fits easily in pockets and small bags.
$209.99
Bestseller No. 5
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$229.99
Best Value
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
  • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

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.