microsoft / microsoft/winget-cli

yt-dlp.ffmpeg not create link

Open
#5,682 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Install Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Relevant area(s)

WinGet CLI

Relevant command(s)

winget install

Brief description of your issue

After install yt-dlp.ffmpeg no link in %LOCALAPPDATA%\Microsoft\WinGet\Links so I can't run ffmpeg from terminal.
Gyan.FFmpeg create link and work fine.
When I upgrade yt-dlp.yt-dlp winget installed yt-dlp.ffmpeg and links to Gyan.FFmpeg removed from %LOCALAPPDATA%\Microsoft\WinGet\Links

Steps to reproduce

winget install -e --id yt-dlp.FFmpeg

ffmpeg

Expected behavior
ffmpeg version N-120424-g03b9180fe3-20250731 Copyright (c) 2000-2025 the FFmpeg developers
  built with gcc 15.1.0 (crosstool-NG 1.27.0.42_35c1e72)
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libfribidi --enable-gmp --enable-libxml2 --enable-lzma --enable-fontconfig --enable-libharfbuzz --enable-libfreetype --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-libzmq --enable-lv2 --enable-libvpl --enable-openal --enable-liboapv --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libvvenc --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp --extra-ldflags=-pthread --extra-ldexeflags= --cc=x86_64-w64-mingw32-gcc --cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar --ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm --extra-version=20250731
  libavutil      60.  7.100 / 60.  7.100
  libavcodec     62.  8.100 / 62.  8.100
  libavformat    62.  1.103 / 62.  1.103
  libavdevice    62.  0.100 / 62.  0.100
  libavfilter    11.  3.100 / 11.  3.100
  libswscale      9.  0.100 /  9.  0.100
  libswresample   6.  0.100 /  6.  0.100
Universal media converter
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'
Actual behavior
ffmpeg: The term 'ffmpeg' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Environment
Диспетчер пакетов Windows версии 1.11.430
(с) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

Windows: Windows.Desktop v10.0.19044.6218
Архитектура системы: X64
Пакет: Microsoft.DesktopAppInstaller v1.26.430.0

Каталоги WinGet
-----------------------------------------------------------------------------------------------------------------------
Журналы                                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalSta…
Параметры пользователя                    %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalSta…
Каталог переносимых ссылок (пользователь) %LOCALAPPDATA%\Microsoft\WinGet\Links
Каталог переносимых ссылок (компьютер)    C:\Program Files\WinGet\Links
Корень переносимого пакета (пользователь) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Корень переносимого пакета                C:\Program Files\WinGet\Packages
Корень переносимого пакета (x86)          C:\Program Files (x86)\WinGet\Packages
Скачивания установщика                    %USERPROFILE%\Downloads
Модули конфигурации                       %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

Ссылки
--------------------------------------------------------------------------------------
Заявление о конфиденциальности https://aka.ms/winget-privacy
Лицензионное соглашение        https://aka.ms/winget-license
Уведомления третьих сторон     https://aka.ms/winget-3rdPartyNotice
Домашняя страница              https://aka.ms/winget
Условия Windows Store          https://www.microsoft.com/en-us/storedocs/terms-of-sale

Параметр администратора                   Состояние
---------------------------------------------------
LocalManifestFiles                        Отключено
BypassCertificatePinningForMicrosoftStore Отключено
InstallerHashOverride                     Отключено
LocalArchiveMalwareScanOverride           Отключено
ProxyCommandLineOptions                   Отключено
DefaultProxy                              Отключено

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing winget install -e --id yt-dlp.FFmpeg and checking %LOCALAPPDATA%\Microsoft\WinGet\Links before and after upgrading yt-dlp.yt-dlp. Trace the WinGet portable-link handling for this package and verify that ffmpeg is available from a terminal without removing existing links after an upgrade.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.