个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
什么是 MEncoder?
 
(未显示同一用户的1个中间版本)
第4行: 第4行:
 
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
 
== 什么是 MEncoder? ==
 
== 什么是 MEncoder? ==
'''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.
+
'''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.
+
 
 +
'''Mencoder'''是[[UbuntuHelp:MPlayer/zh|MPlayer]] 媒体播放器的一个协同程序用于对所有音频或视频流的解码和转换以便[[UbuntuHelp:MPlayer/zh|MPlayer]]读取。[[UbuntuHelp:RestrictedFormats|这里]] 你可以看到关于在 MPlayer中使用非免费格式文件还有gmplayer的说明。更多信息请浏览[http://www.mplayerhq.hu/homepage/design7/news.html MPlayer]网站。滤镜包括剪裁,缩放,垂直翻转;均衡器,拓展到创建字符框,旋转,亮度/对比度,改变视频横纵比; 颜色空间转换,色调/饱和度,色彩特定伽马校正器;有的滤镜是为减少MPEG压缩处理造成的清晰度下降(去块, deringing ) ,自动亮度/对比度增强( autolevel ),锐利/模糊,去噪滤波器,和几个不同的扫描方式。某些滤镜能够校正无法播放的电视和电影使MPlayer能够顺利播放。
 +
 
 
== 如何使用[[UbuntuHelp:MEncoder/zh|MEncoder]] ==
 
== 如何使用[[UbuntuHelp:MEncoder/zh|MEncoder]] ==
 
=== 安装 ===
 
=== 安装 ===
First, ensure that the mencoder package is installed with all appropriate dependencies with
+
首先,保证满足mencoder软件包安装需要的所有依赖关系
<pre><nowiki>
+
  sudo apt-get install mencoder
sudo apt-get install mencoder </nowiki></pre>
+
你可以也要考虑寻找并安装w32codecs软件包,如果你要用到专有格式,如wmv。
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,你必须指定一个输入文件,一个输出文件,一个音频解码器和一个视频解码器。做为一个基本的模式,你可以用如下的命令将视频文件转换成任何Mplayer可读的类型,如用一个AVI文件使用MP3解码器。
<pre><nowiki>
+
  mencoder <输入的电影文件名> -oac mp3lame -ovc lavc -o output_movie.avi  
mencoder <input_movie> -oac mp3lame -ovc lavc -o output_movie.avi </nowiki></pre>
+
 
=== 音频/视频解码器 ===
 
=== 音频/视频解码器 ===
To see a list of audio encoders supported on your installation, run
+
查看你安装过的音频解码器列表,运行
<pre><nowiki>
+
  mencoder -oac help  
mencoder -oac help </nowiki></pre>
+
使用音频解码器,特别如这个例子,加上了参数-oac <音频解码器>。类似地,对于视频解码器,搜索
To use an audio encoder, specify it as in the example above with -oac <audio_encoder>.
+
  mencoder -ovc help  
Similarly for video encoders, search with
+
<pre><nowiki>
+
mencoder -ovc help </nowiki></pre>
+
 
<br>
 
<br>
 
=== 相关链接 ===
 
=== 相关链接 ===
* The [[UbuntuHelp:MPlayer/zh| MPlayer wiki page]]
+
* [[UbuntuHelp:MPlayer/zh| MPlayer wiki ]]
* [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 使用MEncoder编码帮助]
 
* [http://videotranscoding.wikispaces.com/?token=23a6250c99d7f8cc9bbbbd70ce80c39f Video Transcoding Wiki]
 
* [http://videotranscoding.wikispaces.com/?token=23a6250c99d7f8cc9bbbbd70ce80c39f Video Transcoding Wiki]
* [http://gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide MEncoder Guide on the Gentoo Wiki]
+
* [http://gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide MEncoder 的Gentoo Wiki帮助页]
 
<br>
 
<br>
 
----
 
----

2008年2月28日 (四) 14:38的最新版本

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.

MencoderMPlayer 媒体播放器的一个协同程序用于对所有音频或视频流的解码和转换以便MPlayer读取。这里 你可以看到关于在 MPlayer中使用非免费格式文件还有gmplayer的说明。更多信息请浏览MPlayer网站。滤镜包括剪裁,缩放,垂直翻转;均衡器,拓展到创建字符框,旋转,亮度/对比度,改变视频横纵比; 颜色空间转换,色调/饱和度,色彩特定伽马校正器;有的滤镜是为减少MPEG压缩处理造成的清晰度下降(去块, deringing ) ,自动亮度/对比度增强( autolevel ),锐利/模糊,去噪滤波器,和几个不同的扫描方式。某些滤镜能够校正无法播放的电视和电影使MPlayer能够顺利播放。

如何使用MEncoder

安装

首先,保证满足mencoder软件包安装需要的所有依赖关系

 sudo apt-get install mencoder

你可以也要考虑寻找并安装w32codecs软件包,如果你要用到专有格式,如wmv。

基本用法

使用mencoder,你必须指定一个输入文件,一个输出文件,一个音频解码器和一个视频解码器。做为一个基本的模式,你可以用如下的命令将视频文件转换成任何Mplayer可读的类型,如用一个AVI文件使用MP3解码器。

 mencoder <输入的电影文件名> -oac mp3lame -ovc lavc -o output_movie.avi 

音频/视频解码器

查看你安装过的音频解码器列表,运行

 mencoder -oac help 

使用音频解码器,特别如这个例子,加上了参数-oac <音频解码器>。类似地,对于视频解码器,搜索

 mencoder -ovc help 


相关链接