No sound in SMPlayer after mpv update

Problems, bugs, suggestions... anything related to SMPlayer.

No sound in SMPlayer after mpv update

Postby aamadis » Mon Apr 17, 2017 9:14 pm

I just did a general software update and sound has stopped in SMPlayer only. I get sound in all other audio devices. I figured out that if I switch to mplayer as my multimedia engine, then sound returns, so it seems to be a problem with mpv. I definitely tried changing audio drivers in SMPlayer but none of them worked as long as mpv was chosen as the multimedia engine. Looking at the recent updates, sure enough, there was an update to mpv (2.24.0+git7~xenial1, 2.24.0+git10~xenial). However sound plays fine in the standalone mpv player. I'm not sure if this is something I should bring up here or with the mpv folks. Since it's only happening with SMPlayer I thought I'd start here.
aamadis
 
Posts: 6
Joined: Thu Sep 22, 2016 3:31 am

Re: No sound in SMPlayer after mpv update

Postby rvm » Mon Apr 17, 2017 9:23 pm

Maybe it's because mpv removed the drc filter. If you were using the "volume normalization" filter in smplayer, turn it off.
rvm
Site Admin
 
Posts: 2868
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: No sound in SMPlayer after mpv update

Postby aamadis » Mon Apr 17, 2017 9:33 pm

Tried that, as well as switching on/off all the options in audio preferences, but none worked.
aamadis
 
Posts: 6
Joined: Thu Sep 22, 2016 3:31 am

Re: No sound in SMPlayer after mpv update

Postby rvm » Mon Apr 17, 2017 9:42 pm

Please, send the mpv log.
rvm
Site Admin
 
Posts: 2868
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: No sound in SMPlayer after mpv update

Postby aamadis » Mon Apr 17, 2017 9:53 pm

/usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-file=/dev/stdin --no-fs --hwdec=auto --sub-auto=fuzzy --vo=xv, --audio-device=pulse/alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1 --ao=pulse, --framedrop=vo --mc=100 --stop-screensaver --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=81790133 --monitorpixelaspect=1 --osd-scale=1 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=1 --sub-font=Arial --sub-color=#ffffffff --sub-shadow-color=#ff000000 --sub-border-color=#ff000000 --sub-border-size=2.5 --sub-shadow-offset=5 --sub-font-size=50 --sub-bold=no --sub-italic=no --sub-codepage=ISO-8859-1 --sub-forced-only --aid=1 --sub-pos=100 --volume=52 --cache=auto --osd-level=0 --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --screenshot-directory=/home/adriene-amadis/Pictures/smplayer_screenshots --audio-channels=2 --af-add=drc=1 --audio-pitch-correction=yes --af-add=equalizer=0:0:0:0:0:0:0:0:0:0 --volume-max=100 --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}
--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} /mnt/Karna/Vids/Planet.Earth.II.576p.BluRay.DD5.1.x264-HiSD/Planet.Earth.II.E04.Deserts.576p.BluRay.DD5.1.x264-HiSD.mkv

Playing: /mnt/Karna/Vids/Planet.Earth.II.576p.BluRay.DD5.1.x264-HiSD/Planet.Earth.II.E04.Deserts.576p.BluRay.DD5.1.x264-HiSD.mkv
(+) Video --vid=1 (*) (h264 720x576 25.000fps)
(+) Audio --aid=1 (*) (ac3 6ch 48000Hz)
[vo/xv] Warning: this legacy VO has bad quality and performance, and will in particular result in blurry OSD and subtitles. You should fix your graphics drivers, or not force the xv VO.
[drc] libavfilter filter 'drc' not found!
Couldn't create or open audio filter 'drc'
Error at audio filter chain pre-init!
Audio: no audio
Using hardware decoding (vdpau-copy).
Using conversion filter.
VO: [xv] 720x576 => 1024x576 yuv420p
MPV_VERSION=mpv git-dc5dfa5
INFO_VIDEO_WIDTH=720
INFO_VIDEO_HEIGHT=576
INFO_VIDEO_ASPECT=1.777778
INFO_VIDEO_FPS=25.000000
INFO_VIDEO_FORMAT=h264
INFO_VIDEO_CODEC=h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
INFO_AUDIO_FORMAT=
INFO_AUDIO_CODEC=
INFO_AUDIO_RATE=
INFO_AUDIO_NCH=
INFO_LENGTH=3490.047000
INFO_DEMUXER=mkv
INFO_SEEKABLE=yes
INFO_TITLES=
INFO_CHAPTERS=6
INFO_TRACKS_COUNT=2
METADATA_TITLE=
METADATA_ARTIST=
METADATA_ALBUM=
METADATA_GENRE=
METADATA_DATE=
METADATA_TRACK=
METADATA_COPYRIGHT=
INFO_MEDIA_TITLE=Planet.Earth.II.E04.Deserts.576p.BluRay.DD5.1.x264-HiSD.mkv
INFO_STREAM_PATH=/mnt/Karna/Vids/Planet.Earth.II.576p.BluRay.DD5.1.x264-HiSD/Planet.Earth.II.E04.Deserts.576p.BluRay.DD5.1.x264-HiSD.mkv
INFO_VIDEO_DSIZE=1024x576
INFO_CHAPTER_0_NAME=(unnamed)
INFO_CHAPTER_1_NAME=(unnamed)
INFO_CHAPTER_2_NAME=(unnamed)
INFO_CHAPTER_3_NAME=(unnamed)
INFO_CHAPTER_4_NAME=(unnamed)
INFO_CHAPTER_5_NAME=(unnamed)
INFO_TRACK_0: video 1 '' '' yes
INFO_TRACK_1: audio 1 '' '' no
aamadis
 
Posts: 6
Joined: Thu Sep 22, 2016 3:31 am

Re: No sound in SMPlayer after mpv update

Postby rvm » Tue Apr 18, 2017 12:21 am

aamadis wrote:[drc] libavfilter filter 'drc' not found!
Couldn't create or open audio filter 'drc'
Error at audio filter chain pre-init!
Audio: no audio


Definitely it's caused by the removal of the drc. Turn off the volume normalization in preferences -> general -> audio but also turn off the option to remember settings for all files in preferences -> general. Otherwise smplayer will still try to use the drc filter with the videos already played before.

Another way, add --af-del=0 in preferences -> advanced -> mplayer/mpv -> options. (This disables all audio filters).

Or you can download and compile the version of smplayer in svn, since the problem is already fixed in svn.
rvm
Site Admin
 
Posts: 2868
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: No sound in SMPlayer after mpv update

Postby aamadis » Tue Apr 18, 2017 3:24 am

Both suggestions worked. :mrgreen: Thanks for taking the time to help me with this.

Adriene
aamadis
 
Posts: 6
Joined: Thu Sep 22, 2016 3:31 am

Re: No sound in SMPlayer after mpv update

Postby indig0F10w » Sun Apr 23, 2017 9:40 am

Greetings, I finally got the "activation email" after many, many tries...

I also had no sound and the fix was to switch multimedia engine from mpv to mplayer.

System: Windows 10 x64

Edit: working until player restart. SMPlayer doesn't save "--af-del=0" in options neither remembers the engine change. The issue presists in 17.4.2.
indig0F10w
 
Posts: 2
Joined: Sun Apr 23, 2017 9:21 am

Re: No sound in SMPlayer after mpv update

Postby indig0F10w » Mon Apr 24, 2017 9:23 am

TL:DR Install appropriate version - 64 bit or 32 bit, depending on your system.

If you lost sound after update to 17.4.2 just install the version for your system architecture. Since 32 bit version is the "default" download mine got broken after update. SMPlayer did not remember engine options, sound options and I don't know what else. Uninstalled and everything got fixed after installing the 64 bit version.
indig0F10w
 
Posts: 2
Joined: Sun Apr 23, 2017 9:21 am


Return to General

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests