个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/MEncoder}} {{Languages|UbuntuHelp:MEncoder}} https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=mplayer.png == What is ME...)
 
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/MEncoder}}
 
{{From|https://help.ubuntu.com/community/MEncoder}}
 
{{Languages|UbuntuHelp:MEncoder}}
 
{{Languages|UbuntuHelp:MEncoder}}
 +
{{Translator|梦在爱琴海}}
 
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? ==
+
== 什么是 MEncoder? ==
'''Mencoder''' is a companion program to the [[UbuntuHelp:MPlayer| [[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/zh| [[UbuntuHelp:MPlayer/zh|MPlayer]] media player]] that can be used to encode or transform any audio or video stream that [[UbuntuHelp:MPlayer/zh|MPlayer]] can read. See the [[UbuntuHelp:RestrictedFormats|RestrictedFormats]] wiki page for instructions for enabling non-free formats in [[UbuntuHelp:MPlayer/zh|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 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 MPlayer can be used as well.
== How To Use [[UbuntuHelp:MEncoder|MEncoder]] ==
+
== 如何使用[[UbuntuHelp:MEncoder/zh|MEncoder]] ==
=== Install ===
+
=== 安装 ===
 
First, ensure that the mencoder package is installed with all appropriate dependencies with
 
First, ensure that the mencoder package is installed with all appropriate dependencies with
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get install mencoder </nowiki></pre>
 
sudo apt-get install mencoder </nowiki></pre>
 
You may also consider finding and install the w32codecs package, if you will be working with proprietary formats, such as wmv.
 
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.
 
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>
 
<pre><nowiki>
 
mencoder <input_movie> -oac mp3lame -ovc lavc -o output_movie.avi </nowiki></pre>
 
mencoder <input_movie> -oac mp3lame -ovc lavc -o output_movie.avi </nowiki></pre>
=== Audio/Video encoders ===
+
=== 音频/视频解码器 ===
 
To see a list of audio encoders supported on your installation, run
 
To see a list of audio encoders supported on your installation, run
 
<pre><nowiki>
 
<pre><nowiki>
第24行: 第25行:
 
mencoder -ovc help </nowiki></pre>
 
mencoder -ovc help </nowiki></pre>
 
<br>
 
<br>
=== See also ===
+
=== 相关链接 ===
* The [[UbuntuHelp:MPlayer| MPlayer wiki page]]
+
* The [[UbuntuHelp:MPlayer/zh| MPlayer wiki page]]
 
* [http://www.mplayerhq.hu/DOCS/HTML/en/encoding-guide.html Guide to Encoding with MEncoder]
 
* [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://videotranscoding.wikispaces.com/?token=23a6250c99d7f8cc9bbbbd70ce80c39f Video Transcoding Wiki]

2008年2月28日 (四) 13:04的版本

IconsPage?action=AttachFile&do=get&target=mplayer.png

什么是 MEncoder?

Mencoder is a companion program to the [[UbuntuHelp:MPlayer/zh| 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

安装

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.

基本用法

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 

音频/视频解码器

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 


相关链接