mp4 to mkv ffmpeg code example
Example 1: ffmpeg mkv to mp4
ffmpeg -i "file.mkv" -codec copy -strict -2 "file.mp4"
Example 2: ffmpeg convert mkv to mp4
ffmpeg -i input.mkv -codec copy output.mp4
ffmpeg -i "file.mkv" -codec copy -strict -2 "file.mp4"
ffmpeg -i input.mkv -codec copy output.mp4