MEncoder is a free -standing under the GNU General Public License command line program to encode and decode video. Since MEncoder is used with MPlayer, it can convert any video that can be played by MPlayer, to another format by using different codecs.

MEncoder is included in the MPlayer package.


Since MEncoder builds on the code base from MPlayer, he can read all the sources that also supports the MPlayer. You can also use MPlayer therefore to apply filters to video so that the result can be examined before the actual encoding of from the image. If the computer hardware may be too weak for applying the filter in real time, so you can try to disable the audio track for playback using the parameter - nosound.

Also MEncoder is capable to copy the audio and / or video stream, thus quality loss is avoided. For example, it is possible to edit only one of the two tracks, while the other unprocessed is adopted ( also encoded again). An example of this would be to build a DivX file from television material: While the image is compressed in the DivX format, the sound is simply copied, so system resources can be saved. In addition, it is possible to store the audio and / or video streams in a different container format.

The number of available filters for MPlayer and MEncoder is great. Here is a list of the most important filters:

  • Curtail
  • Scaling
  • Color Space Conversion
  • Letterbox extension
  • Rotation
  • Changing the aspect ratio
  • Gamma correction
  • Sharpen
  • Denoising
  • Deinterlacing
  • Reverse Telecine

Frame rate conversion and slow-motion

Another feature of the MEncoder is the frame rate conversion. Using the speed - ofps or parameters, the speed of the material can be changed, inter alia by the frame Step Filter is used which ensures that frames are skipped.

By doubling the frame rate of interlaced video material without doubling the image content, two frames can be created from two fields. This way you can play the video on screens that support only full images without having to lose quality, as is the case with other deinterlacing methods.