eugeneware / eugeneware/ffmpeg-static

ffmpeg file without the exe extension on window

Open
#131 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
1.4k
Forks
204
PR merge metrics
No merged PRs in 30d

Description

### ffmpeg-static version

5.2.0

### Node.js version

v16.14.2

### operating system and/or environment

Window

### What happened?

Hello, I'm using ffmpeg-static when building Electron with a Windows target. However, the downloaded ffmpeg build doesn't have the .exe extension, while the path provided by ffmpeg-static includes the .exe extension. This causes my application to be unable to execute ffmpeg.

```javascript
import ffmpegStaticPath from 'ffmpeg-static';
console.log(ffmpegStaticPath); // This line prints something like: node_modules/ffmpeg-static/ffmpeg.exe. However, in reality, the ffmpeg file is located at node_modules/ffmpeg-static/ffmpeg (without the exe extension).
```

Can you help me?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.