도전2022

MEncoder 본문

소스코드

MEncoder

hotdigi 2012. 7. 12. 12:18

http://en.wikipedia.org/wiki/MEncoder#Frame_rate_conversions_and_slow-motion


MEncoder

From Wikipedia, the free encyclopedia
MEncoder
Operating systemCross-platform
TypeAudio/videotranscoder
LicenseGNU General Public License
Websitewww.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.

Contents

  [hide

[edit]Capabilities

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 CroppingScaling, Vertical Flipping, horizontal mirroring, expanding to create letterboxes, rotating, brightness/contrast, changing the aspect ratiocolorspace conversion, hue/saturation, color-specific Gamma correction, filters for reducting 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.

[edit]Frame rate conversions and slow-motion

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.

[edit]See also

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

[edit]References

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

[edit]External links