Display mode
Set the initial OSD mode.
| Level | Behavior |
|---|---|
0 | OSD completely disabled — only subtitles are rendered |
1 | OSD enabled; messages appear only on user interaction |
2 | OSD enabled; current playback time always visible |
3 | OSD enabled; full status (time, duration, and more) always visible |
Show the seek bar during seeks. To disable the OSD entirely, use
--osd-level=0 instead.What to display on the OSD when the user seeks.
no— show nothingbar— show only the seek barmsg— show only the time messagemsg-bar— show both the message and the bar
Show OSD timestamps with millisecond precision (
HH:MM:SS.mmm). Useful for identifying exact video frame positions.Message duration and content
How long OSD messages remain on screen, in milliseconds.
Message displayed at OSD level 1 (visible by default). Supports property expansion — for example,
${filename} inserts the current filename.Message displayed at OSD level 2. If empty (the default), shows the current playback time.
Message displayed at OSD level 3, and used by the
show-progress command (default binding: P) and when seeking with the msg or msg-bar seek modes. If empty, shows the playback time, duration, and additional status.Supersedes --osd-status-msg.Legacy equivalent of
--osd-msg3. Implicitly appends ${osd-sym-cc}. Ignored if --osd-msg3 is not empty. Prefer --osd-msg3.Show a message when playback starts. Expands properties.
How long
--osd-playing-msg stays on screen. Defaults to --osd-duration if unset.Font and text appearance
Font family name to use for OSD text.
Font size in scaled pixels. The actual display size depends on
--osd-scale and --osd-scale-by-window.Render OSD text in bold.
Render OSD text in italic.
Apply a Gaussian blur to the OSD font outline.
0 means no blur.Colors
Colors are specified asr/g/b (each component 0.0–1.0), with optional alpha as r/g/b/a, or as #RRGGBB / #AARRGGBB hex values. Alpha 0 is fully transparent, 1.0 is fully opaque.
Color of OSD text.
Color of the text outline.
--osd-border-color is an alias.Color of the text background (used with
--osd-border-style=opaque-box). --osd-shadow-color is an alias.Size of the OSD text outline in scaled pixels. Set to
0 to disable outlines. --osd-border-size is an alias.Style used for OSD text borders:
outline-and-shadow— standard text with outline and optional shadowopaque-box— solid background box behind each text linebackground-box— background box spanning all lines of text
Shadow displacement in scaled pixels.
0 disables shadows.Seek bar position and size
Horizontal position of the OSD seek bar.
-1 is left, 0 is centered, 1 is right.Vertical position of the OSD seek bar.
-1 is top, 0 is centered, 1 is bottom.Width of the OSD seek bar as a percentage of the screen width.
Height of the OSD seek bar as a percentage of the screen height.
Scale and position
Scale multiplier applied to
--osd-font-size. Values above 1 make the OSD larger.Scale OSD size with the window size. When disabled,
--osd-font-size is interpreted as literal pixels, and resizing the window does not change OSD size.Horizontal alignment of OSD text.
Vertical alignment of OSD text.
Left and right margin for OSD text in scaled pixels. Controls distance from the screen edge and the wrap point for long messages.
Top and bottom margin for OSD text in scaled pixels.