VLC not playing mp4 files

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

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?


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

vinoman,
I used to get those 1st I’ve seen you here before so I’m sure you’ve gotten your VLC from Packman. That said you might want to try this:

zypper in vlc codecs

Or use Yast, sometimes for some reason the codecs don’t get added and must be done the way listed.

It’s fine for me
Please make sure you have the vlc-codecs as suggested

Even though I use Tumbleweed I still use the Package switch on Packman or

zypper dup --from Packman

zypper in vlc codecs

Better:

zypper in vlc-codecs

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 # 


It should be working, whats missing?

Maybe Packman?

have Packman repo

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 :frowning:

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:~> zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias                                  | Name                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                            | Service
--+----------------------------------------+-----------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------+--------
1 | openSUSE-20180314-0                    | openSUSE-20180314-0         | No      | ----      | ----    |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-TSSTcorp_DVD+_-RW_TS-H653G_R4576GESA2860100 |        
2 | opensuse-guide.org-openSUSE_Tumbleweed | libdvdcss repository        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                            |        
3 | packman.inode.at-openSUSE_Tumbleweed   | Packman Repository          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Tumbleweed/                              |        
4 | repo-debug                             | openSUSE-Tumbleweed-Debug   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/                        |        
5 | repo-non-oss                           | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/                          |        
6 | repo-oss                               | openSUSE-Tumbleweed-Oss     | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/                              |        
7 | repo-source                            | openSUSE-Tumbleweed-Source  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/                       |        
8 | repo-update                            | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                |        
davek@linux-dix8:~> 


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 # 



Why is packman on list in the repo list and here it says it’s not found. Why do these things happen?

You must use there the identification as it is in your repos list. Thus either of:

  • the name: ‘Packman Repository’
  • the alias: packman.inode.at-openSUSE_Tumbleweed
  • the number: 3
  • the URI: http://packman.inode.at

Don’t understand. I thought I added Packman Repository. it was listed in the above post. What am I supposed top do?

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:

sudo zypper dup --from "Packman Repository"

or, shorter:

sudo zypper dup --from 3

as the Packman Repository is #3 in your list.

Now I get this…

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.