ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Request for appendFile method

Open
#797 4 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

Hi,

I try to optimize the time to load big files. For the moment, I follow a 2 step approach :+1:

- First I read the input file in a memory buffer (UINT8Array)
- Then I write the contents of the buffer to FFMPEG fs using ffmpeg.FS.writeFile method.

However I think it would be faster reading the source file into chunks with File Stream Reader and then writes directly these chunks in append mode to the FS object.

Unfortunately ffmpeg.FS does not expose the appendFile method, or even better it would be great to have a File Stream Writer.

Thanks,
Stéphane

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.