ffmpeg -i file.avi file.mp4
April 11, 2012 — bashoneliners
FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library.
It is not a standard package in most systems and distros.