MainActivity: remove filters lowering quality

Telegram or any subsequent media consumer should lower the quality
itself, here we just do useless damage.
This commit is contained in:
dece 2023-04-04 18:58:30 +02:00
parent c5a9dc7288
commit 733644b535

View file

@ -249,7 +249,7 @@ class MainActivity : AppCompatActivity() {
"-i $videoPath -i $audioPath"
+ " -filter_complex amix=duration=longest"
+ " -preset ultrafast"
+ " -c:v libx264 -crf 26 -vf scale=$width:trunc(ow/a/2)*2 -pix_fmt yuv420p"
+ " -c:v mpeg4" // -crf 26 -vf scale=$width:trunc(ow/a/2)*2 -pix_fmt yuv420p
+ " $durationOpt -y $outputPath"
)
Log.d(TAG, "Calling FFmpeg with command: $command")