Codecs Not Working in

Hi all,

I recently installed Leap 42.1 alongside my existing Tumbleweed installation. I went to install the codecs for Amarok, but saw there was no longer a One-Click-Install available from opensuse-community. I saw a guide here http://opensuse-guide.org/codecs.php and followed its instructions, but nothing made the codecs work on 42.1. My openSUSE 13.2 install that I configured with One-Click-Install still works fine.

They worked in Tumbleweed until I did a “zypper dup” yesterday, and now Amarok under Tubmleweed doesn’t have working codecs.

I also tried running vlc under Leap, but that wouldn’t run, and Rhythmbox wouldn’t install with zypper nor YaST, after getting an error about the Pacman repo not being up.

Is the Pacman repo down? DId something strange with legality happen? Something wrong with these installations?

What can I do to fix this?

Thanks!

post the output of

zypper lr -d

use the code tags for readability (it’s the # button in the reply box)

Thanks, this is for 42.1

#  | Alias                            | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                     | Service
---+----------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------+--------
 1 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)               | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/       |        
 2 | download.opensuse.org-non-oss_1  | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/                  |        
 3 | download.opensuse.org-oss        | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/           |        
 4 | download.opensuse.org-oss_1      | Main Update Repository                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss                       |        
 5 | dvd                              | dvd                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/                      |        
 6 | http-ftp.gwdg.de-9e268e53        | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/          |        
 7 | http-opensuse-guide.org-4f9985d9 | libdvdcss repository                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                     |        
 8 | openSUSE-42.1-0                  | openSUSE-42.1-0                         | Yes     | (r ) Yes  | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-HL-DT-ST_DVD+_-RW_GH70N_K1JB9L73010  |        
 9 | packman                          | packman                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.1/                        |        
10 | repo-debug                       | openSUSE-Leap-42.1-Debug                | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/     |        
11 | repo-debug-non-oss               | openSUSE-Leap-42.1-Debug-Non-Oss        | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/ |        
12 | repo-debug-update                | openSUSE-Leap-42.1-Update-Debug         | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/oss                 |        
13 | repo-debug-update-non-oss        | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/non-oss/            |        
14 | repo-source                      | openSUSE-Leap-42.1-Source               | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/    |        
15 | repo-update                      | openSUSE-Leap-42.1-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                      |        
linux-2e7y:/home/jared # 

6 | http-ftp.gwdg.de-9e268e53 | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/ |

remove that as it’s a tw not a leap repo

zypper rr 6

repo #7 is tw too remove it

zypper rr 7

and then do a dup with your other packman #9 repoo

zypper dup --from packman
or 
zypper dup --from 7

because you will remove #6 & #7 so #9 will become the new 7

take note that leap is not tw and zypper dup should only be used when switching repositories or doing an OS upgrade, never use zypper dup without the --from switch as that will pull packages from a lot of different repositories and you’ll end up with a funky system.

Thanks for the tips. I did those and re-opened Amarok under Leap. Amarok behaved similarly as before and the music did not play. I also tried opening a file from the command line with vlc and received the following error in case it provides any hints:

jared@linux-2e7y:~> vlc "/home/jared/Music/Richard's Music/The Beatles/1962-1966 Disc 2/09 In My Life.wma"
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[00000000012ec0b8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000000013e6a08] skins2 interface error: no suitable dialogs provider found (hint: compile the qt4 plugin, and make sure it is loaded properly)
[00000000013e6a08] skins2 interface error: cannot instantiate qt4 dialogs provider
[00007fa688c07c58] core decoder error: Codec `WMA2' (Windows Media Audio 2) is not supported.
[00007fa688c07c58] core decoder error: Codec not supported
[00007fa688c07c58] core decoder error: VLC could not decode the format "WMA2" (Windows Media Audio 2)
[00000000013e6a08] [cli] lua interface: Listening on host "*console".
VLC media player 2.2.1 Terry Pratchett (Weatherwax)
Command Line Interface initialized. Type `help' for help.
> 


still looks like you have packages from mixed repositories
post your new repo list (you did delete two tw repo’s)

zypper lr -d

you should also delete the gstreamer cache

rm -r $HOME/.cache/gstreamer-1.0/

I deleted the two repos as reccomended before and did the zypper dup on that one repo. I also did a regular zypper up afterwards to install regular distro updates.

Here’s the output of zypper -llr

 linux-2e7y:/home/jared # zypper lr -d
#  | Alias                            | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                     | Service
---+----------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------+--------
 1 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)               | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/       |        
 2 | download.opensuse.org-non-oss_1  | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/                  |        
 3 | download.opensuse.org-oss        | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/           |        
 4 | download.opensuse.org-oss_1      | Main Update Repository                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss                       |        
 5 | dvd                              | dvd                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/                      |        
 6 | http-opensuse-guide.org-4f9985d9 | libdvdcss repository                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                     |        
 7 | packman                          | packman                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.1/                        |        
 8 | repo-debug                       | openSUSE-Leap-42.1-Debug                | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/     |        
 9 | repo-debug-non-oss               | openSUSE-Leap-42.1-Debug-Non-Oss        | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/ |        
10 | repo-debug-update                | openSUSE-Leap-42.1-Update-Debug         | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/oss                 |        
11 | repo-debug-update-non-oss        | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/non-oss/            |        
12 | repo-source                      | openSUSE-Leap-42.1-Source               | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/    |        
13 | repo-update                      | openSUSE-Leap-42.1-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                      |        
linux-2e7y:/home/jared # 


Thanks!

#6 is a TW repo, I really don’t know what would happen mixing libdvdcss from TW with leap, replace that with a LEAP repo and reinstall libdvdcss
what does

zypper se vlc

say is it LEAP’s version from packman?
if it wore me I’d do this


zypper rm libdvdcss2
zypper rr 6
zypper ar -f http://opensuse-guide.org/repo/openSUSE_Leap_42.1/  libdvdcss 
zypper ref
zypper in libdvdcss2
zypper dup --from packman

also check if you have vlc-codecs installed it’s not included on the oss repo and if you do not install it explicitly it’s not pulled when you change repo’s from oss to packman

Installing vlc-codecs fixed Amarok and Amarok in Leap. I’ll see what happens when I check this in my Tumbleweed installation and post back later if there’s any issues. Thanks!

I deleted some funky repos that I picked along the way then zypper duped from my packman distros and everything started working again.

Thank you very much - after years of ignoring the “don’t whimisically add repos” warnings all over the fora and wiki I learned the hard way. Also learned not to update Tumbleweed with zypper dup.

good to hear