特殊:Badtitle/NS100:MEncoder:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第9行: | 第9行: | ||
Mencoder 是一个<u>MPlayer media player</u>的插件。能够用来将任何视频或者音频转化成Mplayer能够识别的码流。<br> | Mencoder 是一个<u>MPlayer media player</u>的插件。能够用来将任何视频或者音频转化成Mplayer能够识别的码流。<br> | ||
== How To Use MEncoder == | == How To Use MEncoder 怎么使用MEncoder<br> == | ||
=== Install === | |||
First, ensure that the mencoder package is installed with all appropriate dependencies with | === Install 安装<br> === | ||
< | |||
sudo apt-get install mencoder | First, ensure that the mencoder package is installed with all appropriate dependencies with | ||
You may also consider finding and install the w32codecs package, if you will be working with proprietary formats, such as wmv. | |||
=== Basic Usage === | 第一步,确保mencoder 包和其依赖的包都被安装好。可以用下面的命令来安装。<br> | ||
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>sudo apt-get install mencoder </pre> | ||
<pre> | You may also consider finding and install the w32codecs package, if you will be working with proprietary formats, such as wmv. <br> | ||
mencoder | |||
=== Audio/Video encoders === | 如果你有一些专有格式(例如:wmv格式)的文件要运行,你也可以考虑安装 w32codecs 包。<br> | ||
To see a list of audio encoders supported on your installation, run | |||
<pre> | === Basic Usage 基本用法<br> === | ||
mencoder -oac help | |||
To use an audio encoder, specify it as in the example above with -oac | 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. | ||
Similarly for video encoders, search with | <pre>mencoder <input_movie> -oac mp3lame -ovc lavc -o output_movie.avi </pre> | ||
<pre> | === Audio/Video encoders === | ||
mencoder -ovc help | |||
< | To see a list of audio encoders supported on your installation, run | ||
=== See also === | <pre>mencoder -oac help </pre> | ||
* The [[UbuntuHelp:MPlayer| MPlayer wiki page]] | To use an audio encoder, specify it as in the example above with -oac <audio_encoder>. Similarly for video encoders, search with | ||
* [http://www.mplayerhq.hu/DOCS/HTML/en/encoding-guide.html Guide to Encoding with MEncoder] | <pre>mencoder -ovc help </pre> | ||
* [http://videotranscoding.wikispaces.com/?token=23a6250c99d7f8cc9bbbbd70ce80c39f Video Transcoding Wiki] | <<br>> | ||
* [http://gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide MEncoder Guide on the Gentoo Wiki] | |||
< | === See also 也可以参考<br> === | ||
*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] | |||
<<br>> | |||
---- | ---- | ||
[[ | [[Category:CategorySoftware]] [[Category:UbuntuHelp]] |
2009年8月21日 (五) 14:08的版本
文章出处: |
{{#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?
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.
Mencoder 是一个MPlayer media player的插件。能够用来将任何视频或者音频转化成Mplayer能够识别的码流。
How To Use MEncoder 怎么使用MEncoder
Install 安装
First, ensure that the mencoder package is installed with all appropriate dependencies with
第一步,确保mencoder 包和其依赖的包都被安装好。可以用下面的命令来安装。
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.
如果你有一些专有格式(例如:wmv格式)的文件要运行,你也可以考虑安装 w32codecs 包。
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
<
>