Difference between revisions of "Codecs (Italiano)"

From ArchWiki
Jump to: navigation, search
m
(Allineata pagina)
Line 1: Line 1:
 
[[Category:Audio/Video (Italiano)]]
 
[[Category:Audio/Video (Italiano)]]
 +
[[fr:Codecs]]
 
{{i18n|Codecs}}
 
{{i18n|Codecs}}
 +
{{Expansion}}
 +
{{translateme}} {{Attenzione|Questo articolo è in fase di traduzione. Seguite per ora le istruzioni della versione inglese.}}
  
=Codecs=
+
{{Article summary start}}
Se si riscontrano problemi nell'apertura di file audio (es. mp3) o video, la causa più probabile è l'assenza nel vostro sistema dei codecs che servono per l'apertura dei suddetti file. I player che utilizzano '''gstreamer''' (come Totem) saranno in grado di funzionare correttamente, con i file multimediali più comuni, dopo aver installato:
+
{{Article summary text|An overview of codec packages available for Arch Linux.}}
 +
{{Article summary heading|Related}}
 +
{{Article summary wiki|DVD Playing}}
 +
{{Article summary wiki|GStreamer}}
 +
{{Article summary wiki|MPlayer}}
 +
{{Article summary end}}
  
 +
From [[Wikipedia:Codec|wikipedia]]:
  
{{Attenzione|Il pacchetto '''codecs''' potrebbe non essere piu dispinibile .. è comunque presente in AUR:}}  [http://aur.archlinux.org/packages.php?ID=2697 AUR Codecs]
+
:''A codec is a device or computer program capable of encoding and/or decoding a digital data stream or signal.''
  
# pacman -S gstreamer0.10-bad gstreamer0.10-ugly gstreamer0.10-ffmpeg gstreamer0.10-ugly-plugins
+
In general, codecs are utilized by multimedia applications to encode or decode audio or video streams. In order to play encoded streams, users must ensure an appropriate codec is installed.
  
 +
This article deals only with codecs and application backends; see [[Common Applications#Multimedia|Common Applications]] for a list of media players ([[MPlayer]] and [http://www.videolan.org/vlc/ VLC] are popular choices).
  
Se si vogliono invece installare tutti i codec '''gstreamer''', si può utilizzare il seguente comando (è necessario avere il pacchetto awk installato):
+
==Requirements==
  
<pre>
+
Playing multimedia content requires two components:
# pacman -S `pacman -Ss gstreamer | grep -e '^extra/gstreamer0.10' | awk '{print $1}'`
+
</pre>
+
  
----
+
* A capable media player
 +
* The appropriate codec
  
=Players=
+
==Common codecs==
==VLC==
+
E' ancora possibile che qualche file (specialmente file video Windows) non sia mostrato correttamente da Totem. In tal caso '''VLC''' è una buona soluzione, in quanto utilizza i propri codecs che spesso funzionano anche per file meno comuni, o per DVD video con menu.
+
Per installarlo e sufficiente eseguire:
+
  
<pre>
+
* {{pkg|a52dec}}: liba52 is a free library for decoding ATSC A/52 streams
# pacman -S vlc
+
* {{pkg|faac}}: FAAC is an AAC audio encoder
</pre>
+
* {{pkg|faad2}}: ISO AAC audio decoder
==Mplayer==
+
* {{pkg|flac}}: Free Lossless Audio Codec
In alternativa, un altro programma interessante è mplayer (personalmente lo ritengo il miglior player a disposizione su linux). Spesso capita che mplayer riesca a leggere file che ancheper VLC sono inleggibili. E' inoltre disponibile un utilissimo plugin per browser.
+
* {{pkg|jasper}}: A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard
Per installare mplayer e il relativo plugin:
+
* {{pkg|lame}}: An MP3 encoder and graphical frame analyzer
 +
* {{pkg|libdca}}: Free library for decoding DTS Coherent Acoustics streams
 +
* {{pkg|libdv}}: The Quasar DV codec (libdv) is a software codec for DV video
 +
* {{pkg|libmad}}: A high-quality MPEG audio decoder
 +
* {{pkg|libmpeg2}}: libmpeg2 is a library for decoding MPEG-1 and MPEG-2 video streams
 +
* {{pkg|libtheora}}: An open video codec developed by the Xiph.org
 +
* {{pkg|libvorbis}}: Vorbis codec library
 +
* {{pkg|libxv}}: X11 Video extension library
 +
* {{pkg|wavpack}}: Audio compression format with lossless, lossy, and hybrid compression modes
 +
* {{pkg|x264}}: Free library for encoding H264/AVC video streams
 +
* {{pkg|xvidcore}}: XviD is an open source MPEG-4 video codec
  
<pre>
+
==Backends==
  # pacman -S mplayer mplayer-plugin
+
 
</pre>
+
===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).[http://en.wikipedia.org/wiki/GStreamer]
 +
 
 +
* {{Pkg|streamer0.10-base-plugins}}
 +
* {{Pkg|gstreamer0.10-good-plugins}}
 +
* {{Pkg|gstreamer0.10-bad-plugins}}
 +
* {{Pkg|gstreamer0.10-ugly-plugins}}
 +
* {{Pkg|gstreamer0.10-ffmpeg}}
 +
 
 +
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, {{pkg|xine-ui}}.
 +
 
 +
==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 {{aur|codecs}}.

Revision as of 13:39, 8 December 2011

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:Codecs (Italiano)#)

Tango-preferences-desktop-locale.pngThis article or section needs to be translated.Tango-preferences-desktop-locale.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Codecs (Italiano)#)
Attenzione: Questo articolo è in fase di traduzione. Seguite per ora le istruzioni della versione inglese.

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary wiki Template:Article summary end

From wikipedia:

A codec is a device or computer program capable of encoding and/or decoding a digital data stream or signal.

In general, codecs are utilized by multimedia applications to encode or decode audio or video streams. In order to play encoded streams, users must ensure an appropriate codec is installed.

This article deals only with codecs and application backends; see Common Applications for a list of media players (MPlayer and VLC are popular choices).

Requirements

Playing multimedia content requires two components:

  • A capable media player
  • The appropriate codec

Common codecs

  • 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

Backends

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).[1]

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.

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.