Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

Support for opus codec



Hey everyone,

Attempted to add opus support by emerging:


but VLC keeps complaining that it can't decode opus audio (codec not supported). 

So it remains unclear how support for this codec is supposed to be added into funtoo, anyone?


   arch: x86-64bit
  build: next
subarch: intel64-haswell
 flavor: desktop
mix-ins: gfxcard-intel-iris


Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

It occured to me that support for opus could be enabled in media-video/vlc by means of a USE flag.

 For the unexperienced (like myself), the USE flags available for a package can be queried as follows:


# emerge -pv vlc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-video/vlc-3.0.18:0/5-9::media-kit  USE="X a52 alsa bluray cddb dbus dts dvbpsi dvd encode faad ffmpeg flac gcrypt gstreamer ieee1394 jpeg libass libsamplerate mad matroska mp3 mpeg mtp ncurses ogg png qt5 ssl svg taglib theora truetype twolame udev v4l vaapi vdpau vorbis vpx x264 x265 xml zeroconf -aom -archive -aribsub -bidi -chromaprint -chromecast -cpu_flags_ppc_altivec -dav1d -dc1394 -debug (-directx) -fdk -fluidsynth -fontconfig -gme -gnome-keyring -jack -kate -libcaca -libnotify -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications -modplug -musepack -nfs -omxil -optimisememory -opus -projectm -pulseaudio -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -skins -soxr -speex -srt -test -tremor -upnp -vnc -wayland -zvbi" CPU_FLAGS_X86="mmx sse" 0 KiB

As can be seen opus is disabled by default in media-video/vlc (as stated by '-opus'), so:


USE=opus emerge vlc

and voila, VLC will now reproduce opus files.


Edited by juan
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...