Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for appendFile method #797

Open
StephDam opened this issue Nov 25, 2024 · 0 comments
Open

Request for appendFile method #797

StephDam opened this issue Nov 25, 2024 · 0 comments

Comments

@StephDam
Copy link

Hi,

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

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant