jave2 icon indicating copy to clipboard operation
jave2 copied to clipboard

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

Open elijah-pl opened this issue 3 years ago • 1 comments

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.

elijah-pl avatar Jun 26 '22 18:06 elijah-pl

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

a-schild avatar Jul 18 '22 21:07 a-schild