Ffmpeg convert any video to MP4 code example
Example 1: ffmpeg video to mp3
ffmpeg -i "file.mkv" -vn -ar 44100 -ac 2 -ab 128k -f mp3 "file.mp3"
Example 2: ffmpeg webm to mp4
ffmpeg -i "01 - file.webm" -crf 23 "file.mp4"
ffmpeg -i "file.mkv" -vn -ar 44100 -ac 2 -ab 128k -f mp3 "file.mp3"
ffmpeg -i "01 - file.webm" -crf 23 "file.mp4"