特殊:Badtitle/NS100:MEncoder:修订间差异
无编辑摘要 |
小无编辑摘要 |
||
第3行: | 第3行: | ||
<<Include(Tag/NeedsExpansion)>> | <<Include(Tag/NeedsExpansion)>> | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=mplayer.png | https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=mplayer.png | ||
== What is MEncoder? | == What is MEncoder? == | ||
'''Mencoder''' is a companion program to the [[UbuntuHelp:MPlayer| MPlayer media player]] that can be used to encode or transform any audio or video stream that [[UbuntuHelp:MPlayer|MPlayer]] can read. See the [[UbuntuHelp:RestrictedFormats|RestrictedFormats]] wiki page for instructions for enabling non-free formats in [[UbuntuHelp:MPlayer|MPlayer]] and gmplayer. For more information visit the [http://www.mplayerhq.hu/homepage/design7/news.html MPlayer] web site. | |||
'''Mencoder''' is a companion program to the [[UbuntuHelp:MPlayer|MPlayer media player]] that can be used to encode or transform any audio or video stream that [[UbuntuHelp:MPlayer|MPlayer]] can read. See the [[UbuntuHelp:RestrictedFormats|RestrictedFormats]] wiki page for instructions for enabling non-free formats in [[UbuntuHelp:MPlayer|MPlayer]] and gmplayer. For more information visit the [http://www.mplayerhq.hu/homepage/design7/news.html MPlayer] web site. Filters include cropping, scaling, vertical flipping, horizontal mirroring, expanding to create letterboxes, rotating, brightness/contrast, changing the aspect ratio of the video's pixels, colorspace conversion, hue/saturation, color-specific gamma correction, filters for reducing the visibiltiy of compression artifacts caused by MPEG compression (deblocking, deringing), automatic brightness/contrast enhancement (autolevel), sharpness/blur, denoising filters, and several different ways of deinterlacing. Certain filters capable of reversing telecine that do not work well with [[UbuntuHelp:MPlayer|MPlayer]] can be used as well. | Filters include cropping, scaling, vertical flipping, horizontal mirroring, expanding to create letterboxes, rotating, brightness/contrast, changing the aspect ratio of the video's pixels, colorspace conversion, hue/saturation, color-specific gamma correction, filters for reducing the visibiltiy of compression artifacts caused by MPEG compression (deblocking, deringing), automatic brightness/contrast enhancement (autolevel), sharpness/blur, denoising filters, and several different ways of deinterlacing. Certain filters capable of reversing telecine that do not work well with [[UbuntuHelp:MPlayer|MPlayer]] can be used as well. | ||
== How To Use MEncoder == | |||
=== Install === | |||
First, ensure that the mencoder package is installed with all appropriate dependencies with | |||
== How To Use MEncoder | <pre><nowiki> | ||
sudo apt-get install mencoder </nowiki></pre> | |||
=== Install | You may also consider finding and install the w32codecs package, if you will be working with proprietary formats, such as wmv. | ||
=== Basic Usage === | |||
First, ensure that the mencoder package is installed with all appropriate dependencies with | To use mencoder, you must specify at least an input file, an output file, an audio encoder and a video encoder. As a general framework, you can use the following to convert a video from any type that mplayer can read, to an avi file using mp3 audio encoding. | ||
<pre><nowiki> | |||
mencoder <input_movie> -oac mp3lame -ovc lavc -o output_movie.avi </nowiki></pre> | |||
< | === Audio/Video encoders === | ||
You may also consider finding and install the w32codecs package, if you will be working with proprietary formats, such as wmv. | To see a list of audio encoders supported on your installation, run | ||
<pre><nowiki> | |||
mencoder -oac help </nowiki></pre> | |||
To use an audio encoder, specify it as in the example above with -oac <audio_encoder>. | |||
=== Basic Usage | Similarly for video encoders, search with | ||
<pre><nowiki> | |||
To use mencoder, you must specify at least an input file, an output file, an audio encoder and a video encoder. As a general framework, you can use the following to convert a video from any type that mplayer can read, to an avi file using mp3 audio encoding. | mencoder -ovc help </nowiki></pre> | ||
<pre>mencoder | <<BR>> | ||
=== Audio/Video encoders | === See also === | ||
* The [[UbuntuHelp:MPlayer| MPlayer wiki page]] | |||
To see a list of audio encoders supported on your installation, run | * [http://www.mplayerhq.hu/DOCS/HTML/en/encoding-guide.html Guide to Encoding with MEncoder] | ||
<pre>mencoder -oac help </pre> | * [http://videotranscoding.wikispaces.com/?token=23a6250c99d7f8cc9bbbbd70ce80c39f Video Transcoding Wiki] | ||
To use an audio encoder, specify it as in the example above with -oac | * [http://gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide MEncoder Guide on the Gentoo Wiki] | ||
<pre>mencoder -ovc help </pre> | <<BR>> | ||
=== See also | |||
*The [[UbuntuHelp:MPlayer|MPlayer wiki page]] | |||
*[http://www.mplayerhq.hu/DOCS/HTML/en/encoding-guide.html Guide to Encoding with MEncoder] | |||
*[http://videotranscoding.wikispaces.com/?token=23a6250c99d7f8cc9bbbbd70ce80c39f Video Transcoding Wiki] | |||
*[http://gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide MEncoder Guide on the Gentoo Wiki] | |||
---- | ---- | ||
[[category:CategorySoftware]] | |||
[[ | [[category:UbuntuHelp]] |
2009年11月17日 (二) 19:56的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/MEncoder }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/af | • {{#if: UbuntuHelp:MEncoder|Afrikaans| [[::MEncoder/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/ar | • {{#if: UbuntuHelp:MEncoder|العربية| [[::MEncoder/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/az | • {{#if: UbuntuHelp:MEncoder|azərbaycanca| [[::MEncoder/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/bcc | • {{#if: UbuntuHelp:MEncoder|جهلسری بلوچی| [[::MEncoder/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/bg | • {{#if: UbuntuHelp:MEncoder|български| [[::MEncoder/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/br | • {{#if: UbuntuHelp:MEncoder|brezhoneg| [[::MEncoder/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/ca | • {{#if: UbuntuHelp:MEncoder|català| [[::MEncoder/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/cs | • {{#if: UbuntuHelp:MEncoder|čeština| [[::MEncoder/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/de | • {{#if: UbuntuHelp:MEncoder|Deutsch| [[::MEncoder/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/el | • {{#if: UbuntuHelp:MEncoder|Ελληνικά| [[::MEncoder/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/es | • {{#if: UbuntuHelp:MEncoder|español| [[::MEncoder/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/fa | • {{#if: UbuntuHelp:MEncoder|فارسی| [[::MEncoder/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/fi | • {{#if: UbuntuHelp:MEncoder|suomi| [[::MEncoder/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/fr | • {{#if: UbuntuHelp:MEncoder|français| [[::MEncoder/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/gu | • {{#if: UbuntuHelp:MEncoder|ગુજરાતી| [[::MEncoder/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/he | • {{#if: UbuntuHelp:MEncoder|עברית| [[::MEncoder/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/hu | • {{#if: UbuntuHelp:MEncoder|magyar| [[::MEncoder/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/id | • {{#if: UbuntuHelp:MEncoder|Bahasa Indonesia| [[::MEncoder/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/it | • {{#if: UbuntuHelp:MEncoder|italiano| [[::MEncoder/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/ja | • {{#if: UbuntuHelp:MEncoder|日本語| [[::MEncoder/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/ko | • {{#if: UbuntuHelp:MEncoder|한국어| [[::MEncoder/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/ksh | • {{#if: UbuntuHelp:MEncoder|Ripoarisch| [[::MEncoder/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/mr | • {{#if: UbuntuHelp:MEncoder|मराठी| [[::MEncoder/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/ms | • {{#if: UbuntuHelp:MEncoder|Bahasa Melayu| [[::MEncoder/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/nl | • {{#if: UbuntuHelp:MEncoder|Nederlands| [[::MEncoder/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/no | • {{#if: UbuntuHelp:MEncoder|norsk| [[::MEncoder/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/oc | • {{#if: UbuntuHelp:MEncoder|occitan| [[::MEncoder/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/pl | • {{#if: UbuntuHelp:MEncoder|polski| [[::MEncoder/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/pt | • {{#if: UbuntuHelp:MEncoder|português| [[::MEncoder/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/ro | • {{#if: UbuntuHelp:MEncoder|română| [[::MEncoder/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/ru | • {{#if: UbuntuHelp:MEncoder|русский| [[::MEncoder/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/si | • {{#if: UbuntuHelp:MEncoder|සිංහල| [[::MEncoder/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/sq | • {{#if: UbuntuHelp:MEncoder|shqip| [[::MEncoder/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/sr | • {{#if: UbuntuHelp:MEncoder|српски / srpski| [[::MEncoder/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/sv | • {{#if: UbuntuHelp:MEncoder|svenska| [[::MEncoder/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/th | • {{#if: UbuntuHelp:MEncoder|ไทย| [[::MEncoder/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/tr | • {{#if: UbuntuHelp:MEncoder|Türkçe| [[::MEncoder/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/vi | • {{#if: UbuntuHelp:MEncoder|Tiếng Việt| [[::MEncoder/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/yue | • {{#if: UbuntuHelp:MEncoder|粵語| [[::MEncoder/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/zh | • {{#if: UbuntuHelp:MEncoder|中文| [[::MEncoder/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/zh-hans | • {{#if: UbuntuHelp:MEncoder|中文(简体)| [[::MEncoder/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MEncoder | UbuntuHelp:MEncoder | {{#if: | :}}MEncoder}}/zh-hant | • {{#if: UbuntuHelp:MEncoder|中文(繁體)| [[::MEncoder/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:MEncoder|:MEncoder|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :MEncoder/zh | | {{#ifexist: MEncoder/zh | | {{#ifeq: {{#titleparts:MEncoder|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:MEncoder|1|-1|}} | zh | | }}
<<Include(Tag/NeedsExpansion)>>
What is MEncoder?
Mencoder is a companion program to the MPlayer media player that can be used to encode or transform any audio or video stream that MPlayer can read. See the RestrictedFormats wiki page for instructions for enabling non-free formats in MPlayer and gmplayer. For more information visit the MPlayer web site. Filters include cropping, scaling, vertical flipping, horizontal mirroring, expanding to create letterboxes, rotating, brightness/contrast, changing the aspect ratio of the video's pixels, colorspace conversion, hue/saturation, color-specific gamma correction, filters for reducing the visibiltiy of compression artifacts caused by MPEG compression (deblocking, deringing), automatic brightness/contrast enhancement (autolevel), sharpness/blur, denoising filters, and several different ways of deinterlacing. Certain filters capable of reversing telecine that do not work well with MPlayer can be used as well.
How To Use MEncoder
Install
First, ensure that the mencoder package is installed with all appropriate dependencies with
sudo apt-get install mencoder
You may also consider finding and install the w32codecs package, if you will be working with proprietary formats, such as wmv.
Basic Usage
To use mencoder, you must specify at least an input file, an output file, an audio encoder and a video encoder. As a general framework, you can use the following to convert a video from any type that mplayer can read, to an avi file using mp3 audio encoding.
mencoder <input_movie> -oac mp3lame -ovc lavc -o output_movie.avi
Audio/Video encoders
To see a list of audio encoders supported on your installation, run
mencoder -oac help
To use an audio encoder, specify it as in the example above with -oac <audio_encoder>. Similarly for video encoders, search with
mencoder -ovc help
<
>
See also
- The MPlayer wiki page
- Guide to Encoding with MEncoder
- Video Transcoding Wiki
- MEncoder Guide on the Gentoo Wiki
<
>