Skip to content

Long Start-Up Time for yt-dlp_macos #10425

@NoNoNo

Description

@NoNoNo

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Provide a description that is worded well enough to be understood

yt-dlp_macos (nightly) takes 45 s to load.

https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/download/2024.07.10.232707/yt-dlp_macos

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

time yt-dlp -vU --ignore-config
[debug] Command-line config: ['-vU', '--ignore-config']
[debug] Encodings: locale utf-8, fs utf-8, pref utf-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.07.10.232707 from yt-dlp/yt-dlp-nightly-builds [705f5b84d] (darwin_exe)
[debug] Python 3.12.4 (CPython x86_64 64bit) - macOS-14.5-x86_64-i386-64bit (OpenSSL 3.0.13 30 Jan 2024)
[debug] exe versions: ffmpeg git-2024-07-04-bef77c6c (fdk,setts), ffprobe git-2024-07-04-bef77c6c, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.7.0, mutagen-1.47.0, requests-2.32.3, sqlite3-3.45.3, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1834 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.07.10.232707 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.07.10.232707 from yt-dlp/yt-dlp-nightly-builds)
yt-dlp -vU --ignore-config  1.18s user 1.38s system 5% cpu 45.165 total

took 45s

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs/meta/cleanuprelated to docs, code cleanup, templates, devscripts etcexternal issueIssue with an external tool or site

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions