Hello folks need some suggestion for merging video with audio in flutter. I am able to achieve it using below FFmpeg command however output video quality is bad even though size is almost equal to the original video. Is there any other plugin which lighter and easier to use than FFmpeg. If not how can I make sure FFmpeg don't affect quality of video
flutterFFmpeg
.execute("-y -i $recordingFilePath -i $selectedSoundPath -map 0:v -map 1:a -shortest $mergedFilePath")
You just have to fiddle with various ffmpeg options to find the one that suits your use-case. For me, the following options work.
This retains the source quality.