Ubuntu – Converting .mov files to .mp4 using FFmpeg

ffmpegvideo conversion

The conversion answers that I have seen on the web suggest using a -c option in the command line using FFmpeg. However using Ubuntu 14.04 the -c option does not exist in FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.

Is there a newer version? If so how can I get it. Using apt-get it says that this is the newest version.

Best Answer

For Ubuntu 16 (and higher?):

ffmpeg -i input.mov -vcodec h264 -acodec mp2 output.mp4

I realize the question referred to Ubuntu 14. But since this is the top Google result I got when searching "mov to mp4 ubuntu", I figure it would be worth adding here.

Source: https://mrcoles.com/convert-mov-mp4-ffmpeg/