Smplayer: MPlayer/mpv ended unexpectedly. Exit code 127

Upgraded from 42.3 to 15.1, then did the vendor change to packman. However I can’t play any video (avi, mp4, mkv) in SMPplayer/mpv (MPlayer is not installed).

Example below, all other videos end with the same error in bold at the end.

/usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-file=/dev/stdin --no-fs --vd-lavc-threads=2 --hwdec=no --sub-auto=fuzzy --ao=pulse, --no-input-default-bindings --input-x11-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=92274740 --monitorpixelaspect=1 --osd-level=1 --osd-scale=1 --sub-ass --embeddedfonts --ass-line-spacing=0 --sub-scale=1 --sub-text-shadow-color=#ff000000 --sub-codepage=ISO-8859-1 --aid=1 --sub-pos=100 --volume=110 --cache=auto --start=27 --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --softvol=yes --softvol-max=110 --term-playing-msg=MPV_VERSION=${=mpv-version:}
INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-aspect}
INFO_VIDEO_FPS=${=container-fps:${=fps}}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_AUDIO_FORMAT=${=audio-codec-name}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate}
INFO_AUDIO_NCH=${=audio-params/channel-count}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=current-demuxer:${=demuxer}}
INFO_SEEKABLE=${=seekable}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
INFO_STREAM_PATH=${stream-path}
 --audio-client-name=SMPlayer --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} /home/trabalho/Arquivo/04 Naval/Belov/Ab155Cacao/Docs Recebidos/VIDEOS/inspecao cacao 1.mp4

**/usr/bin/mpv: symbol lookup error: /usr/lib64/libvapoursynth-43.so: undefined symbol: vs_cpu_cpuid
**

VLC from packman, on the other hand, plays all videos.

Repos:

# zypper lr -d
#  | Apelido                   | Nome                                 | Habilitado | Verificação GPG | Atualizar | Prioridade | Tipo   | URI                                                                      | Serviço
---+---------------------------+--------------------------------------+------------+-----------------+-----------+------------+--------+--------------------------------------------------------------------------+--------
 1 | download.nvidia.com-leap  | nVidia Graphics Drivers              | Sim        | (r ) Sim        | Sim       |   99       | rpm-md | https://download.nvidia.com/opensuse/leap/15.1                           |        
 2 | libdvdcss                 | libdvdcss                            | Sim        | (r ) Sim        | Sim       |   99       | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.1/                       |        
 3 | packman                   | Packman Repository                   | Sim        | (r ) Sim        | Sim       |   90       | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.1/                         |        
 4 | repo-debug                | Debug Repository                     | Não        | ----            | ----      |   99       | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.1/repo/oss/      |        
 5 | repo-debug-non-oss        | Debug Repository (Non-OSS)           | Não        | ----            | ----      |   99       | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.1/repo/non-oss/  |        
 6 | repo-debug-update         | Update Repository (Debug)            | Não        | ----            | ----      |   99       | rpm-md | http://download.opensuse.org/debug/update/leap/15.1/oss/                 |        
 7 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS)   | Não        | ----            | ----      |   99       | rpm-md | http://download.opensuse.org/debug/update/leap/15.1/non-oss/             |        
 8 | repo-non-oss              | Repositório Non-OSS                  | Sim        | (r ) Sim        | Sim       |   99       | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/        |        
 9 | repo-oss                  | Repositório principal                | Sim        | (r ) Sim        | Sim       |   99       | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/oss/            |        
10 | repo-source               | Source Repository                    | Não        | ----            | ----      |   99       | rpm-md | http://download.opensuse.org/source/distribution/leap/15.1/repo/oss/     |        
11 | repo-source-non-oss       | Source Repository (Non-OSS)          | Não        | ----            | ----      |   99       | rpm-md | http://download.opensuse.org/source/distribution/leap/15.1/repo/non-oss/ |        
12 | repo-update               | Repositório principal de atualização | Sim        | (r ) Sim        | Sim       |   99       | rpm-md | http://download.opensuse.org/update/leap/15.1/oss                        |        
13 | repo-update-non-oss       | Repositório de atualização (Non-OSS) | Sim        | (r ) Sim        | Sim       |   99       | rpm-md | http://download.opensuse.org/update/leap/15.1/non-oss/                   |        

And apparently all packages are from packman:

# zypper dup --from packman --allow-vendor-change
Carregando dados do repositório...
Lendo os pacotes instalados...
Calculando a atualização da distribuição...

Os seguintes 4 itens estão bloqueados e não serão alterados por nenhuma ação:
 Disponível:
  patch:openSUSE-2019-2139 patch:openSUSE-2019-2223
 Instalado:
  ghostscript ghostscript-x11

Nada a fazer *(Nothing to do)*.

Note: the 4 blocked items are due to pstoedit incompatibility with newer ghostscript versions, nothing to do with multimidia.

Due to the error message mentioning libvapoursynth-43.so and this thread https://forums.opensuse.org/showthread.php/533978-Smplayer-not-working-Exit-code-127?p=2887355#post2887355 I saw in yast that it was listed as from packman, and (stupid that I am) I changed it back to the oss version, even if zypper dup didn’t accuse any problem. Now I have:

# zypper if libvapoursynth-43
Carregando dados do repositório...
Lendo os pacotes instalados...


Informação para pacote libvapoursynth-43:
-----------------------------------------
Repositório             : Repositório principal       
Nome                    : libvapoursynth-43           
Versão                  : 43-lp151.3.4                
Arquitetura             : x86_64                      
Fornecedor              : openSUSE                    
Tamanho após instalação : 935,4 KiB                   
Instalado               : Sim                         
Status                  : atualizado                  
Pacote fonte            : vapoursynth-43-lp151.3.4.src
Resumo                  : A video processing framework
Descrição               :                             
    VapourSynth's core library with a C++ API.

But yast software manager show no package from packman that I could switch back to, so what I had was, maybe, from the 42.3 install that didn’t want to die… Or not, I’m a bit lost here.

With the main repo libvapoursynth-43 package the error message ends a bit different:


*--- same as above ---*
INFO_STREAM_PATH=${stream-path}
 --audio-client-name=SMPlayer --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} /home/trabalho/Arquivo/04 Naval/Belov/Ab155Cacao/Docs Recebidos/VIDEOS/inspecao cacao 1.mp4

Warning: option --input-x11-keyboard was replaced with --input-vo-keyboard and might be removed in the future.
Warning: option --ass-line-spacing was replaced with --sub-ass-line-spacing and might be removed in the future.
Warning: option --sub-text-shadow-color was replaced with --sub-shadow-color and might be removed in the future.
Error parsing option softvol (option not found)
Setting commandline option --softvol=yes failed.
Exiting... (Fatal error)

Any ideas?

Thanks

Update: all videos play when opened directly with mpv, so it seems the problem is due to smplayer that is just a frontend for mpv.

With Dragon Player (what is this anyway?) only audio plays.

# zypper if smplayer
Carregando dados do repositório...
Lendo os pacotes instalados...


Informação para pacote smplayer:
--------------------------------
Repositório             : Repositório principal        
Nome                    : smplayer                     
Versão                  : 18.2.2-lp151.2.5             
Arquitetura             : x86_64                       
Fornecedor              : openSUSE                     
Tamanho após instalação : 4,8 MiB                      
Instalado               : Sim                          
Status                  : atualizado                   
Pacote fonte            : smplayer-18.2.2-lp151.2.5.src
Resumo                  : Complete frontend for MPV    
Descrição               :                              
    SMPlayer is a front-end for MPV/MPlayer, from basic features like
    playing videos, DVDs, and VCDs to more advanced features like support
    for MPV filters and more.

    SMPlayer remembers the settings of all files you play. Opening a
    movie again will resume at the same point it was left, and with the
    same chosen audio track, subtitles and volume level.

There is no smplayer package from packman.

Ahh, I should have paid more attention to the second error message. mpv crashes with the softvol option not found error, but works ok without it.

The weird thing is that softvol is a documented switch:

:~> man mpv | grep softvol
grotty:<standard input> (<standard input>):5967: character above first line discarded
grotty:<standard input> (<standard input>):5971: character above first line discarded
grotty:<standard input> (<standard input>):5975: character above first line discarded
              Since mpv 0.18.1, this always controls the internal mixer (aka "softvol").
       --softvol=<no|yes|auto>
              The current behavior is that softvol is always enabled, i.e. as if this option is set to yes. The other behaviors are not available anymore, although auto almost matches current behavior in most cases.
       --volume-max=<100.0-1000.0>, --softvol-max=<...>
              --softvol-max is a deprecated alias and should not be used.
grotty:<standard input> (<standard input>):165253: character above first line discarded
grotty:<standard input> (<standard input>):165257: character above first line discarded
grotty:<standard input> (<standard input>):165261: character above first line discarded

And smplayer also works if I uncheck the “use software volume control” option in audio settings.

AND the volume control in KDE panel still works…