I’ve been trying to play videos in Leap 42.3 (with pacman repo enabled) and it is a major fail - neither Totem or Gnome MPV do the trick. When I launched totem via cli I found:
When I’m trying to do as in the guide on the forums I get:
File /usr/lib64/gstreamer-1.0/libgsta52dec.so
from install of
gstreamer-plugins-ugly-orig-addon-1.8.3-7.1.x86_64 (packman)
conflicts with file from package
gstreamer-plugins-ugly-1.12.3-92.3.x86_64 (@System)
File /usr/lib64/gstreamer-1.0/libgstlame.so
from install of
gstreamer-plugins-ugly-orig-addon-1.8.3-7.1.x86_64 (packman)
conflicts with file from package
gstreamer-plugins-ugly-1.12.3-92.3.x86_64 (@System)
File /usr/lib64/gstreamer-1.0/libgsttwolame.so
from install of
gstreamer-plugins-ugly-orig-addon-1.8.3-7.1.x86_64 (packman)
conflicts with file from package
gstreamer-plugins-ugly-1.12.3-92.3.x86_64 (@System)
How should I proceed?
Also is there a repo with fffmpeg that has nvenc enabled somewhere?
Lastly how do you setup OBS-studio on Opensuse? When I try to record the video I get a message about encoders failing.
gstreamer-plugins-ugly-orig-addon has been depreciated and all of the codecs it provided have been moved to gstreamer-plugins-ugly but that package only provides audio codecs and you are describing a video issue
check to see if you have gstreamer-plugins-bad and gstreamer-plugins-libav
zypper se -si gstreamer-plugins-bad
zypper se -si gstreamer-plugins-libav
if you don’t have them install them if they’re from 42.2 do a system upgrade to 42.3
another thing gstreamer-plugins-ugly-orig-addon never existed for 42.3 that’s a 42.2 package I’m guessing your upgrade wasn’t quite successful check to see if you have some old packages left behind (assuming you upgraded from 42.2)
one more thing you seam to be installing gstreamer packages from multimedia:libs repo
all multimedia especially gstreamer should be installed from packman as Sauerland said tell us your repo list
zypper lr -d
I already mentioned this but you seam to have old 42.2 packages how did you upgrade to 42.3 from an install disk or live with zypper dup?
THANK YOU! Yeah- I’ve messed it up. It seems at one point I’ve added multimedia repo. Removed it and did zypper dup. I also had to remove vaapi related packages as with them I got:
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
(totem:9518): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
(totem:9518): Cogl-WARNING **: driver/gl/cogl-buffer-gl.c:93: GL error (1280): Invalid enumeration value
With those removed video now plays in Totem correctly.
Also it seems that the ffmpeg version I got after the procedure has nvenc enabled. YAY!
vaapi is not needed on nvidia hardware as it’s intel technology for hardware accelerated video decoding I think amd also uses it
if that’s an optimus laptop maybe you need bumblebee https://en.opensuse.org/SDB:NVIDIA_Bumblebee