Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

AV1 codec support (dav1d, aom, svt-av1) in VLC and FFMpeg

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
nagmat84
Guru
Guru
Posts: 325
Joined: Tue Mar 27, 2007 7:31 pm

AV1 codec support (dav1d, aom, svt-av1) in VLC and FFMpeg

  • Quote

Post by nagmat84 » Wed Jul 03, 2024 5:03 pm

I am wondering what use flags I need to enable to get support for AV1 decoding.

This a list of packages, AV1-related use flags and their default setting:
  • media-video/vlc
    • aom (disabled)
    • dav1d (disabled)
  • media-video/ffmpeg
    • dav1d (enabled)
    • libaom (disabled)
    • svt-av1 (disabled)
Moreover, media-video/vlc supports the use flag ffmpeg, which is enabled by default.

Does this mean that VLC is able to decode AV1 video indirectly via ffmpeg?

What would change, if dav1d is also enabled for media-video/vlc directly? Are there any advantages or disadvantages in terms of efficiency, quality or stability?

What are the advantages/disadvantages of the other AV1-libraries? What library is used if support for more than one is enabled?
Top
stefantalpalaru
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Sun Jan 11, 2009 10:35 pm
Location: Italy
Contact:
Contact stefantalpalaru
Website

  • Quote

Post by stefantalpalaru » Sun Jul 07, 2024 2:00 pm

> I am wondering what use flags I need to enable to get support for AV1 decoding.

"dav1d"
Top
Banana
Administrator
Administrator
User avatar
Posts: 2397
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Mon Jul 08, 2024 7:22 am

https://packages.gentoo.org does a good job listing those useflags visually.

https://packages.gentoo.org/packages/media-video/ffmpeg does show the dav1d useflag and the mouse over does tell "Enables AV1 decoding via media-libs/dav1d."
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
Cygon
Tux's lil' helper
Tux's lil' helper
Posts: 115
Joined: Sun Feb 05, 2006 3:57 pm
Location: Germany
Contact:
Contact Cygon
Website

  • Quote

Post by Cygon » Thu Jul 11, 2024 11:04 am

Some additional details:
  • ffmpeg consists of the command-line front end and a software library called "libav" that enables other applications to directly make use of the codecs and features built into ffmpeg.
  • VLC is able to directly use dav1d (https://github.com/videolan/vlc/blob/ma ... ec/dav1d.c) or use it through ffmpeg's libav.
  • MPV uses dav1d only via ffmpeg's libav.
  • Both VLC and MPV can use (and I think, prioritize) hardware decoding via vaapi, nvdec or even cuda or vulkan (most recent Intel CPUs, NVidia's RTX30xx and equivalent AMD offerings can decode AV1 in hardware).
Enabling dav1d in VLC might yield a tiny gain in efficiency. That is, if your system actually uses software decoding.

As for libaom, it is the reference encoder and decoder from the AV1 developers. Before dav1d, VLC used it for playback (and there probably is still a way to enable it). It is slower than dav1d and should be visually identical (early versions of dav1d didn't support all features of AV1, like synthetic film grain, but that was long ago).
  • SVT-AV1 is a separate AV1 encoder and decoder first developed by Intel. It has now become the official reference encoder and is being worked on by Google, Netflix and Intel.
  • I don't think any of the popular video players use or support SVT-AV1 for decoding.
  • Enabling SVT-AV1 in ffmpeg likely only helps you when you want to encode video, but in that case, consider installing SVT-AV1 (media-libs/svt-av1) or its SVT-AV1-psy fork directly and encode via SvtAv1EncApp.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic