Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is the use flag gstreamer recommend for a KDE desktop?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
nagmat84
Apprentice
Apprentice


Joined: 27 Mar 2007
Posts: 260

PostPosted: Tue Jul 02, 2024 6:48 pm    Post subject: Is the use flag gstreamer recommend for a KDE desktop? Reply with quote

I am using a pure KDE environment and I have disabled any GTK/Gnome related stuff as far as possible. My profile is amd64/23.0/desktop/plasma/systemd. Years ago (probably a decade), I explicitly enabled the use flags gstreamer and ffmpeg on a global level. (Don't ask me why, probably, because some Gentoo Wiki recommended it back then.) My chosen profile does not enable GStreamer by default.

For some time now, whenever I try to upgrade my installation via "emerge --update @world", I get a warning that some updates have been skipped due to dependency conflicts. FFmpeg is held back at version 4 due to some indirect dependency related to GStreamer. More recently, GStreamer has also been dropped as a backend for Phonon, see https://bugs.gentoo.org/935033.

Hence, I am wondering, whether I should disable the use flag gstreamer as I am under the impression that GStreamer is only a reminisce of the past. However, I am also wondering what I would I if I did so. Currently, the following installed packages use gstreamer:

  • app-office/libreoffice-7.6.7.2:0
  • dev-qt/qtmultimedia-5.15.14:5/5.15
  • media-libs/libcanberra-0.30-r7:0
  • media-libs/opencv-4.8.1-r2:0/4.8.1
  • media-video/pipewire-1.0.7:0/0.4
  • media-video/vlc-3.0.20-r11:0/5-9
  • net-misc/freerdp-3.4.0-r11:3

What functionality would I loose without GStreamer (if any)?

The packages
  • dev-qt/qtmultimedia
  • media-video/pipewire
  • media-video/vlc
  • net-misc/freerdp
all have ffmpeg as a use flag as well. Hence, I assume those package would simply use FFMpeg if GStreamer wasn't available?

An interesting package seems to be app-office/libreoffice. It has the use flag gstreamer but nothing else which looks like an alternative. I read that Libre Office cannot embed video/audio into presentations without GStreamer support. Is that correct?
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 821
Location: Go past the sign for cope, right at the sign for seethe. If you see the target you've missed it.

PostPosted: Fri Jul 05, 2024 5:16 pm    Post subject: Reply with quote

I have gstreamer disabled globally. You have a couple of packages which I don't (libreoffice + freerdp) but
Code:
emerge -pv
suggests they will at least build without the flag.

As for ffmpeg only qtmultimedia returned
Code:
!!! The ebuild selected to satisfy "qtmultimedia" has unmet requirements.
- dev-qt/qtmultimedia-6.7.1-r1::gentoo USE="X alsa opengl pulseaudio qml vaapi vulkan -eglfs -ffmpeg -gstreamer -test -v4l" ABI_X86="(64)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( ffmpeg gstreamer ) vaapi? ( ffmpeg )

_________________
I spent a christmas in Vienna twenty something years ago. It was a beautiful city. Everyone was so friendly.
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 729
Location: Sota algun pi o alzina...

PostPosted: Sat Jul 06, 2024 12:20 am    Post subject: Re: Is the use flag gstreamer recommend for a KDE desktop? Reply with quote

nagmat84 wrote:

What functionality would I loose without GStreamer (if any)?


I always asked myself the same question as user of plasma :P
mpv and ffmpeg works for everything until now, even wine-staging without gstreamer!

make.conf
Quote:
ABI_X86="64"
COMMON_FLAGS="-march=native -O2 -pipe"
CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j16 -l17"

ACCEPT_KEYWORDS="~amd64"

ACCEPT_LICENSE="*"

BINPKG_FORMAT="gpkg"

DISTDIR="/mnt/sources/distfiles/"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --alphabetical --autounmask-write=y --backtrack=30 --complete-graph=y --color=y --keep-going --read-news=y -v --verbose-conflicts --with-bdeps=y"
FEATURES="${FEATURES} candy clean-logs nodoc noinfo parallel-fetch parallel-install"
PKGDIR="/mnt/sources/packages/"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_SYSTEM="save"
PORT_LOGDIR="/var/log/portage"
# Extremely low priority https://wiki.gentoo.org/wiki/Portage_niceness
PORTAGE_SCHEDULING_POLICY="idle"

GRUB_PLATFORMS="efi-64"

INPUT_DEVICES="libinput"

L10N="ca en"

LLVM_SLOT="18"
LLVM_TARGETS="AMDGPU SPIRV WebAssembly X86"
PERL_FEATURES="ithreads quadmath"
QEMU_SOFTMMU_TARGETS="arm aarch64 x86_64"
QEMU_USER_TARGETS="arm aarch64 x86_64"
RUBY_TARGETS="ruby33"

VIDEO_CARDS="amdgpu radeonsi virgl"

USE="extra ffmpeg flatpak fuse opus sctp ssh tools vaapi v4l utils unwind zstd -bluetooth -gtk -gtk3 -gnome -gles2 -gstreamer -handbook -lzma -networkmanager -semantic-desktop -wireless"

_________________
--so ~amd64 & openrc --cpu 7700 non-x --ram 2x16GB --gpu RX 470


Last edited by papu on Sat Jul 06, 2024 3:08 am; edited 1 time in total
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3417
Location: Canada

PostPosted: Sat Jul 06, 2024 2:01 am    Post subject: Reply with quote

My understanding is that within KDE phonon is supposed to do the job of gstreamer (but I think it is more limited). I run KDE and gstreamer USE flag is disabled for ages.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum