SMPlayer has No sound but MPlayer has it, Pulse Audio Volume Control does not see SMPlayer

Hi all
I have messed up my openSUSE Leap 42.1 system and some problems have started arising now. Don’t know what has happened.
Deleted some repositories and added few… (don’t remember what did I do)

Presently, I am not gettting any sound in SMPlayer but Mplayer plays the media file appropriately with sound.
Verified it in Pulse Audio Volume Control.
This does not show SMPlayer while playing a file but it does identify MPlayer.

Please help me in solving this error.

Thanks.

Go into SMPlayer’s settings and choose “pulse” as audio output.

I have tried all the Audio output options including “pulse”
The problem still persists.

And where did you install mpv from? (SMPlayer is just a frontend)

rpm -qi mpv

Maybe your version is incompatible with the multimedia libraries from Packman.

Try to do a full switch to Packman, and it should work:
https://en.opensuse.org/SDB:Vendor_change_update#Full_repository_Vendor_change
If in doubt, please post your repo list:

zypper lr -d

OTOH, you could also configure SMPlayer to use mplayer instead of mpv I suppose…

The reply to these commands is as below:

linux-dlkr:/home/vibha # rpm -qi mpv
Name        : mpv
Version     : 0.11.0
Release     : 1.1
Architecture: x86_64
Install Date: Mon 30 Nov 2015 07:58:15 PM IST
Group       : Productivity/Multimedia/Video/Players
Size        : 1757299
License     : GPL-2.0+ and BSD-3-Clause
Signature   : RSA/SHA256, Thu 24 Sep 2015 08:26:50 PM IST, Key ID b88b2fd43dbdc284
Source RPM  : mpv-0.11.0-1.1.src.rpm
Build Date  : Thu 24 Sep 2015 08:26:30 PM IST
Build Host  : build15
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://mpv.io/
Summary     : Advanced general-purpose multimedia player
Description :
mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety
of video file formats, audio and video codecs, and subtitle types.
Distribution: openSUSE Leap 42.1

The next reply is as below:

linux-dlkr:/home/vibha # zypper lr -d
#  | Alias                     | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                     | Service
---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------+--------
 1 | openSUSE-42.1-0           | openSUSE-42.1-0                         | No      | ----      | Yes     |   99     | yast2  | hd:///?device=/dev/disk/by-id/scsi-1Sony_Storage_Media-part1            |        
 2 | repo-debug                | openSUSE-Leap-42.1-Debug                | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/     |        
 3 | 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/ |        
 4 | repo-debug-update         | openSUSE-Leap-42.1-Update-Debug         | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/oss                 |        
 5 | 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/            |        
 6 | repo-non-oss              | openSUSE-Leap-42.1-Non-Oss              | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/       |        
 7 | repo-oss                  | openSUSE-Leap-42.1-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/           |        
 8 | repo-source               | openSUSE-Leap-42.1-Source               | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/    |        
 9 | repo-update               | openSUSE-Leap-42.1-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                      |        
10 | repo-update-non-oss       | openSUSE-Leap-42.1-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/ 

Ok, that’s the openSUSE version included in Leap.

Hm, you don’t even have Packman in your list. How/from where did you install MPlayer then?

Run this, and mpv/SMPlayer should work:

sudo zypper ar -f http://packman.inode.at/suse/openSUSE_Leap_42.1/ Packman
sudo zypper dup --from Packman

I messed up the system. First I followed up the guide here:
https://forums.opensuse.org/entry.php/165-openSUSE-Leap-42-1-Multimedia-Guide

I couldn’t get any sound.
Did some experiments on my own… added few things and deleted few…
Couldn’t get the sound…

Then followed this:
http://opensuse-guide.org/codecs.php

Again was unsuccessful… Did few more experiments…
Finally was tired of my own experiments.
(Admit it, I shouldn’t have did my own experiments. Should have come here and requested for solving the problem)

Now I will try as you suggest, and report it back here.

Thanks.

Many many Thanks.
I got the sound back in SMPlayer.

But just a query, what was the problem in SMPlayer. Why wasn’t I getting sound in SMPlayer while it was there in MPlayer.?

And these two are supposed to be made of similar/ same “entities”
Please guide me.

Thanks once again.

The problem was not in SMPlayer. SMPlayer is just a graphical user interface (frontend) for mpv or MPlayer.

You had the version of mpv from the openSUSE repos installed, this might have been incompatible with the latest ffmpeg/libav* libraries from Packman. It has now been replaced by the version from Packman though.

Your MPlayer likely did come from Packman in the first place (it is not included in the distribution), so it worked.