1

mpv

FILE


# Playback Control

CommandInputDescription
SpeedSlow down or speed up playback by the factor given as parameter. More Info
Seek StartSeek to a given time position. Format: [+|-][[hh:]mm:]ss[.ms]. More Info
Seek EndStop at a given time. Format: [+|-][[hh:]mm:]ss[.ms]. More Info
Seek LengthStop after a given time relative to the start time. Format: [+|-][[hh:]mm:]ss[.ms]. More Info
Play by FramesPlay the first NUMBER of frames, then quit. More Info
PausePlace the player in a paused stated. More Info
Shuffle FilesPlay files in random order. More Info

# Loops

CommandInputDescription
Loop Through PlaylistLoops through the entire playlist. Accepts: inf (Infinite), no (Disable loop),[NUMBER] (Total loops). More Info
Loop A FileLoops a single file. Accepts: inf (Infinite), no (Disable loop),[NUMBER] (Total loops). More Info
A/B Looping
Set loop points. Loops from point a to b. Looping will start when video reaches between a or b. Format: [[hh:]mm:]ss[.ms]. More Info
A/B Loop CountNumber of times to loop A/B points. Default: inf. Accepts: inf (Infinite) & [NUMBER]. More Info

# Video

CommandInputDescription
Prioritize Video Output DriversSpecify a priority list of video output drivers to use. Video Output Drivers | More Info
Prioritize Video DecodersSpecify a priority list of video decoders to use. More Info
Video FiltersSpecify a list of video filters to apply to a video stream. Video Filters List | Filter Syntax | More Info
Scale Multiplier
Scale the video display size by a multiple. Default: 1.0. More Info
Position Multiplier

Moves the video display by a fraction of its size. More Info
Pan and ScanEnables pan-and-scan functionality. Attempts to crop a 16:9 video into a 4:3 display.NUMBER determines how much of the image is cropped. More Info
Video UnscaledDisable scaling of the video. This disables the effects of Pan and Scan. More Info
Override AspectOverride video aspect ratio. Accepts: W:H or DECIMAL(ratio), 0 (Disables ratio handling). More Info
Frame DropSkip displaying some frames to maintain audio/video sync. More Info
Video SyncDetermines how the player synchronizes audio & video. More Info

# Audio

CommandInputDescription
VolumeSet volume on startup. More Info
MuteMute audio on startup. More Info
Audio FilesPlay audio from external file(s) while viewing a video. Use : (Unix) or ; (Windows) as separator. More Info
Prioritize Audio Output DriversSpecify a priority list of audio output drivers to use. Audio Output Drivers | More Info
Audio DecodersSpecify a priority list of audio decoders to use. More Info
Audio FiltersSpecify a list of audio filters to apply to an audio stream. Audio Filter List | Filter Syntax | More Info
Audio DelayDelay the audio in SECONDS. Positive values delay audio. Negative values delay video. More Info
Audio ChannelsControl which audio channels are output. More Info
Audio DisplayDetermines whether to display cover art when playing audio files and with what priority. Default: embedded-first. More Info

# Subtitles

CommandInputDescription
Subtitle FilesAdd a subtitle file to the list of external subtitles. Use : (Unix) or ; (Windows) as separator. More Info
Scale MultiplierSubtitle font size by scale factor. Default: 1. More Info
Vertical PositionSpecify the vertical position of the subtitle in PERCENT of the screen height. More Info
SpeedMultiply the subtitle event timestamps with the DECIMAL value. Only affects text subtitles. More Info
Subtitle DelayDelays subtitles by SECONDS. Values can be negative. More Info
Fix TimingAdjust subtitle timing to remove minor gaps or overlaps between subtitles. More Info
HideHide subtitles. More Info

# Font Style

CommandInputDescription
ColorSpecify the color of the unstyled subtitle font. Format: Red/Green/Blue/Alpha where each ranges from 0.0 to 1.0. More Info
Background ColorSpecify color for subtitle text background. Format: Red/Green/Blue/Alpha where each ranges from 0.0 to 1.0. More Info
SizeSpecify the subtitle font size. Default: 55. More Info
BoldMakes text subtitles bold. More Info
ItalicMakes text subtitles italic. More Info
Border ColorSpecify color for the subtitle font border. Format: Red/Green/Blue/Alpha where each ranges from 0.0 to 1.0. More Info
Border SizeSize of the sub font border in scaled pixels. 0 disables border. Default: 3. More Info
Shadow ColorSpecify the shadow color of the subtitle text. Format: Red/Green/Blue/Alpha where each ranges from 0.0 to 1.0. More Info
Shadow OffsetDisplacement of the sub text shadow in scaled pixels. Default: 0 (Disable shadows). More Info
Horizontal AlignmentCorner of the screen text subtitles should be horizontally aligned to. Default: center. More Info
Vertical AlignmentCorner of the screen text subtitles should be vertically aligned to. Default: bottom. More Info
Blur Effect MultiplierApply Gaussian blur by DECIMAL. Default: 0 (no blur). More Info

# Track Selection

CommandInputDescription
Prioritize Audio LanguagesSpecify a priority list of audio languages to use. Accepts: ISO 639-1 and ISO 639-2 language codes. More Info
Prioritize Subtitle LanguagesSpecify a priority list of subtitle languages to use. Accepts: ISO 639-1 and ISO 639-2 language codes. More Info
Prioritize Video LanguagesSpecify a priority list of video languages to use. Accepts: ISO 639-1 and ISO 639-2 language codes. More Info
Select Audio TrackSelect an audio track to use. Accepts: no, auto (selects default), and [NUMBER] (1 = first audio track). More Info
Select Subtitle StreamSelect a subtitle stream to use. Accepts: no, auto (selects default), and [NUMBER] (1 = first subtitle stream). More Info
Select Video ChannelSelect a video channel to use. Accepts: no, auto (selects default), and[NUMBER] (1 = first video channel). More Info
Subs & Audio MismatchWhen autoselecting a subtitle track, only show subtitles for foreign audio or onscreen text. More Info

# Playlist

CommandInputDescription
Playlist FilePlay files according to a playlist file. More Info
Playlist StartFrom the playlist, select the file to start with. Accepts: auto & [INDEX] (0 = first file in playlist). More Info
Allow Unsafe PlaylistsLoad URLs from playlists which are considered unsafe. More Info

# Chapters

CommandInputDescription
Chapter FileLoad chapters from this file, instead of main file. More Info
Ordered Chapter FilesLoads the given file as playlist, and tries to use the files contained in it as reference files when opening a Matroska file that uses ordered chapters. More Info
Select EditionMKV files only. Specify set of chapters (edition) to use, where 0 is the first set. Default: auto. More Info
No Ordered ChaptersDisable support for Matroska (.mkv) ordered chapters. More Info

# Image/Screenshot

CommandInputDescription
JPEG QualitySet the JPEG quality level for screenshots. Default: 90. More Info
PNG CompressionSet the PNG compression level. Default: 7. More Info
WebP QualitySet the WebP quality level. Default: 75. More Info
Webp CompressionSet the WEBP compression level. Default: 4. More Info
Screenshot FormatSet the image file type used for saving screenshots. Default: jpeg. More Info
No High Bit DepthDo not write screenshots with a bit depth similar to the source video. More Info
Screenshot DirectoryStore screenshots in this directory. If directory does not exist, it is created. More Info
Screenshot TemplateSpecify the filename template used to save screenshots. More Info
Display DurationIf an image, display it for SECONDS long. Accepts: SECONDS or inf (Infinite).More Info

# Equalizer

CommandInputDescription
BrightnessAdjust the brightness of the video. Not supported by all video output drivers. Default: 0. More Info
ContrastAdjust the contrast of the video. Not supported by all video output drivers. Default: 0. More Info
SaturationAdjust the saturation of the video. Not supported by all video output drivers. Default: 0. More Info
GammaAdjust the gamma of the video. Not supported by all video output drivers. Default: 0. More Info
HueAdjust the hue of the video. Not supported by all video output drivers. Default: 0. More Info

# Program Behavior

CommandInputDescription
Save Position on QuitSave the current playback position on quit. Only works when quitting normally! More Info

# Window

CommandInputDescription
TitleSet the window title. More Info
ScreenIn multi-monitor configurations, set screen to display the video on. More Info
Scale MultiplierResize the video window by a factor. More Info
FullScreenIn multi-monitor configurations, set screen to go fullscreen. Accepts 0-32, all, or current. More Info
No Window BorderDisable the standard window border & decorations. More Info
Stay On TopMakes the player window stay on top of other windows. More Info
Disable DraggingDisable moving the window when clicking on it and moving the mouse pointer. More Info

# Network

CommandInputDescription
User AgentSet the user agent for HTTP streaming. More Info
Support CookiesSupport cookies when making HTTP requests. More Info
Cookies FileRead HTTP cookies from FILE. Must be in Netscape format! More Info
HTTP HeadersSet custom HTTP fields when accessing HTTP stream. More Info
HTTP ProxyURL of the HTTP/HTTPS proxy. Ignored if it does not start with http://. More Info

# Devices

CommandInputDescription
CD-ROMSpecify the CD-ROM device. Default: /dev/cdrom. More Info
DVDSpecify the DVD device or .iso filename. Default: /dev/dvd. More Info
Blu-raySpecify the Blu-ray disc location. Must be a directory with Blu-ray structure. More Info
DVD SpeedTry to limit DVD speed. SPEED of at least 100 is in kB/s. SPEED less than 100 are multiples of 1385 kB/s. Default: 0. More Info
CD Audio SpeedSet spin speed for CD Audio. More Info