SMPlayer crashing - SOLVED

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
kevtardis
Posts: 18
Joined: Thu Jun 07, 2018 3:26 pm

SMPlayer crashing - SOLVED

#1 Post by kevtardis »

After updating to MX-23, SMPlayer has been giving me problems. I have a separate /home partition, so the smplayer config files were the ones I was using before the upgrade.

It opens, but doesn't start. If I go to preferences and assign mplayer as the default multimedia engine (which is what I have done before), I get the following screen:

smplayer problem.png

I don't know what the right answer is here, I selected each one, tried them all, and none worked. One option at least caused the video to appear on the screen, and the 'play' function was enabled, but nothing happens.

Ultimately, I get an mplayer crash message. Here is the log file from the first time it happened to me:

Code: Select all

/usr/bin/mplayer -noquiet -slave -identify -nofs -sub-fuzziness 1 -ao pulse::alsa_output.pci-0000_00_1b.0.analog-stereo, -nodr -double -nomouseinput -input nodefault-bindings:conf=/dev/null -nokeepaspect -wid 130023439 -monitorpixelaspect 1 -osdlevel 0 -subfont-osd-scale 3 -progbar-align 80 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -noflip-hebrew -ass-styles /home/kev/.config/smplayer/styles.ass -subcp ISO-8859-1 -subpos 100 -volume 38 -vf-add screenshot=/home/kev/smplayer_screenshots/shot -noslices -af-add scaletempo -softvol -softvol-max 110 /home/kev/Movies/paracord/Paracord Bracelet - The Classic Mad Max Bracelet Design.mp4

MPlayer UNKNOWN-12 (C) 2000-2023 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Terminal type `unknown' is not defined.

Playing /home/kev/Movies/paracord/Paracord Bracelet - The Classic Mad Max Bracelet Design.mp4.
libavformat version 59.27.100 (external)
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] stream 0: video (vp9), -vid 0
ID_AUDIO_ID=0
ID_AID_0_LANG=eng
[lavf] stream 1: audio (opus), -aid 0, -alang eng
VIDEO:  [VP90]  1920x1080  0bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
Opening video filter: [ass auto=1]
Couldn't open video filter 'ass'.
ASS: cannot add video filter
Opening video filter: [screenshot=/home/kev/smplayer_screenshots/shot]
[ass] libass API version: 0x1701000
[ass] libass source: tarball: 0.17.1
[ass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.0 (COMPLEX)
[ass] Using font provider fontconfig
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 59.37.100 (external)
[vp9 @ 0x7f99ab000d40]Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe.
Selected video codec: [ffvp9] vfm: ffmpeg (FFmpeg VP9)
==========================================================================
ID_VIDEO_CODEC=ffvp9
Clip info:
 title: Paracord Bracelet: The Classic Mad Max Bracelet Design
ID_CLIP_INFO_NAME0=title
ID_CLIP_INFO_VALUE0=Paracord Bracelet: The Classic Mad Max Bracelet Design
 PURL: https://www.youtube.com/watch?v=sxDwaKZEyQ8
ID_CLIP_INFO_NAME1=PURL
ID_CLIP_INFO_VALUE1=https://www.youtube.com/watch?v=sxDwaKZEyQ8
 HTTP://YOUTUBE.COM/STREAMING/OTF/DURATIONS/112015: Segment-Count: 75

Segment-Durations-Ms: 5339,5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,4137,




ID_CLIP_INFO_NAME2=HTTP://YOUTUBE.COM/STREAMING/OTF/DURATIONS/112015
ID_CLIP_INFO_VALUE2=Segment-Count: 75

Segment-Durations-Ms: 5339,5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,4137,




 ARTIST: Paracord Bracelet
ID_CLIP_INFO_NAME3=ARTIST
ID_CLIP_INFO_VALUE3=Paracord Bracelet
 DATE: 20170829
ID_CLIP_INFO_NAME4=DATE
ID_CLIP_INFO_VALUE4=20170829
 ENCODER: Lavf58.76.100
ID_CLIP_INFO_NAME5=ENCODER
ID_CLIP_INFO_VALUE5=Lavf58.76.100
ID_CLIP_INFO_N=6
Load subtitles in /home/kev/Movies/paracord/
ID_FILENAME=/home/kev/Movies/paracord/Paracord Bracelet - The Classic Mad Max Bracelet Design.mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=VP90
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=1920
ID_VIDEO_HEIGHT=1080
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=opus
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_START_TIME=-0.01
ID_LENGTH=399.28
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[opus @ 0x7f99ab000d40]Could not update timestamps for skipped samples.
AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffopus] afm: ffmpeg (FFmpeg opus)
==========================================================================
I'm not tekkie enough to figure this out.

I tried using MPV as the default multimedia engine and that didn't work.
I tried deleting all the smplayer config files in ~/.config, but I'm still getting the same action
I tried uninstalling and reinstalling smplayer and mplayer, but the same thing happens.

I noticed two things in Synaptic that may have something to do with it:

- the dependencies tab for smplayer 23.6.0-0.1-mx23+1, at the bottom of the screen, says "Conflicts: smplayer".
- the versions tab for for smplayer 23.6.0-0.1-mx23+1 lists "22.7-ds0-1 (stable)" as a version

I've been using smplayer loyally for years, and would prefer to get it working if possible. Any help would be most welcome. Thanks.
You do not have the required permissions to view the files attached to this post.
Last edited by kevtardis on Thu Aug 24, 2023 2:19 pm, edited 1 time in total.

User avatar
Stevo
Developer
Posts: 14809
Joined: Fri Dec 15, 2006 7:07 pm

Re: SMPlayer crashing

#2 Post by Stevo »

22.7 is the stock Debian bookworm version.

23.6.0 is our updated MX repo version.

Can you create a new user with MX User Manager, log in as them, and then try running smplayer again from a terminal there? That we we can check if it's local settings in your regular user folder.

Also "mpv" and "smplayer" in terminal to see how those run.

I don't think mpv is installed by default on MX, so you may have to install it before using it as a backend.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

kevtardis
Posts: 18
Joined: Thu Jun 07, 2018 3:26 pm

Re: SMPlayer crashing

#3 Post by kevtardis »

Thanks for taking an interest in this Stevo.

MPV was already installed.

I created a test user, switched to it and ran smplayer in terminal. I opened a video and played it just fine, albeit there was no sound. MPV was the multimedia engine selected under the Options->Preferences->General tab.

I also tried MPV in terminal with the same results.

I didn't futz with the sound much - tried every output driver option in the dropdown box in the Options->Preferences->Audio tab. MX Select Sound only shows one sound card, and when I click 'test current sound card', there is no sound.

Don't think this matters, but I'm logged on with my regular username and getting sound. I logged in as test user in another window via 'Ctrl+Alt+F6', and am not getting sound there.

User avatar
Stevo
Developer
Posts: 14809
Joined: Fri Dec 15, 2006 7:07 pm

Re: SMPlayer crashing

#4 Post by Stevo »

SMPlayer can display its own log and also mpv's running under it; maybe that would show the sound output. And it seems that some setting in your hidden ~/.config/smplayer folder is preventing the video from showing. You could rename that folder, and smplayer will create a new one with the default settings.

We have another multimedia player in our repo called QMPlay2 that also has a lot of settings for sound and video. Testing with it might help diagnose the SMPlayer problems.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

kevtardis
Posts: 18
Joined: Thu Jun 07, 2018 3:26 pm

Re: SMPlayer crashing

#5 Post by kevtardis »

I don't know what happened - maybe SMPlayer had to think about the changes for awhile or something - but I'm getting video and sound on my regular user, and also video and sound on the test instance.

Maybe a restart was needed before the changes kicked in. But everything is rolling along nicely now.

Thanks for the help Stevo.

Will mark this as solved.

km

Post Reply

Return to “MX Help”