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

Is there any way to do byte[] to byte[] or InputStream to OutputStream conversion? #213

Open
elijah-pl opened this issue Jun 26, 2022 · 1 comment

Comments

@elijah-pl
Copy link

Need to find a way to format videos on the fly - chunk by chunk.
Seems like ffmpeg supports stdin-stdout conversion without temporary files, but lib Encoder only allows to specify target file.

@a-schild
Copy link
Owner

A InputStream can be passed for the input. Output to StdOut is not implemented, but I would accept a patch for this.
But be aware that some media formats need to read the source multiple times to do an optimazed conversion

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

No branches or pull requests

2 participants