I had already installed these packages, probably from VLC:
gstreamer-plugins-bad, gstreamer-plugins-base, gstreamer-plugins-good
Then I installed those manually:
$ sudo zypper in gstreamer-plugins-good-extra gstreamer-plugins-libav gstreamer-plugins-ugly gstreamer-plugins-vaapi
I did the same for my laptop and my desk. On laptop it works fine. But on my desk I have sound but no video.
Is there any possibility to have the VLC working properly also on my desk, or I have to install the codecs from Packman reposistories? Probably I miss something on my desk, a package or something else.
between code tags ( the </> button above the editing area).
It is possible to have codecs from VLC and not from Packman, but if you have both repositories enabled that is a sure source of trouble.
I have installed today in parallel OpenSuse Leap 15.6 and installed the same packages on my laptop and on my desk. Strange is that on my laptop VLC works properly. Only Insync repo I added, nothing else.
You have only the openSUSE repos installed, not Packman nor Videolan.
In this situation you can only play audio / video that uses “non restricted” formats.
Most audio formats are non restricted now but some video formats, for instance mp4, still require a codec that is encumbered by patents in some areas.
Please see this SDB page and write back if something is not clear.
Ok, now it makes sense to me what’s the reason of the Packman repo.
If I do this: To JUST install the codec packages from Packman
I have same problem.
I need to: This will switch ALL packages to use Packman, not just the codecs
And I am sure everything is fine.
But when I am switching " ALL packages to use Packman " there I have a conflict for ffmpeg because I am using yt-dlp which also uses ffmpeg but in another version. So I have to replace the ffmpeg from Packman and yt-dlp doesn’t work any longer.
That’s why I would prefer to avoid that switch to Packman packages.
Thank you for your response!
It is possible to install just the codecs or even only some codecs from Packman, but you have to select the right ones depending on the audio/video you need to play.
Can you post an example of a video that doesn’t play?
I think that you may have the same packages on your laptop and desktop but likely some of them are from different sources.
Sounds strange, can you post more details? Some packages may co-exist, for instance ffmpeg-5 and ffmpeg-6 and even come from different sources, but you cannot mix and match their dependencies.
You cannot play those formats with only the “non restricted” codecs, so you must have installed something from Packman on your laptop if you are able to play those formats there. Check which packages come from Packman on your laptop and do the same on your desktop.
Easily done with YaST-Software, tab “View”, click “Repositories” then select “Packman” and see which versions of which packages come from there.
I have output all the packages in a file for desktop and laptop and compared them. 95% they are the same. But I think those 2 makes the difference, on Laptop I have an Intel CPU on laptop and on my desk is AMD.
i | intel-media-driver | Intel Media Driver for VAAPI | package
i | intel-vaapi-driver | Intel Driver for Video Acceleration (VA) API for Linux
Anyway, I switch ALL packages to use Packman and now I can play any video on my desk. I’ll use my laptop for yt-dlp if I want. Anyway it wasn’t so important to me. I was thinking, is it fine to disable now Packman repository? Can it have a bad impact in the future for the system?
If you have packages installed from Packman it is not wise to disable it since you will miss any update and that is going to cause trouble sooner or later.
If you switch back to OSS all packages, then yes, you can disable Packman.
But from what I see on a test Leap 15.6 KDE install, to play mp4 videos you only need
vlc-codec-gstreamer
libavcodec57
libavcodec58_134
from Packman, ffmpeg-* is not needed.
Didn’t check avi and mkv TBH, but think that they will be ok too.
Cannot say for sure, but maybe that recent Intel GPU has video hardware decoding for mp4 etc. with those packages installed and that might explain the difference.
Is an Intel i5-8265U cpu. Is not so old, not so new
Anyway I’ll keep as it is now and I will see in the future. I am on Linux for one year as daily driver for my home machines, playing around with other distros but now I want to stay on OpenSuse, and this forum is one of my main reasons
Thank you so much for your support!!!
Actually all you need from packman are the ffmpeg libraries. If you install
gstreamer-plugins-libav from openSUSE, it will take care of gstreamer restricted video and audio codecs via ffmpeg.
gstreamer-plugins-libav is specifically for ffmpeg libraries and without the unrestricted version you won’t be able to play anything using restricted codecs.
The op was asking if he needed to install anything from Packman.
I did read the thread from top to bottom.