moc problem in Leap 15.3

I installed moc ( music on console player) but it doesn´t play. I always get error " Format not supported." Do I need to install extra codecs an if I do witch one? this is info about package

zypper info mocUčitavam podatke repozitorija...
Učitavam instalirane pakete...




Informacije za paket moc:
-------------------------
Repozitorij          : Main Repository
Ime                  : moc
Verzija              : 2.5.2-bp153.1.19
Arhitektura          : x86_64
Proizvođač           : openSUSE
Instalirana veličina : 787,1 KiB
Instalirano          : Da
Status               : najnovije
Source package       : moc-2.5.2-bp153.1.19.src
Upstream URL         : http://moc.daper.net/
Sažetak              : Console audio player
Opis                 : 
    MOC (music on console) is a console audio player for LINUX/UNIX designed to
    be
    powerful and easy to use.
    You just need to select a file from some directory using the menu similar to
    Midnight Commander, and MOC will start playing all files in this directory
    beginning from the chosen file. There is no need to create play lists like
    in
    other players.
    If you want to combine some files from one or few directories on one play
    list,
    you can do this. The play list will be remembered between runs or you can
    save
    it as an m3u file to load it whenever you want.
    Need the console where MOC is running for more important things? Need to
    close
    the X terminal emulator? You don't have to stop playing - just press q and
    the
    interface will be detached leaving the server running. You can attach it
    later,
    or you can attach one interface in the console, and another in the X
    terminal
    emulator, no need to switch just to play another file.
    MOC plays smoothly, regardless of system or I/O load because it uses the
    output
    buffer in a separate thread. It doesn't cause gaps between files, because
    the
    next file to be played is precached while playing the current file.


    Internet stream (Icecast, Shoutcast) are supported.
    Key mapping can be fully customized.
    Supported file formats are: mp3, Ogg Vorbis, FLAC, Musepack, Speex, WAVE,
    AIFF,
    AU (and other less popular formats supported by libsndfile. New formats
    support
    is under development.


    Other features:
      * Simple mixer.
      * Color themes.
      * Searching the menu (the play list or a directory) like M-s in Midnight
      Commander.
      * The way MOC creates titles from tags is configurable.
      * Optional character set conversion for file tags using iconv().
      * OSS, JACK, and ALSA output.



Did you do the Vendor switch to Packman? When not you might have a lot of multi-media problems.

BTW, to help making your computer facts more readable to this English language part of the forums, precede your commands with LANG=C. Example:

LANG=C zypper info moc

I have Packman repo enabled if that is what you mean. Here is list of repos

LANG=C zypper lrRepository priorities are without effect. All enabled repositories share the same priority.


#  | Alias                                 | Name                                                                                        | Enabled | GPG Check | Refresh
---+---------------------------------------+---------------------------------------------------------------------------------------------+---------+-----------+--------
 1 | ftp.gwdg.de-openSUSE_Leap_$releasever | Packman Repository                                                                          | Yes     | (r ) Yes  | Yes
 2 | openSUSE-Leap-15.3-3                  | openSUSE-Leap-15.3-3                                                                        | No      | ----      | ----
 3 | repo-backports-debug-update           | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No      | ----      | ----
 4 | repo-backports-update                 | Update repository of openSUSE Backports                                                     | Yes     | (r ) Yes  | Yes
 5 | repo-debug                            | Debug Repository                                                                            | No      | ----      | ----
 6 | repo-debug-non-oss                    | Debug Repository (Non-OSS)                                                                  | No      | ----      | ----
 7 | repo-debug-update                     | Update Repository (Debug)                                                                   | No      | ----      | ----
 8 | repo-debug-update-non-oss             | Update Repository (Debug, Non-OSS)                                                          | No      | ----      | ----
 9 | repo-non-oss                          | Non-OSS Repository                                                                          | Yes     | (r ) Yes  | Yes
10 | repo-oss                              | Main Repository                                                                             | Yes     | (r ) Yes  | Yes
11 | repo-sle-debug-update                 | Update repository with updates from SUSE Linux Enterprise 15 (Debug)                        | No      | ----      | ----
12 | repo-sle-update                       | Update repository with updates from SUSE Linux Enterprise 15                                | Yes     | (r ) Yes  | Yes
13 | repo-source                           | Source Repository                                                                           | No      | ----      | ----
14 | repo-update                           | Glavni repozitorij za dogradnju                                                             | Yes     | (r ) Yes  | Yes
15 | repo-update-non-oss                   | Update Repository (Non-Oss)                                                                 | Yes     | (r ) Yes  | Yes

Should I remove this moc and after that install it from Packaman or you have some other advice for me? TIA

Well, to begin with, thanks for the LANG=C.

Then sorry, but your repo list is next to useless. It has only Aliases and Names, with are local to your computer and while they might suggest what it is, the only real thing is the URL. So better

zypper lr -d

And last but not least. Just adding a repository is fine, but it is of no use when you do not install anything from it. In the Packman case, you need the Vendor switching:

zypper dup --from 'Packman Repository'

After that, check if your problem is solved. When not ask again here, but then we all know you did the switch. :wink:

 zypper lr -d#  | Alias                                 | Name                                                                                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                  | Service
---+---------------------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------------+--------
 1 | ftp.gwdg.de-openSUSE_Leap_$releasever | Packman Repository                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.3/                   | 
 2 | openSUSE-Leap-15.3-3                  | openSUSE-Leap-15.3-3                                                                        | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-SanDisk_Cruzer_Switch_4C530200440116106375-0:0-part2 | 
 3 | repo-backports-debug-update           | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/update/leap/15.3/backports_debug/                       | 
 4 | repo-backports-update                 | Update repository of openSUSE Backports                                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/backports/                             | 
 5 | repo-debug                            | Debug Repository                                                                            | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.3/repo/oss/                  | 
 6 | repo-debug-non-oss                    | Debug Repository (Non-OSS)                                                                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.3/repo/non-oss/              | 
 7 | repo-debug-update                     | Update Repository (Debug)                                                                   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.3/oss/                             | 
 8 | repo-debug-update-non-oss             | Update Repository (Debug, Non-OSS)                                                          | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.3/non-oss/                         | 
 9 | repo-non-oss                          | Non-OSS Repository                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/                    | 
10 | repo-oss                              | Main Repository                                                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/oss/                        | 
11 | repo-sle-debug-update                 | Update repository with updates from SUSE Linux Enterprise 15 (Debug)                        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.3/sle/                             | 
12 | repo-sle-update                       | Update repository with updates from SUSE Linux Enterprise 15                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/sle/                                   | 
13 | repo-source                           | Source Repository                                                                           | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.3/repo/oss/                 | 
14 | repo-update                           | Glavni repozitorij za dogradnju                                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/oss                                    | 
15 | repo-update-non-oss                   | Update Repository (Non-Oss)                                                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/non-oss/                               | 



and switching Vendor give this

sudo zypper dup --from 'Packman Repository'Loading repository data...
Reading installed packages...
Computing distribution upgrade...
8 Problems:
Problem: problem with the installed vlc-3.0.17.3-lp153.2.3.1.x86_64
Problem: problem with the installed vlc-codec-gstreamer-3.0.17.3-lp153.2.3.1.x86_64
Problem: problem with the installed vlc-qt-3.0.17.3-lp153.2.3.1.x86_64
Problem: problem with the installed vlc-noX-3.0.17.3-lp153.2.3.1.x86_64
Problem: problem with the installed libvlc5-3.0.17.3-lp153.2.3.1.x86_64
Problem: problem with the installed vlc-vdpau-3.0.17.3-lp153.2.3.1.x86_64
Problem: problem with the installed libvlccore9-3.0.17.3-lp153.2.3.1.x86_64
Problem: problem with the installed vlc-lang-3.0.17.3-lp153.2.3.1.noarch


Problem: problem with the installed vlc-3.0.17.3-lp153.2.3.1.x86_64
 Solution 1: install vlc-3.0.16-pm153.2.6.2.x86_64 from vendor http://packman.links2linux.de
  replacing vlc-3.0.17.3-lp153.2.3.1.x86_64 from vendor openSUSE
 Solution 2: keep obsolete vlc-3.0.17.3-lp153.2.3.1.x86_64


Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): 



It look like I will downgrade vlc if I switchc Vendor. No info about moc. Little bit confused.

It is a different Vendor. Each vendor may use it’s own version numbering, thus it is not sure this is “downgrading”. In any case, not having the multi-media from Packman will bring you broken multi-media. I would choose nr. 1, because that is what you want and are doing: switch. You probably would have avoided the message with

zypper dup --allow-vendor-change --from packman

O.K. I did it. this is output

sudo zypper dup --allow-vendor-change --from 1Učitavam podatke repozitorija...
Učitavam instalirane pakete...
Computing distribution upgrade...


The following 8 packages are going to be downgraded:
  libvlc5 libvlccore9 vlc vlc-codec-gstreamer vlc-lang vlc-noX vlc-qt vlc-vdpau


The following 8 packages are going to change vendor:
  libvlc5              openSUSE -> http://packman.links2linux.de
  libvlccore9          openSUSE -> http://packman.links2linux.de
  vlc                  openSUSE -> http://packman.links2linux.de
  vlc-codec-gstreamer  openSUSE -> http://packman.links2linux.de
  vlc-lang             openSUSE -> http://packman.links2linux.de
  vlc-noX              openSUSE -> http://packman.links2linux.de
  vlc-qt               openSUSE -> http://packman.links2linux.de
  vlc-vdpau            openSUSE -> http://packman.links2linux.de


The following NEW package is going to be installed:
  libpostproc54


8 packages to downgrade, 1 novi, 8  to change vendor.
Overall download size: 10,5 MiB. Already cached: 0 B. After the operation, additional 739,9 KiB will be used.
Nastaviti? [y/n/v/...? shows all options] (y): y
Dohvaćam paket libpostproc54-3.4.9-pm153.1.4.x86_64                                                                                                    (1/9),  87,2 KiB ( 94,3 KiB otpakirano)
Dohvaćam: libpostproc54-3.4.9-pm153.1.4.x86_64.rpm ...................................................................................................................................[gotovo]
Dohvaćam paket libvlccore9-3.0.16-pm153.2.6.2.x86_64                                                                                                   (2/9), 467,6 KiB (  1,1 MiB otpakirano)
Dohvaćam: libvlccore9-3.0.16-pm153.2.6.2.x86_64.rpm ......................................................................................................................[gotovo (1,0 KiB/s)]
Dohvaćam paket libvlc5-3.0.16-pm153.2.6.2.x86_64                                                                                                       (3/9), 107,5 KiB (155,7 KiB otpakirano)
Dohvaćam: libvlc5-3.0.16-pm153.2.6.2.x86_64.rpm ......................................................................................................................................[gotovo]
Dohvaćam paket vlc-noX-3.0.16-pm153.2.6.2.x86_64                                                                                                       (4/9),   3,5 MiB ( 13,3 MiB otpakirano)
Dohvaćam: vlc-noX-3.0.16-pm153.2.6.2.x86_64.rpm ......................................................................................................................................[gotovo]
Dohvaćam paket vlc-codec-gstreamer-3.0.16-pm153.2.6.2.x86_64                                                                                           (5/9),  71,0 KiB ( 43,1 KiB otpakirano)
Dohvaćam: vlc-codec-gstreamer-3.0.16-pm153.2.6.2.x86_64.rpm ..........................................................................................................................[gotovo]
Dohvaćam paket vlc-qt-3.0.16-pm153.2.6.2.x86_64                                                                                                        (6/9),   1,0 MiB (  3,3 MiB otpakirano)
Dohvaćam: vlc-qt-3.0.16-pm153.2.6.2.x86_64.rpm .......................................................................................................................................[gotovo]
Dohvaćam paket vlc-3.0.16-pm153.2.6.2.x86_64                                                                                                           (7/9), 675,8 KiB (  1,7 MiB otpakirano)
Dohvaćam: vlc-3.0.16-pm153.2.6.2.x86_64.rpm ..........................................................................................................................................[gotovo]
Dohvaćam paket vlc-vdpau-3.0.16-pm153.2.6.2.x86_64                                                                                                     (8/9),  87,8 KiB (121,7 KiB otpakirano)
Dohvaćam: vlc-vdpau-3.0.16-pm153.2.6.2.x86_64.rpm ....................................................................................................................................[gotovo]
Dohvaćam paket vlc-lang-3.0.16-pm153.2.6.2.noarch                                                                                                      (9/9),   4,4 MiB ( 31,6 MiB otpakirano)
Dohvaćam: vlc-lang-3.0.16-pm153.2.6.2.noarch.rpm .....................................................................................................................................[gotovo]


Checking for file conflicts: .........................................................................................................................................................[gotovo]
(1/9) Instaliram: libpostproc54-3.4.9-pm153.1.4.x86_64 ...............................................................................................................................[gotovo]
(2/9) Instaliram: libvlccore9-3.0.16-pm153.2.6.2.x86_64 ..............................................................................................................................[gotovo]
(3/9) Instaliram: libvlc5-3.0.16-pm153.2.6.2.x86_64 ..................................................................................................................................[gotovo]
(4/9) Instaliram: vlc-noX-3.0.16-pm153.2.6.2.x86_64 ..................................................................................................................................[gotovo]
(5/9) Instaliram: vlc-codec-gstreamer-3.0.16-pm153.2.6.2.x86_64 ......................................................................................................................[gotovo]
(6/9) Instaliram: vlc-qt-3.0.16-pm153.2.6.2.x86_64 ...................................................................................................................................[gotovo]
(7/9) Instaliram: vlc-3.0.16-pm153.2.6.2.x86_64 ......................................................................................................................................[gotovo]
(8/9) Instaliram: vlc-vdpau-3.0.16-pm153.2.6.2.x86_64 ................................................................................................................................[gotovo]
(9/9) Instaliram: vlc-lang-3.0.16-pm153.2.6.2.noarch .................................................................................................................................[gotovo]



Sorry for language. Is this what I need to do? Any other steps to install codecs for moc?

Still no joy with moc. Now I see other problems. It seams that after switching vendor I have random graphic freeze. How can I switch back to default. I´m willing not to use moc, but have no problems with graphic. That is why I choose this distro. With others I have graphic problem because I have Ryzen 5 3400g. This one worked great before I switched vendor. :frowning:

I do not see a connecton between Packman and graphics freeze.

But when you want to undo the usage of Packman, disable the Packman repo and do a zypper dup.

I just did beginner thing and reinstalled. Never mind. I will continue test this distro. Still, it is strange to have problems trying to install CLI player.:frowning:

Moc player is not available from Packman for Leap 15.3: http://packman.links2linux.de/package/moc
Test your files with VLC or another player.

Hi dupin,

I’m sorry you are facing such issues. I have to say I can’t help with your issues after the “dup” - if they are related. However, out of interest I just installed moc from the main repository. I also have my “usual stuff” from Packman and it’s regularly acitve. Just started moc and it immediately worked as a charme. Thank you so much for making me aware of such an effective and simple to use tool. :wink:

I don’t know how this may help you - I can provide info whatever you need. BTW, your main error seems to be “format not supported”. This seems quite definite, not actually like asking for dependencies. My mp3 works well. What file did you actually try to play? Can you post all this in code tags? Maybe that sheds some light?