-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Description
Please confirm these before moving forward
- I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue
Installation issue.
Brief description of your issue
There appear to be several other open issues around yt-dlp and its ffmpeg dependency. This may be related, but this seemed unique enough to warrant its own issue.
Installing package yt-dlp.yt-dlp
installs package yt-dlp.ffmpeg
but ffmpeg's directory is not added to the path, so yt-dlp is in effect blind to its existence. If ffmpeg isn't installed into the path variable, it would seem to me that package completion is incomplete.
Steps to reproduce
winget uninstall yt-dlp.yt-dlp
winget install yt-dlp.yt-dlp
Actual behavior
ffmpeg isn't added or found in PATH envvar. yt-dlp complains/warns about no ffmpeg available. Note the last line in the below output but I think based on the exact command/video the ffmpeg complaint can change.
> yt-dlp https://www.youtube.com/watch?v=dQw4w9WgXcQ
[youtube] Extracting URL: https://www.youtube.com/watch?v=dQw4w9WgXcQ
[youtube] dQw4w9WgXcQ: Downloading webpage
[youtube] dQw4w9WgXcQ: Downloading tv client config
[youtube] dQw4w9WgXcQ: Downloading tv player API JSON
[youtube] dQw4w9WgXcQ: Downloading web safari player API JSON
WARNING: [youtube] dQw4w9WgXcQ: Some tv client https formats have been skipped as they are missing a url. YouTube may have enabled the SABR-only or Server-Side Ad Placement experiment for the current session. See https://github.com/yt-dlp/yt-dlp/issues/12482 for more details
WARNING: [youtube] dQw4w9WgXcQ: Some web_safari client https formats have been skipped as they are missing a url. YouTube is forcing SABR streaming for this client. See https://github.com/yt-dlp/yt-dlp/issues/12482 for more details
WARNING: [youtube] dQw4w9WgXcQ: Some web client https formats have been skipped as they are missing a url. YouTube is forcing SABR streaming for this client. See https://github.com/yt-dlp/yt-dlp/issues/12482 for more details
[youtube] dQw4w9WgXcQ: Downloading m3u8 information
[info] dQw4w9WgXcQ: Downloading 1 format(s): 96
[download] Sleeping 5.00 seconds as required by the site...
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 39
[download] Destination: Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster) [dQw4w9WgXcQ].mp4
[download] 100% of 83.68MiB in 00:00:07 at 11.08MiB/s
WARNING: dQw4w9WgXcQ: Possible MPEG-TS in MP4 container or malformed AAC timestamps. Install ffmpeg to fix this automatically
Expected behavior
ffmpeg should be added to the PATH envvar and functional. yt-dlp should be able to use ffmpeg without warnings and eliminate package limitations.
Environment
PS C:\> winget --info
Windows Package Manager v1.11.510
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26100.6584
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.26.510.0
Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled
PS C:\>
Screenshots and Logs
PS C:\> winget list yt-dlp.yt-dlp
Name Id Version Source
---------------------------------------
yt-dlp yt-dlp.yt-dlp 2025.09.26 winget
PS C:\> winget uninstall yt-dlp.yt-dlp
Found yt-dlp [yt-dlp.yt-dlp]
Starting package uninstall...
Successfully uninstalled
PS C:\> winget install yt-dlp.yt-dlp
Found yt-dlp [yt-dlp.yt-dlp] Version 2025.09.26
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
- Packages
yt-dlp.FFmpeg
(1/1) Found FFmpeg for yt-dlp [yt-dlp.FFmpeg] Version N-121271-g74115b017c-20250930
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "ffmpeg"
Command line alias added: "ffplay"
Command line alias added: "ffprobe"
Successfully installed
Downloading https://github.com/yt-dlp/yt-dlp/releases/download/2025.09.26/yt-dlp.exe
██████████████████████████████ 17.4 MB / 17.4 MB
Successfully verified installer hash
Starting package install...
Command line alias added: "yt-dlp"
Successfully installed
PS C:\>
PS C:\> ffmpeg
ffmpeg : The term 'ffmpeg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ ffmpeg
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (ffmpeg:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\> $env:path.split(';')
C:\Program Files\Zulu\zulu-7-jre\bin\
C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin
C:\Windows\System32
C:\Windows
C:\Windows\System32\wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Program Files\dotnet\
C:\Program Files\WinGet\Links
C:\Program Files\PuTTY\
C:\Program Files\GnuPG\bin
C:\Program Files (x86)\Gpg4win\..\GnuPG\bin
C:\Program Files\Microsoft VS Code\bin
C:\Program Files\Git\cmd
C:\Users\REDACTED\AppData\Local\Programs\Python\Launcher\
C:\Users\REDACTED\AppData\Local\Microsoft\WindowsApps
C:\Users\REDACTED\AppData\Local\Microsoft\WinGet\Links
C:\Users\REDACTED\AppData\Local\Microsoft\WinGet\Packages\Google.PlatformTools_Microsoft.Winget.Source_8wekyb3d8bbwe\platform-tools
PS C:\> powershell
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\> $env:path.split(';')
C:\Program Files\Zulu\zulu-7-jre\bin\
C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin
C:\Windows\System32
C:\Windows
C:\Windows\System32\wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Program Files\dotnet\
C:\Program Files\WinGet\Links
C:\Program Files\PuTTY\
C:\Program Files\GnuPG\bin
C:\Program Files (x86)\Gpg4win\..\GnuPG\bin
C:\Program Files\Microsoft VS Code\bin
C:\Program Files\Git\cmd
C:\Users\REDACTED\AppData\Local\Programs\Python\Launcher\
C:\Users\REDACTED\AppData\Local\Microsoft\WindowsApps
C:\Users\REDACTED\AppData\Local\Microsoft\WinGet\Links
C:\Users\REDACTED\AppData\Local\Microsoft\WinGet\Packages\Google.PlatformTools_Microsoft.Winget.Source_8wekyb3d8bbwe\platform-tools
PS C:\> ffmpeg
ffmpeg : The term 'ffmpeg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ ffmpeg
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (ffmpeg:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\>
Not that for some reason I can't get powershell to locate the ffmpeg file with gci -Recurse ffmpeg.exe -ErrorAction SilentlyContinue
even though I know for a fact it's in C:\Users\REDACTED\AppData\Local\Microsoft\WinGet\Packages\yt-dlp.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-N-121271-g74115b017c-win64-gpl\bin
(thanks to Everything search).
That alone may be a clue as to what's going on.