ffmpeg 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"
Example 3: ffmpeg mkv to mp4
ffmpeg -i "file.mkv" -codec copy -strict -2 "file.mp4"
Example 4: ffmpeg convert mkv to mp4
ffmpeg -i input.mkv -codec copy output.mp4