jave2
jave2 copied to clipboard
Is there any way to do byte[] to byte[] or InputStream to OutputStream conversion?
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 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