Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

Support for opus codec


juan

Question

Hey everyone,

Attempted to add opus support by emerging:

media-libs/opus
media-libs/opusfile
media-plugins/gst-plugins-opus

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?

Cheers!

   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:

Quote

# 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:

Quote

USE=opus emerge vlc

and voila, VLC will now reproduce opus files.

Cheers!

Edited by juan
Link to comment
Share on other sites

×
×
  • Create New...