Compression quality: can we add more detailed settings? #50
Description
Hello,
We are testing the plugin and like it very much.
However, to get better results for our use case, we would need to set compression options.
For example, let's us consider an input File with size: 13.66MB
-
On iOS, FFMPEG is fast:
result is 3.96MB in 2.5 sec, which is our reference
With veryfast preset and below settings for -g and -r
String command = "-i $_filePath -c:v libx264 -crf 23 -preset veryfast -g 12 -r 25 $outputPath"; -
On Android (mid-end phone) , it performs poorly, mostly due to Dart:
5.81MB in 6.39 sec
-
On Android with LightCompressor, we get better results than FFMPEG:
medium quality: 4.76MB
compression time: 4.3 sec
high quality:: 6.10MB
compression time: 4.5 sec
For this specific case, we would like to get about 3,5-4MB in 2.5-3sec
and we think this would be possible if we had a way to set compression options.
Can you please add this feature?