11

does anybody know, if it is possible to set default displayed time format including milliseconds in mpv.conf ?

Now I need click on time to switch to millisecnds, because option ,,timems'' from manual https://mpv.io/manual/master/ doesn't work.

Thanks for help Peter

user2432166
  • 151
  • 1
  • 8

3 Answers3

12

OSC (ON SCREEN CONTROLLER)

from window:

click the LEFT timestamp

from command:

mpv .. --script-opts=osc-timems=yes ..

or add in lua-settings/osc.conf:

timems=yes
David Buck
  • 3,752
  • 35
  • 31
  • 35
yakuv
  • 121
  • 1
  • 3
6

mpv --osd-fractions --osd-level=2 or add to config

To toggle show - hide with keyboard, append to to input.conf:

 o cycle-values osd-level 2 1
#^-- or any other key
Arch Stanton
  • 382
  • 5
  • 14
yaku
  • 61
  • 1
  • 2
4

yes, add the line osd-fractions to mpv.config. this will show milliseconds in the OSD (which will appear in mpv's terminal display).

if you want to see milliseconds in the OSC (in the video window), also add the line osd-level=2 to mpv.conf. this will add a status message with the OSD time display (which is now in milliseconds) to the top of the window.

Or you can click the time display on the video each time you load a video.

Default
  • 684
  • 9
  • 19
hb_
  • 332
  • 4
  • 14
  • Thanks, using osd-fractions together with osd-level=2 now works for OSD. But I suppose the same is not possible for time display? I need to click each time I load video. – user2432166 Nov 15 '18 at 09:56
  • For some reason I had to name the config file `mpv.conf` on my system. `mpv.config` does not get read. – Dominik Apr 25 '20 at 18:55