Difference between revisions of "Codecs (简体中文)"

From ArchWiki
Jump to: navigation, search
(Remove expansion tag.)
(flagged broken section links (interactive))
(Tag: wiki-scripts)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category:Audio/Video (简体中文)]]
 
[[Category:Audio/Video (简体中文)]]
 
[[cs:Codecs]]
 
[[cs:Codecs]]
 +
[[de:Codecs]]
 
[[el:Codecs]]
 
[[el:Codecs]]
 
[[en:Codecs]]
 
[[en:Codecs]]
Line 6: Line 7:
 
[[fr:Codecs]]
 
[[fr:Codecs]]
 
[[it:Codecs]]
 
[[it:Codecs]]
[[ja:Codecs]]
+
[[ja:コーデック]]
 
[[ru:Codecs]]
 
[[ru:Codecs]]
[[tr:Kod_çözücüler]]
+
[[tr:Kod çözücüler]]
 
{{Translateme (简体中文)}}
 
{{Translateme (简体中文)}}
{{Article summary start|摘要}}
+
{{Related articles start (简体中文)}}
{{Article summary text|关于 Arch Linux 中常用编解码包的概述。}}
+
{{Related|DVD Playing}}
{{Article summary heading|相关页面}}
+
{{Related|GStreamer}}
{{Article summary wiki|DVD Playing}}
+
{{Related2|MPlayer (简体中文)|MPlayer}}
{{Article summary wiki|GStreamer}}
+
{{Related|VLC media player}}
{{Article summary wiki|MPlayer (简体中文)}}
+
{{Related articles end}}
{{Article summary wiki|VLC media player}}
+
{{Article summary end}}
+
 
来自 [[Wikipedia:Codec|wikipedia]]:
 
来自 [[Wikipedia:Codec|wikipedia]]:
  
Line 24: Line 23:
 
通常来说,编解码器被多媒体应用程序用来编码或解码音频视频流。为了播放编码过的流媒体,用户必须确保安装了合适的编解码器。
 
通常来说,编解码器被多媒体应用程序用来编码或解码音频视频流。为了播放编码过的流媒体,用户必须确保安装了合适的编解码器。
  
本文仅仅关心解码器和应用程序后端。参见 [[Common Applications#Multimedia|Common Applications]] 查看媒体播放器列表 ([[MPlayer (简体中文)|MPlayer]] 和 [[VLC media player |VLC]] 是常用的选择。)
+
本文仅仅关心解码器和应用程序后端。参见 [[Common Applications#Multimedia|Common Applications]]{{Broken section link}} 查看媒体播放器列表 ([[MPlayer (简体中文)|MPlayer]] 和 [[VLC media player|VLC]] 是常用的选择。)
  
 
==需求条件==
 
==需求条件==
Line 63: Line 62:
 
Simply, GStreamer is a ''backend'' or ''framework'' utilized by many media players.  
 
Simply, GStreamer is a ''backend'' or ''framework'' utilized by many media players.  
  
GStreamer uses a plugin architecture which makes the most of GStreamer's functionality implemented as shared libraries. Since version 0.10 the plugins come grouped into three sets (named after the film The Good, the Bad and the Ugly).[http://en.wikipedia.org/wiki/GStreamer]
+
GStreamer uses a plugin architecture which makes the most of GStreamer's functionality implemented as shared libraries. Since version 0.10 the plugins come grouped into three sets (named after the film The Good, the Bad and the Ugly).[[wikipedia:GStreamer]]
  
 
* {{Pkg|gstreamer0.10-base-plugins}}
 
* {{Pkg|gstreamer0.10-base-plugins}}

Latest revision as of 12:28, 6 August 2016

Tango-preferences-desktop-locale.png本页面需要更新翻译,内容可能已经与英文脱节。要贡献翻译,请访问简体中文翻译组Tango-preferences-desktop-locale.png

附注: please use the first argument of the template to provide more detailed indications.

来自 wikipedia:

编解码器(codec)指的是一个能够对一个信号或者一个数据流进行变换的设备或者程序。

通常来说,编解码器被多媒体应用程序用来编码或解码音频视频流。为了播放编码过的流媒体,用户必须确保安装了合适的编解码器。

本文仅仅关心解码器和应用程序后端。参见 Common Applications[broken link: invalid section] 查看媒体播放器列表 (MPlayerVLC 是常用的选择。)

需求条件

播放多媒体内容需要两个组件:

  • 一个合适的媒体播放器
  • 合适的解码器

如果你安装了一个媒体播放器,通常不需要特意的安装解码器。如 MPlayer 包含了大量的解码器作为依赖,同时也内嵌了一些解码器。

常用编解码器

  • a52dec: liba52 is a free library for decoding ATSC A/52 streams
  • faac: FAAC is an AAC audio encoder
  • faad2: ISO AAC audio decoder
  • flac: Free Lossless Audio Codec
  • jasper: A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard
  • lame: An MP3 encoder and graphical frame analyzer
  • libdca: Free library for decoding DTS Coherent Acoustics streams
  • libdv: The Quasar DV codec (libdv) is a software codec for DV video
  • libmad: A high-quality MPEG audio decoder
  • libmpeg2: libmpeg2 is a library for decoding MPEG-1 and MPEG-2 video streams
  • libtheora: An open video codec developed by the Xiph.org
  • libvorbis: Vorbis codec library
  • libxv: X11 Video extension library
  • wavpack: Audio compression format with lossless, lossy, and hybrid compression modes
  • x264: Free library for encoding H264/AVC video streams
  • xvidcore: XviD is an open source MPEG-4 video codec

后端

GStreamer

From http://www.gstreamer.net/:

GStreamer is a library for constructing graphs of media-handling components. The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming to complex audio (mixing) and video (non-linear editing) processing.

Simply, GStreamer is a backend or framework utilized by many media players.

GStreamer uses a plugin architecture which makes the most of GStreamer's functionality implemented as shared libraries. Since version 0.10 the plugins come grouped into three sets (named after the film The Good, the Bad and the Ugly).wikipedia:GStreamer

For the most complete solution:

# pacman -S gstreamer0.10-plugins

xine

From http://www.xine-project.org/about:

xine is a free (gpl-licensed) high-performance, portable and reusable multimedia playback engine. xine itself is a shared library with an easy to use, yet powerful API which is used by many applications for smooth video playback and video processing purposes.

As an alternative to GStreamer, many media players can be configured to utilize the xine backend:

# pacman -S xine-lib

Note that the xine project itself provides a capable video player, xine-ui.

libavcodec

libavcodec is part of the FFmpeg project. It includes a large number of video and audio codecs. The libavcodec codecs are included with media players such as MPlayer and VLC, so you may not need to install the ffmpeg package itself.

Tips and tricks

Install MPlayer binary codecs

As an ultimate solution, you can try to install MPlayer binary codecs.

If you are not able to play some files go to http://www.mplayerhq.hu/design7/dload.html, read the instructions and install the codec you need to play your files.

They can also be found in AUR with the name codecsAUR.