command line to convert mov to mp4 ffmpeg code example Example: ffmpeg convert mov to mp4 ffmpeg -i my-video.mov -vcodec h264 -acodec mp2 my-video.mp4