Open AhmedHalim96 opened 1 year ago
I had the same problem. As a workaround, you have to close all instances of SMPlayer then open smplayer.ini
and delete the softvol options.
I think the "Use software volume control" setting doesn't work with the mpv backend: indeed it is a bug.
--softvol
is only used with old versions of mpv. If you got this error maybe smplayer didn't identify the version of mpv correctly. Try deleting the ~/.config/smplayer/player_info.ini
--softvol
is only used with old versions of mpv. If you got this error maybe smplayer didn't identify the version of mpv correctly. Try deleting the~/.config/smplayer/player_info.ini
I tried that, yet get the same error. My mpv
version is 0.35.0
, smplayer
version 22.7.0
. I'm on Arch Linux btw.
I've gone back to the mplayer backend--even though it's worse in most ways--because without this softvol option the maximum volume has become too low since either mpv 0.34 or smplayer 22.2 . Ever since I upgraded these two the softvol bug appears and unticking "Use software volume control" sets the volume max to be far too quiet.
I'm afraid I can't reproduce this problem.
Does the command mpv --list-options
display anything?
I'm afraid I can't reproduce this problem. Does the command
mpv --list-options
display anything?
Yes, lots of options. But the only one related to softvol is:
--softvol-max alias [deprecated] for volume-max
OK, I deleted the whole of the ~/.config/smplayer
directory and now the "Use software volume control" does not raise an error with mpv. It seems that there is something obsolete left in the config files, that causes new smplayer/mpv to error. I'll try hunt down the exact config that causes this problem.
Thanks a lot!
Your Enviroment
Logs /usr/bin/mpv --no-quiet --terminal --no-msg-color --input-ipc-server=/tmp/smplayer-mpv-320e --msg-level=ffmpeg/demuxer=error --video-rotate=no --no-config --no-fs --hwdec=auto --sub-auto=fuzzy --ao=pulse, --no-input-default-bindings --input-x11-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=6291473 --monitorpixelaspect=1 --osd-level=1 --osd-scale=1 --sub-ass --embeddedfonts --ass-line-spacing=0 --sub-scale=1 --sub-text-shadow-color=#ff000000 --ass-force-style=PlayResX=512,PlayResY=320,Name=Default,Fontname=Noto Sans,Fontsize=16,PrimaryColour=&H00ffffff,BackColour=&H00000000,OutlineColour=&H00000000,Bold=0,Italic=0,Alignment=2,BorderStyle=1,Outline=0.3,Shadow=1,MarginL=20,MarginR=20,MarginV=32 --sub-codepage=ISO-8859-6 --vid=1 --alang=eng --slang=eng --sub-pos=100 --volume=148 --cache=auto --screenshot-template=%F%p%02n --screenshot-format=png --af-add=lavfi=[acompressor] --softvol=yes --softvol-max=200 --term-playing-msg=MPV_VERSION=${=mpv-version:} INFO_VIDEO_WIDTH=${=width} INFO_VIDEO_HEIGHT=${=height} INFO_VIDEO_ASPECT=${=video-params/aspect} INFO_VIDEO_FPS=${=container-fps:${=fps}} INFO_VIDEO_FORMAT=${=video-format} INFO_VIDEO_CODEC=${=video-codec} INFO_DEMUX_ROTATION=${=track-list/0/demux-rotation} 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/ahmed/Downloads/Best_Win_Of_My_Life_VSK3XWFkZGk_244.mkv
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. Warning: option --ass-force-style was replaced with --sub-ass-force-style and might be removed in the future. Error parsing option softvol (option not found) Setting commandline option --softvol=yes failed. Exiting... (Fatal error)