ffmpegwasm / ffmpegwasm/ffmpeg.wasm

fetchFile not work and error is "Error: File could not be read! Code=0"

Open
#185 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
There have a error when I use it to parse more than 2GB video files, and files under 2GB in size work is ok!

**Additional context**
I see that reporting errors is in this line:
```
await ffmpeg.FS('writeFile', '1.mp4', await fetchFile(fileParam));
```
The error is "Error: File could not be read! Code=0"
Maybe is a problem is the 'fetchFile' module.
Please give me a feasible solution, thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.