ffmpeg convert mkv to mp4 code example
Example 1: ffmpeg convert mov to mp4
ffmpeg -i my-video.mov -vcodec h264 -acodec mp2 my-video.mp4
Example 2: wmv to mp4 ffmpeg
ffmpeg -i input.wmv -c:v libx264 -crf 23 output.mp4
Example 3: ffmpeg convert mkv to mp4
ffmpeg -i input.mkv -codec copy output.mp4
Example 4: ffmpeg convert mkv to mp4
ffmpeg -i "file.mkv" -codec copy -strict -2 "file.mp4"