22. July 2019

How to convert AVI to MP4 by MEncoder

Here is a simple command which allows conversion of AVI format to MP4 format by MEncoder.

mencoder input.avi -o output.mp4 -oac copy -ovc lavc -lavcopts vcodec=mpeg1video -of mpeg

The conversion is useful e.g. for Smart TV like Samsung which are often not able to play AVI.