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

Streaming #68

Open
redblade opened this issue Oct 24, 2018 · 4 comments
Open

Streaming #68

redblade opened this issue Oct 24, 2018 · 4 comments
Labels

Comments

@redblade
Copy link

would it be possible to get input from a remote source and push output to a remote destination? The use case would be with nodejs publishing services (e.g. through express), not a webapp shown in a browser

Thanks and BR

@0xtmphey
Copy link

0xtmphey commented Oct 25, 2018

Hi there!
Also interest in similar case. I want to use remote source (say a file in Amazon S3) as stdin, pass it through ffmpeg.js and play in player on a page or save to file system.
Is it possible?
(all done in browser)

Thanks!

@CodeFetch
Copy link

If you want to get an input from a remote source just feed ffmpeg.js with a Blob that you've retrieved using XHR. If you want to push it to a remote server in one request you need to be able to create a big blob which depends on #54 as your browser crashes randomly due to the very limited amount of blob elements (sometimes crashes with files < 70MB using ffmpeg.js). If you don't need to push it to a remote server in one request, you can write a server application that does the handling of the file chunks and create a new Emscripten FS using the synchronous XHR API to handle the chunks. With that the input/output file size should be unlimited and you could even create/consume streams.

@Kagami
Copy link
Owner

Kagami commented Apr 17, 2020

Thanks @CodeFetch, I think that's correct.
See also #11 (comment)

@Kagami Kagami changed the title would it be possible to get input from a remote source and push output to a remote destination? Streaming Apr 17, 2020
@Kagami Kagami pinned this issue Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants
@Kagami @0xtmphey @redblade @CodeFetch and others