Recent MPV changes broke OSD

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

Recent MPV changes broke OSD

Postby ausr » Sat Aug 12, 2017 6:27 am

Version: 17.8.0 (revision 8621)
Using Qt 4.8.7 (compiled with Qt 4.8.7)
Using MPV b2fb3f1-amended
----------------------------------------------------------------------------------------------------------
mpv b2fb3f1-amended (C) 2000-2017 mpv/MPlayer/mplayer2 projects
built on Fri Aug 11 03:22:03 UTC 2017
ffmpeg library versions:
libavutil 55.69.101
libavcodec 57.102.100
libavformat 57.76.100
libswscale 4.7.101
libavfilter 6.97.100
libswresample 2.8.100
ffmpeg version: git-2017-08-04-44e9783
----------------------------------------------------------------------------------------------------------
OS: Ubuntu 16.04

After the update no more OSD on volume change, seek etc. :( Subtitle works though!

In ~/.config/smplayer/smplayer.ini
Code: Select all
osd=1
osd_delay=2200
osd_scale=1
subfont_osd_scale=3
osd_fractions=false
dec_osd_scale=Shift+Y
inc_osd_scale=Shift+U
next_osd=O
osd_menu=
osd_none=
osd_seek=
osd_timer=
osd_total=
show_info_osd=Shift+I
osd_fractions=
mpv_osd_media_info=
mplayer_osd_media_info=


In mpv log:
Code: Select all
[input] Command 'osd' not found.
[input] Command was defined at input_file.


In SmPlayer log:
Code: Select all
[10:53:30:546] Core::setOSDFractions: 0
[10:53:30:546] PlayerProcess::writeToStdin: no-osd set osd-fractions no
[10:53:30:546] MPVProcess::parseLine: "[input] Command 'osd' not found."
[10:53:30:547] MPVProcess::parseLine: "[input] Command was defined at input_file."
ausr
 
Posts: 7
Joined: Thu Mar 03, 2016 5:06 pm

Re: Recent MPV changes broke OSD

Postby GeneBenson » Sat Aug 12, 2017 7:24 am

Hi ausr,

I got the same thing. Looking at the MPV website/change log it would appear that the command "osd" has been deprecated. As a workaround you can add: --osd-level=x
in SMPlayer -> Preferences -> Advanced -> MPlayer/mpv -> Options.

--osd-level=<0-3>

Specifies which mode the OSD should start in.
0: OSD completely disabled (subtitles only)
1: enabled (shows up only on user interaction)
2: enabled + current time visible by default
3: enabled + --osd-status-msg (current time and status by default)

Works for me. :D
GeneBenson
 
Posts: 29
Joined: Thu May 14, 2015 7:14 am

Re: Recent MPV changes broke OSD

Postby ausr » Sat Aug 12, 2017 4:00 pm

Hello GeneBenson,
Thanks, that indeed works. :D
ausr
 
Posts: 7
Joined: Thu Mar 03, 2016 5:06 pm

Re: Recent MPV changes broke OSD

Postby rvm » Sat Aug 12, 2017 9:34 pm

I think the problem is fixed in svn r8623.
rvm
Site Admin
 
Posts: 2769
Joined: Wed Dec 23, 2009 1:25 am
Location: España


Return to General

Who is online

Users browsing this forum: Bing [Bot] and 1 guest