On Tue, 20 Mar 2018 03:26:01 +0000, vinoman2 wrote:
> When trying to play an mp4 file I get this message:
>
> Codec not supported:
>
> VLC could not decode the format “mp4a” (MPEG AAC Audio)
> Codec not supported:
> VLC could not decode the format “h264” (H264 - MPEG-4 AVC (part 10))
>
> What files are needed to install?
> Thanks
Which openSUSE version/release are you using, and where did you install
VLC from?
you should tell us your repo list as the above suggestions won’t work without the packman repo
assuming you don’t have the packman repo do these 4 commands in succession
zypper ar -f ftp://packman.inode.at/suse/openSUSE_Tumbleweed/ packman
zypper dup --from packman
zypper in vlc-codecs
zypper rm vlc-codec-gstreamer
vlc-codec-gstreamer might get installed automatically and that one uses gstreamer as a vlc backend which imo is pointless that’s why you should remove it
ps. if you’re on an intel graphic card you might need to disable vdpau (which is the default decoder in vlc) set vaapi as the preferred hardware acceleration method, nvidia users should keep vdpau and amd can use eather
I’m using Tumbleweed and installed vlc in yast. I get this from the command…
linux-dix8:/home/davek # zypper in vlc codecs
Loading repository data...
Reading installed packages...
'vlc' is already installed.
No update candidate for 'vlc-3.0.1-4.9.x86_64'. The highest available version is already installed.
'codecs' not found in package names. Trying capabilities.
No provider of 'codecs' found.
Resolving package dependencies...
Nothing to do.
linux-dix8:/home/davek #
Then do a full switch to it as you’ve been told already.
I.e. run something like “zypper dup --from packman”.
PS:
vlc-codecs is not really needed anymore either, as the standard vlc-noX package contains an avcodec plugin that uses ffmpeg/libavcodec and supports everything the installed ffmpeg/libavcodec does.
ffmpeg/libavcodec should/has to come from Packman though, the standard openSUSE version does not support MPEG4 (H264, AAC).
And the VDPAU support has been split out to vlc-vdpau, so if it causes problems you can just uninstall that package too instead of changing the settings…
vlc-vdpau is not installed and when running zypper dup --from packman it shows that I have packman repo. I don’t get it! I’ve never had this problem with vlc with any distro. I’ve used Tumbleweed before and vlc worked fine. I guess I’ll uninstall and re install vlc and see if that helps.
uninstalled and reinstalled vlc and it still doesn’t work. is this a tumbleweed problem? it wasn’t before.
I’ll have to use another distro if I can’t use vlc here
I don’t get it either. (“when running zypper dup --from packman it shows that I have packman repo” in particular) What does “zypper dup --from packman” show?
Please post the output.
And please also post your repo list:
zypper lr -d
vlc does work fine in openSUSE, but MPEG4 will only work if you install the uncrippled multimedia packages from Packman or VideoLAN (but do not mix both!).
davek@linux-dix8:~> su
Password:
linux-dix8:/home/davek # zypper dup --from packman
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
Repository 'packman' not found by its alias, number, or URI.
Use 'zypper repos' to get the list of defined repositories.
linux-dix8:/home/davek #
The repo is named “Packman Repository” on your system. So you need to tell zypper to switch to “Packman Repository”, not “packman”.
I.e. run this instead:
davek@linux-dix8:~> sudo zypper dup --from "Packman Repository"
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for root:
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
27 Problems:
Problem: problem with installed package libgstbasecamerabinsrc-1_0-0-1.12.4-5.1.x86_64
Problem: problem with installed package libswscale4-3.4.2-2.2.x86_64
Problem: problem with installed package libgstbadbase-1_0-0-1.12.4-5.1.x86_64
Problem: problem with installed package libgstgl-1_0-0-1.12.4-5.1.x86_64
Problem: problem with installed package libgstcodecparsers-1_0-0-1.12.4-5.1.x86_64
Problem: problem with installed package gstreamer-plugins-ugly-1.12.4-5.1.x86_64
Problem: problem with installed package libgstadaptivedemux-1_0-0-1.12.4-5.1.x86_64
Problem: problem with installed package libquicktime0-1.2.4cvs20150223-12.1.x86_64
Problem: problem with installed package libgstwayland-1_0-0-1.12.4-5.1.x86_64
Problem: problem with installed package libavcodec57-3.4.2-2.2.x86_64
Problem: problem with installed package libpostproc54-3.4.2-2.2.x86_64
Problem: problem with installed package libavformat57-3.4.2-2.2.x86_64
Problem: problem with installed package libsox3-14.4.2-5.1.x86_64
Problem: problem with installed package libgstbadvideo-1_0-0-1.12.4-5.1.x86_64
Problem: problem with installed package libavresample3-3.4.2-2.2.x86_64
Problem: problem with installed package libgstphotography-1_0-0-1.12.4-5.1.x86_64
Problem: problem with installed package libswresample2-3.4.2-2.2.x86_64
Problem: problem with installed package sox-14.4.2-5.1.x86_64
Problem: problem with installed package libgsturidownloader-1_0-0-1.12.4-5.1.x86_64
Problem: problem with installed package libavfilter6-3.4.2-2.2.x86_64
Problem: problem with installed package vlc-codec-gstreamer-3.0.1-1.2.x86_64
Problem: problem with installed package gstreamer-plugins-bad-1.12.4-5.1.x86_64
Problem: problem with installed package libgstmpegts-1_0-0-1.12.4-5.1.x86_64
Problem: problem with installed package libgstbadaudio-1_0-0-1.12.4-5.1.x86_64
Problem: problem with installed package libavutil55-3.4.2-2.2.x86_64
Problem: problem with installed package gstreamer-plugins-bad-lang-1.12.4-5.1.noarch
Problem: problem with installed package gstreamer-plugins-ugly-lang-1.12.4-5.1.noarch
Problem: problem with installed package libgstbasecamerabinsrc-1_0-0-1.12.4-5.1.x86_64
Solution 1: install libgstbasecamerabinsrc-1_0-0-1.12.4-8.3.x86_64 (with vendor change)
openSUSE --> http://packman.links2linux.de
Solution 2: keep obsolete libgstbasecamerabinsrc-1_0-0-1.12.4-5.1.x86_64
Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c):
tried option 1 and 2 and it still brings up errors. Why can’t vlc work by just installing it? I’ve installed it 20 times on many other distros and it has always worked.