[GH-ISSUE #1363] [Bug] ARM64 installer still downloads x64 ffmpeg binary #1004

Open
opened 2026-02-26 09:33:15 +03:00 by kerem · 0 comments
Owner

Originally created by @saschanaz on GitHub (Dec 12, 2024).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1363

Originally assigned to: @NickeManarin on GitHub.

Describe the bug
github.com/NickeManarin/ScreenToGif@22a10b445c/ScreenToGif/Windows/Other/Downloader.xaml.cs (L38-L39)

To Reproduce
Steps to reproduce the behavior:

  1. On Surface Pro 11 (with Snapdragon X1E80100)
  2. Download ScreenToGif.2.41.1.Setup.Arm64.msi from https://github.com/NickeManarin/ScreenToGif/releases/tag/2.41.1
  3. Check ffmpeg download and proceed
  4. Check the binary, either via:
    1. Task Manager
      1. Open Task Manager
      2. Open Details tab
      3. Make sure the "Architecture" column is visible (If not, right-click any column header and use "Select columns" context menu to check it)
      4. Save file with any ffmpeg encoding option (I used webm/rav1e)
      5. Find ffmpeg.exe in the list and check the architecture
    2. Visual Studio's dumpbin
      1. Open Visual Studio Developer Command Prompt
      2. Run dumpbin "C:\ProgramData\ScreenToGif\ffmpeg.exe" /headers
      3. Check whether FILE HEADER VALUES says ARM64 or x64

Expected behavior
ARM64 binary should be downloaded

Output

dumpbin "C:\ProgramData\ScreenToGif\ffmpeg.exe" /headers
Microsoft (R) COFF/PE Dumper Version 14.41.34123.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file C:\ProgramData\ScreenToGif\ffmpeg.exe

PE signature found

File Type: EXECUTABLE IMAGE

FILE HEADER VALUES
            8664 machine (x64)
               D number of sections
               0 time date stamp
               0 file pointer to symbol table
               0 number of symbols
              F0 size of optional header
             22E characteristics
                   Executable
                   Line numbers stripped
                   Symbols stripped
                   Application can handle large (>2GB) addresses
                   Debug information stripped

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 2.41.1

Additional context
How is screentogif getting ffmpeg binary though? The code gets it from https://www.screentogif.com/downloads/, is it built from source or is it mirroring from some other distributions? If latter, then this is not immediately solvable as there's no arm64 binary distributions yet.

Related:

Originally created by @saschanaz on GitHub (Dec 12, 2024). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1363 Originally assigned to: @NickeManarin on GitHub. **Describe the bug** https://github.com/NickeManarin/ScreenToGif/blob/22a10b445c1aea1c5ca011a542a3454e42b9123c/ScreenToGif/Windows/Other/Downloader.xaml.cs#L38-L39 **To Reproduce** Steps to reproduce the behavior: 1. On Surface Pro 11 (with Snapdragon X1E80100) 2. Download ScreenToGif.2.41.1.Setup.Arm64.msi from https://github.com/NickeManarin/ScreenToGif/releases/tag/2.41.1 3. Check ffmpeg download and proceed 4. Check the binary, either via: 1. Task Manager 1. Open Task Manager 2. Open Details tab 3. Make sure the "Architecture" column is visible (If not, right-click any column header and use "Select columns" context menu to check it) 4. Save file with any ffmpeg encoding option (I used webm/rav1e) 5. Find ffmpeg.exe in the list and check the architecture 1. Visual Studio's `dumpbin` 1. Open Visual Studio Developer Command Prompt 2. Run `dumpbin "C:\ProgramData\ScreenToGif\ffmpeg.exe" /headers` 3. Check whether FILE HEADER VALUES says ARM64 or x64 **Expected behavior** ARM64 binary should be downloaded **Output** ``` dumpbin "C:\ProgramData\ScreenToGif\ffmpeg.exe" /headers Microsoft (R) COFF/PE Dumper Version 14.41.34123.0 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file C:\ProgramData\ScreenToGif\ffmpeg.exe PE signature found File Type: EXECUTABLE IMAGE FILE HEADER VALUES 8664 machine (x64) D number of sections 0 time date stamp 0 file pointer to symbol table 0 number of symbols F0 size of optional header 22E characteristics Executable Line numbers stripped Symbols stripped Application can handle large (>2GB) addresses Debug information stripped ``` **Desktop (please complete the following information):** - OS: Windows 11 - Version 2.41.1 **Additional context** How is screentogif getting ffmpeg binary though? The code gets it from https://www.screentogif.com/downloads/, is it built from source or is it mirroring from some other distributions? If latter, then this is not immediately solvable as there's no arm64 binary distributions yet. Related: * https://github.com/BtbN/FFmpeg-Builds/issues/375 * https://github.com/GyanD/codexffmpeg/issues/135
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#1004
No description provided.