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
Possible to pipe image stream? #45
Comments
What I am doing right now is:
Please see this code in this issues to help you: |
Thanks for your response. I took a look at the code and here's my attempt at simply generating a video from an array of jpgs (ultimate goal being streaming the jpgs).
I get an empty result as well as the following output. Am I doing something wrong? The jpg data should be correct as writing them to files seems to work as intended. Any help is appreciated!
|
Yes, that looks wrong to me. MEMFS can't parse Blobs, but only ArrayBuffers.
|
@CodeFetch is right, thanks. |
I'm trying to do something like the following:
cat *.jpg | ffmpeg -f image2pipe -i - video.mp4
Is there some way to do something similar with ffmpeg.js?
I was looking into recording with canvas.captureStream, however, I want to ensure all frames get recorded (no skipping) and ideally as fast as I can generate the frames.
The text was updated successfully, but these errors were encountered: