个人工具

“UbuntuHelp:MEncoder”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
第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?&nbsp; 什么是MEncoder?<br> ==
+
== 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 ==
Mencoder 是一个<u>MPlayer media player</u>的插件。能够用来将任何视频或者音频转化成Mplayer能够识别的码流。<br>
+
=== Install ===
 
+
First, ensure that the mencoder package is installed with all appropriate dependencies with
== How To Use MEncoder 怎么使用MEncoder<br> ==
+
<pre><nowiki>
 
+
sudo apt-get install mencoder </nowiki></pre>
=== Install&nbsp;&nbsp; 安装<br> ===
+
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 包和其依赖的包都被安装好。可以用下面的命令来安装。<br>
+
mencoder <input_movie> -oac mp3lame -ovc lavc -o output_movie.avi </nowiki></pre>
<pre>sudo apt-get install mencoder </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. <br>
+
To see a list of audio encoders supported on your installation, run
 
+
<pre><nowiki>
如果你有一些专有格式(例如:wmv格式)的文件要运行,你也可以考虑安装 w32codecs 包。<br>
+
mencoder -oac help </nowiki></pre>
 
+
To use an audio encoder, specify it as in the example above with -oac <audio_encoder>.
=== Basic Usage 基本用法<br> ===
+
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 &lt;input_movie&gt; -oac mp3lame -ovc lavc -o output_movie.avi </pre>  
+
<<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 &lt;audio_encoder&gt;. Similarly for video encoders, search with  
+
* [http://gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide MEncoder Guide on the Gentoo Wiki]
<pre>mencoder -ovc help </pre>  
+
<<BR>>
&lt;<br>&gt;
+
 
+
=== 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]
+
 
+
&lt;<br>&gt;
+
 
+
 
----
 
----
 +
[[category:CategorySoftware]]
  
[[Category:CategorySoftware]] [[Category:UbuntuHelp]]
+
[[category:UbuntuHelp]]

2009年11月17日 (二) 19:56的最新版本


<<Include(Tag/NeedsExpansion)>> IconsPage?action=AttachFile&do=get&target=mplayer.png

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

<
>