MEncoder

From Wikipedia, the free encyclopedia
Jump to: navigation, search
MEncoder
Operating system Cross-platform
Type Audio/video transcoder
License GNU General Public License
Website www.mplayerhq.hu

MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a sibling of MPlayer, and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs.[1]

MEncoder is included in the MPlayer distribution.

Capabilities[edit]

As it is built from the same code as MPlayer, it can read from every source which MPlayer can read, decode all media which MPlayer can decode and it supports all filters which MPlayer can use. MPlayer can also be used to view the output of most of the filters (or of a whole pipeline of filters) before running MEncoder. If the system is not able to process this in realtime, audio can be disabled using -nosound to allow a smooth review of the video filtering results.

It is possible to copy audio and/or video unmodified into the output file to avoid quality loss because of re-encoding. For example, to modify only the audio or only the video, or to put the audio/video data unmodified into a different container format.

Since it uses the same code as MPlayer, it features the same huge number of highly-configurable video and audio filters to transform the video and audio stream. Filters include cropping, scaling, vertical flipping, horizontal mirroring, expanding to create letterboxes, rotating, brightness/contrast, changing the aspect ratio, colorspace conversion, hue/saturation, color-specific gamma correction, filters for reducing the visibility of compression artifacts caused by MPEG compression (deblocking, deringing), automatic brightness/contrast enhancement (autolevel), sharpness/blur, denoising filters, several ways of deinterlacing, and reversing telecine.

Frame rate conversions and slow-motion[edit]

Changing the frame rate is possible using the -ofps or -speed options and by using the framestep filter for skipping frames. Reducing the frame rate can be used to create fast-motion "speed" effects which are sometimes seen in films.

Doubling the frame rate of interlaced footage without duplicating or morphing frames is possible using the tfields filter to create two different frames from each of the two fields in one frame of interlaced video. This allows playback on progressive displays, while preserving the full resolution and framerate of interlaced video, unlike other deinterlacing methods. It also makes the video stream usable for framerate conversion, and creating slow-motion scenes from streams taken at standard video/TV frame rates, e.g. using cheap consumer camcorders. If the filter gets incorrect information about the top/bottom field order, the resulting output will have juddering motion, because the two frames created would be displayed in the wrong order.

See also[edit]

  • FFmpeg, similar to MEncoder
  • HandBrake, a multithreaded cross-platform media transcoding application
  • MediaCoder, a media transcoding application for Windows OSs, uses MEncoder as one of its backends
  • MPlayer, the media player built from the same source code as MEncoder
  • MPlayer Wikibook- almost all decoding-related and filtering arguments are shared with mencoder
  • RetroCode, a universal mobile content encoder/decoder
  • Transcode, a command-line transcoding application for Unix-like OSs

References[edit]

  1. ^ MPlayer and MEncoder Status of codecs support, Retrieved on 2009-07-19

External links[edit]