ffmpeg command to 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: ffmpeg mkv to mp4
ffmpeg -i "file.mkv" -codec copy -strict -2 "file.mp4"
ffmpeg -i my-video.mov -vcodec h264 -acodec mp2 my-video.mp4
ffmpeg -i "file.mkv" -codec copy -strict -2 "file.mp4"