“UbuntuHelp:MEncoder/zh”的版本间的差异
来自Ubuntu中文
小 |
|||
第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]] == | ||
=== 安装 === | === 安装 === | ||
− | + | 首先,保证满足mencoder软件包安装需要的所有依赖关系 | |
− | + | sudo apt-get install mencoder | |
− | sudo apt-get install mencoder | + | 你可以也要考虑寻找并安装w32codecs软件包,如果你要用到专有格式,如wmv。 |
− | + | ||
=== 基本用法 === | === 基本用法 === | ||
− | + | 使用mencoder,你必须指定一个输入文件,一个输出文件,一个音频解码器和一个视频解码器。做为一个基本的模式,你可以用如下的命令将视频文件转换成任何Mplayer可读的类型,如用一个AVI文件使用MP3解码器。 | |
− | + | mencoder <输入的电影文件名> -oac mp3lame -ovc lavc -o output_movie.avi | |
− | mencoder < | + | |
=== 音频/视频解码器 === | === 音频/视频解码器 === | ||
− | + | 查看你安装过的音频解码器列表,运行 | |
− | + | mencoder -oac help | |
− | mencoder -oac help | + | 使用音频解码器,特别如这个例子,加上了参数-oac <音频解码器>。类似地,对于视频解码器,搜索 |
− | + | mencoder -ovc help | |
− | + | ||
− | + | ||
− | mencoder -ovc help | + | |
<br> | <br> | ||
=== 相关链接 === | === 相关链接 === | ||
− | * | + | * [[UbuntuHelp:MPlayer/zh| MPlayer wiki 页]] |
− | * [http://www.mplayerhq.hu/DOCS/HTML/en/encoding-guide.html | + | * [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 | + | * [http://gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide MEncoder 的Gentoo Wiki帮助页] |
<br> | <br> | ||
---- | ---- |
2008年2月28日 (四) 14:35的版本
点击翻译: |
English • 中文 |
什么是 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是MPlayer 媒体播放器]]的一个协同程序用于对所有音频或视频流的解码和转换以便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
相关链接