NickeManarin / ScreenToGif

🎬 ScreenToGif allows you to record a selected area of your screen, edit and save it as a gif or video.

Home Page:http://www.screentogif.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] screentogif 2.38.1 blocks ffmpeg 6.0 update to in chocolatey

superbonaci opened this issue · comments

Describe the bug
I have ffmpeg installed in chocolatey, but can't update it from 5.1.2 to 6.0 due to screentogif:

You have ffmpeg v5.1.2 installed. Version 6.0 is available based on your source(s).
[NuGet] One or more unresolved package dependency constraints detected in the Chocolatey lib folder. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'screentogif 2.38.1 constraint: ffmpeg (>= 4.4.1 && < 6.0.0)', 'screentogif.portable 2.38.1 constraint: ffmpeg (>= 4.4.1 && < 6.0.0)'
Re-attempting package dependency resolution using additional available package information...
[NuGet] One or more unresolved package dependency constraints detected in the Chocolatey lib folder. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'screentogif 2.38.1 constraint: ffmpeg (>= 4.4.1 && < 6.0.0)', 'screentogif.portable 2.38.1 constraint: ffmpeg (>= 4.4.1 && < 6.0.0)'
Progress: Downloading ffmpeg 6.0... 100%

ffmpeg v6.0.0 [Approved]
ffmpeg package files upgrade completed. Performing other installation steps.
Extracting 64-bit C:\ProgramData\chocolatey\lib\ffmpeg\tools\ffmpeg-release-essentials.7z to C:\ProgramData\chocolatey\lib\ffmpeg\tools...
C:\ProgramData\chocolatey\lib\ffmpeg\tools
Removing extracted archive.
Sleeping for 2 seconds to allow anti-viruses to finish scanning...
Renaming ffmpeg directory to common name (Try 1 / 3)
Successfully renamed directory.
 ShimGen has successfully created a shim for ffmpeg.exe
 ShimGen has successfully created a shim for ffplay.exe
 ShimGen has successfully created a shim for ffprobe.exe
 The upgrade of ffmpeg was successful.

It looks like tried to install ffmpeg 6.0 but doesn't actually do it.

Yes, ScreenToGif doesn't support v6 of FFmpeg yet.
I'm updating the app now to add support for it.

Why ffmpeg 6.0.0 and not 6.x?

Constrain removed from the package.

Thanks!