Установка кодеков arch linux

Arch Linux User Repository

Shouldn’t this package have a somewhat more descriptive name? Something like mplayer-codecs-essential ?

dreieck commented on 2018-11-23 10:41 (UTC)

I suggest you change replaces=(codecs) to replaces=(«codecs») , to ensure that codecs64 is not automatically selected on upgrade to replace a newer codecs . Similar with codecs-extra .

Practical concern: I have here a package codecs with version 20110131-1 (don’t know how it came on my system, but at some time it must have been available on the AUR or in an unofficial repository, so also other users might have it). It has much more codec files than the current codecs64=20071007-1 or the codecs=20071007-1 , which is currently in the AUR.

fordprefect commented on 2016-01-28 11:25 (UTC)

@whaler: these codecs were not updated since 2007, and i expect them not to update anymore. regard this as a legacy package and solve your playback problems otherwise (use vlc or whatever player is there).

whaler commented on 2016-01-27 22:08 (UTC)

@fordprefect Sorry for the late comeback. Very well, but seeing now that the the source link points to mplayerhq, have you checked as to whether they have updated their codecs collection? I’m afraid I don’t have a sample file, since I have been deleting the ones I have been unable to play.

fordprefect commented on 2015-12-25 23:28 (UTC)

@whaler: this codec pack was not updated in a very long time. i just took this over from aur3, where it was dropped from the official repos, and did not create this by myself. i do not expect this package to be updated at all, your issues should be resolved otherwise. if you provide a sample of that data you cant decode, we’ll find a way to make it playback, i am sure!

whaler commented on 2015-12-21 22:35 (UTC)

How often are the codecs packages being updated? There have been newer (xvid) codecs for a long time now that are not recognized by the players I have tried, including MPlayer. How are you guys solving this problem?

Читайте также:  Install ping on linux

kfgz commented on 2015-01-12 14:49 (UTC)

infinitezero commented on 2015-01-02 22:42 (UTC)

I am getting the following error: :: Building codecs64 package(s). ==> ERROR: Missing package() function in /tmp/builds/codecs64/PKGBUILD :: codecs64 cleaned

Источник

Codecs and containers

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 List of applications/Multimedia for a list of media players (MPlayer, mpv and VLC are popular choices).

Requirements

Playing multimedia content requires two components:

It is not always necessary to explicitly install codecs if you have installed a media player. For example, MPlayer pulls in a large number of codecs as dependencies, and also has codecs built in.

List of codecs

Audio

Lossless audio codecs

  • Apple Lossless (ALAC) — A lossless audio compression codec developed by Apple and deployed on all of its platforms and devices.
  • FLAC — Free Lossless Audio Codec.
  • WavPack — Lossless audio compression format that also has a lossy hybrid mode.

Lossy audio codecs

AAC
  • FAAC — Proprietary AAC audio encoder.
  • FAAD2 — ISO AAC audio decoder.
  • Fraunhofer FDK AAC — OpenCORE Framework implementation Advanced Audio Coding (AAC) encoder. Modified library of Fraunhofer AAC decoder and encoder.
  • Nero AAC — Nero AAC reference quality MPEG-4 and 3GPP audio codec. (deprecated)

Image codecs

  • JasPer — Software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard.
  • OpenJPEG — Open source JPEG 2000 codec.
  • WebP — An image format employing both lossy and lossless compression. It is currently developed by Google.
  • AV1 Image File Format (AVIF) — Image format based on the AV1 video codec.
  • High Efficiency Image File Format (HEIF) — Image format based on the HEVC video codec. Often in a HEIC container.
  • JPEG XL — Royalty-free image format developed by the Joint Photographic Experts Group which aims for broad usage, capable of re-encoding JPEGs while avoiding generation loss.

Video codecs

  • AV1 — AOMedia Video 1 (AV1) is a successor codec to Google’s VP9, Mozilla’s Daala, Cisco’s Thor. aom is the reference implementation of both encoding and decoding. dav1d is the performance focused decoder. rav1e is performance focused encoder. Most benchmark show better performances with svt-av1 than rav1e.
  • Daala — Research video codec under development by the Xiph.Org Foundation and sponsored by the Mozilla Foundation. The goal of the project is to provide a free to implement, use and distribute digital media format and reference implementation with technical performance superior to h.265.
  • libde265 — Open source implementation of the h.265 video codec.
  • libdv — The Quasar DV codec (libdv) is a software codec for DV video.
  • libmpeg2 — Library for decoding MPEG-1 and MPEG-2 video streams.
  • Schrödinger — Advanced royalty-free video compression format designed for a wide range of uses, from delivering low-resolution web content to broadcasting HD and beyond, to near-lossless studio editing.
  • Theora — Open video codec developed by the Xiph.org.
  • VP9 — High-quality, open video format for the web that’s freely available to everyone. Improved version of earlier VP8 codec.
  • x264 — Free library for encoding H264/AVC video streams.
  • x265 — Open-source project and free application library for encoding video streams into the H.265/High Efficiency Video Coding (HEVC) format.
  • Xvid — Open source MPEG-4 video codec.
Читайте также:  Veeam восстановление файлов linux

Container format tools

  • MKVToolNix — Set of tools to create, edit and inspect Matroska files.
  • MP4Joiner — A collection of GUI tools to manipulate MP4 files (MP4Joiner, MP4Splitter).
  • OGMtools — Information, extraction or creation for OGG media streams.

Backends

GStreamer

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 applications. See GStreamer article.

xine

xine is a free multimedia player. It plays back CDs, DVDs, BluRays and VCDs. It also decodes multimedia files like AVI, MOV, WMV, and MP3 from local disk drives, and displays multimedia streamed over the Internet.

As an alternative to GStreamer, many media players can be configured to utilize the xine backend provided by 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

No H264, mpg4 or Musepack (.mpc) in Totem Player

If you see the «The H264 plugin is missing» warning with Totem media player, install gst-libav .

No H264 in Parole Player

If you see the «Parole needs H.264 decoder to play this file» warning with Parole media player, install gst-libav .

Источник

How to Install Ffmpeg on Arch Linux

FFmpeg is an open-source package that handles multimedia files. The multimedia file management includes various common tasks such as resizing, encoding/decoding, denoising, compressing, creating thumbnails, and much more like tasks. To accomplish these tasks, FFmpeg is enriched with tens of libraries.

Читайте также:  What is httpd in linux

In this technologically rich era, tools like FFmpeg are the requirement of all users. Keeping in view the importance of FFmpeg, we have listed down possible methods to install FFmpeg on Arch Linux.

How to install FFmpeg on Arch Linux using Pacman

The official package manager of Arch Linux named Pacman contains FFmpeg. Before installing any package, it is good practice to update the system’s packages:

After the update is completed, install the FFmpeg by issuing the following command.

Once the installation is successful, you can check the version as follows.

How to install FFmpeg on Arch Linux using an AUR helper

The AUR (Arch User Repository) contains various packages that are community-driven and are available for Arch Linux users. To install any package from AUR, you need an AUR helper like yay, paru, aura, pacaur, and so on.

Here we used yay in the following manner to install FFmpeg.

Let’s say FFmpeg is already installed using Pacman then yay will ask you to remove FFmpeg as shown below.

However, AUR contains FFmpeg with some optional features as well. To install FFmpeg with additional features, you can use the following command.

How to remove FFmpeg on Arch Linux

As the installation was carried out using two methods, you can remove it using Pacman or using AUR helper as well.

Remove FFmpeg using Pacman:

The command written below removes the FFmpeg from Arch Linux. using pacman

To remove ffmpeg along with its dependencies, you can use the following command.

Remove FFmpeg using AUR helper:

The yay can be used in the following manner to remove FFmpeg.

If the “ffmpeg-full” was installed, then you must specify its name to remove.

Conclusion

The FFmpeg is available on the official repository of Arch and AUR (Arch User Repository). This article demonstrates the methods to install FFmpeg using Pacman (Arch package manager) and yay (AUR helper). The FFmpeg manages the multimedia files with the help of numerous libraries supported by it. Because of its association with multimedia content, it is quite a beneficial project in this era.

Источник

Оцените статью
Adblock
detector