jave2
jave2 copied to clipboard
Create multiple target outputs
Does jave2 support to generate multiple target files of the sample input? For example, command like this:
ffmpeg -i input \
-s 1280x720 -acodec … -vcodec … output1 \
-s 640x480 -acodec … -vcodec … output2 \
-s 320x240 -acodec … -vcodec … output3
Ref: https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs I read docs and examples but not find how to do that.
This is not supported at the moment. I would accept a pull request to add this functionality.
But I wonder if it performance wise better to do it this way, or perhaps it's better to just start one instance per target format/file. Do you have some performance comparisions between using the single call, versus 3 concurrent calls?
I know, performance would be considered. Currently, it works fine without multiple target outputs. I see this guy having the same concern with me. Hope it helps. https://itectec.com/superuser/ffmpeg-multiple-outputs-performance-single-instance-vs-multiple-instances/
I don't see an advantage when using multiple targets in the same call/process as mentioned in the link you provided. So I don't see an advantage to implement it on jave...
Of course if you provide your own benchmarks, perhaps....