Hello. I am having trouble with vlc.
when i try open up a file i get the following error.
Codec not supported:
VLC could not decode the format “h264” (H264 - MPEG-4 AVC (part 10))
I have tried a bunch of things. I have sound and it plays but no video. I removed vlc and vlc-codecs. I made sure that the packman repository is being used. i then reinstalled everything and still the same error.
Hello. Yeah i had read both of thoes. I did have vlc repo added and it wasnt working. Removed it uninstalled vlc and started again and this is the error i get. At the start i didnt even have sound.
Well, if you remove a repo, things you might have installed from there will not be switched.
And that’s probably the source of your problem: you still have some libraries from the VLC repo installed that are incompatible to the Packman versions.
Well, you don’t really need Packman three! times… and the dvdcss repo is doubled too.
I’d suggest to remove repos #5, #7, #8, and #9, but that’s unrelated to your problem.
sudo zypper rr 5 7 8 9
Your vlc packages do look ok, but some underlying library might be incompatible or crippled.
So, as I already wrote, do a full switch to Packman and it should work:
I had this bug a few days ago a recent update fixed it.
My 2c, remove all vlc packages just changing repositories keeps old rpm’s you probobly have a package from the oss repo.
yast->software managment search and remove vlc vlc-codec etc
goto yast ->repository management and remove all your current packman repo’s (you only need the main one)
then click add, select community repositories, select packman, then OK
goto yast software management select repository view, select packman repo and click on the blue link that states switch system packages to this repo or better said do a Full Vendor Change https://en.opensuse.org/SDB:Vendor_change_update#Using_YaST_2
click OK
restart yast->software management search and install vlc and vlc-codec, yast will pull all necessary packages.
I’m also getting this problem when trying to open a local .avi file:
VLC media player 3.0.0-git Vetinari (revision 3.0.0-git)
[00000000011450b8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007fda44c04568] core decoder error: Codec `mp4v' (MPEG-4 Video) is not supported.
my vlc installation is
zypper se -si vlc
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+-------------------+---------+--------------------+--------+-------------------
i | libvlc6 | package | 3.0.0+git3202-1.35 | x86_64 | Packman Repository
i | libvlccore9 | package | 3.0.0+git3202-1.35 | x86_64 | Packman Repository
i | vlc-beta | package | 3.0.0+git3202-1.35 | x86_64 | Packman Repository
i | vlc-beta-codecs | package | 3.0.0+git3202-1.35 | x86_64 | Packman Repository
i | vlc-beta-noX | package | 3.0.0+git3202-1.35 | x86_64 | Packman Repository
i | vlc-beta-noX-lang | package | 3.0.0+git3202-1.35 | noarch | Packman Repository
i | vlc-beta-qt | package | 3.0.0+git3202-1.35 | x86_64 | Packman Repository
You should use the non-beta version.
This is known to be working, a beta could have specific bugs/problems.
Since the non-beta version isn’t working, this is a bit moot at the moment. I’ve tried both, with equal amounts of success. I’ll happily switch back if there’s something different to try.
And uninstall the package libvdpau-va-gl1 if that’s installed. VLC seems to have problems with it at the moment (at least with the version in 13.2), and if you are using the nvidia driver it’s breaking video playback completely, because it tries to redirect VDPAU (nvidia’s hardware decoding) to VA-API (intel’s equivalent), that’s its purpose.
Since the non-beta version isn’t working, this is a bit moot at the moment.
No it is not moot at all.
We might be trying to fix your problem for hours or days, and it might actually not work at all in the beta version because of a bug or missing feature (e.g. the corresponding codec missing by mistake).
There are reasons why something is called “Beta”…
I didn’t make myself clear. It’s been that way since installation and I also specially did it before replying to the thread in the first place. But, anyway, done again.
I’ve switched back to plain vlc 2.2.1-268.3 (from Packman)
And uninstall the package libvdpau-va-gl1 if that’s installed. VLC seems to have problems with it at the moment (at least with the version in 13.2), and if you are using the nvidia driver it’s breaking video playback completely, because it tries to redirect VDPAU (nvidia’s hardware decoding) to VA-API (intel’s equivalent), that’s its purpose.
I’m not using the nvidia driver. It’s screwing up and so I’m using nouveau, as per my first reply. Removing libvdpau-va-gl1 has made no change.
No it is not moot at all.
We might be trying to fix your problem for hours or days, and it might actually not work at all in the beta version because of a bug or missing feature (e.g. the corresponding codec missing by mistake).
There are reasons why something is called “Beta”…
Without some additional change, just flipping versions back and forth, when I’ve already done so, is just pointless. I’m happy to do so, since you’ve offered a concrete suggestion (removing libvdpau-va-gl1). Like I said, happy to do so if there is something different to try. But not just to jump though hoops I’ve already jumped through several times.
This is almost always a situation of mixing different versions packages from different repos. If you added a beta probably a good idea to remove entirely then re-add all from packman to be certain all the beta files are gone.
Are you certain you run nouveau, and not one of the lesser drivers??
I like Yast because it shows available versions and the one installed in the version tab at bottom right. This lets you see if all parts are the same version from the same repo, or change them if needed
BTW you have trouble with any other player? You know the vlc is not the only media player??? And problems wit others may point to a more generic problem
Uninstall vdpau-video too if you have that, that’s actually the reverse thing. It redirects VA-API to VDPAU and might be useful with the nvidia driver (only).
I have no idea how well (or if at all) VDPAU (or hardware decoding) works there.
Try different video output settings in VLC, in particular “XVideo output” or “X11 video output” (and not VDPAU). And try toggling “Accelerated video output (Overlay)”.
Also, I don’t really think that the nvidia driver “is screwing” up (although I can’t say for sure yet as I am not using it). Most likely you had some installation issue.
But we are discussing this in another thread anyway.
Btw, the package is called libvdpau_va_gl1 (note the underscores). If you called “zypper rm libvdpau-va-gl1” it wouldn’t remove anything and it might still be installed. (I’m just mentioning that to be sure there’s no misunderstanding).
Without some additional change, just flipping versions back and forth, when I’ve already done so, is just pointless.
Yes, it is.
Still, it’s better to stay with the stable version when trying to fix the problem. The beta version might have problems of its own or codecs missing as mentioned.
I had a similar problem. I installed vlc-qt, which doesn’t depend on vlc (?), so I didn’t have vlc-codecs installed. Without vlc-codecs it’s not so surprising that I was having trouble!
vlc-qt does depend on vlc, without vlc you wouldn’t be able to start vlc at all…
But none of the other packages require vlc-codecs. As vlc is included in the distribution but vlc-codecs not (for legal reasons), this wouldn’t work.
vlc-codecs is marked to “supplement” vlc though (which means it should be treated as recommended if vlc is installed), but unfortunately that information is missing in the Packman repo because they use an old (Debian) version of createrepo I think, that doesn’t support supplements.
Hi, I had the same problem on Leap 42.1. When I started VLC I got the message “H264 - MPEG-4 AVC (part 10)) is not supported”.
Videos could have been played with smplayer or kaffeine, but that’s not the point. I needed VLC, because it is the only player capable to display chapter markers in menu and navigate to a marker.
Therefore I made clean installation of Leap 42.1, then I installed VLC and its codecs from Packman repository. After a system update, VLC was suddenly broken and could not play videos with H264 codec.
Then I made again new installation of Leap 42.1, I installed VLC and codecs from Videolan repository. After a system update, VLC again was broken and could not play video files with H264 codec.
It appears there might be a conflict of codecs with the Dragon player. I have unistalled Dragon and then installed VLC beta (version 3.0.0) and corresponding codecs from Packman repository. Now everything works fine and videos with H264 codecs can be played.