snippetbashTip
mpv — A audio/video player based on MPlayer. See also: `mplayer`, `vlc`. More information: <https://mpv.io
Viewed 0 times
commandmpvcliaudiovideobasedplayermplayer
Problem
How to use the
mpv command: A audio/video player based on MPlayer. See also: mplayer, vlc. More information: <https://mpv.io/manual/stable/>.Solution
mpv — A audio/video player based on MPlayer. See also: mplayer, vlc. More information: <https://mpv.io/manual/stable/>.Play a video or audio from a URL or file:
mpv {{url|path/to/file}}Jump backward/forward 5 seconds:
{{<ArrowLeft>|<ArrowRight>}}Jump backward/forward 1 minute:
{{<ArrowDown>|<ArrowUp>}}Decrease or increase playback speed by 10%:
{{<[>|<]>}}Add subtitles from a file:
mpv --sub-file={{path/to/file}}Take a screenshot of the current frame (saved to
mpv-shotNNNN.jpg by default):<s>Play a file at a specified speed (1 by default):
mpv --speed {{0.01..100}} {{path/to/file}}Play a file using a profile defined in the
mpv.conf file:mpv --profile {{profile_name}} {{path/to/file}}Code Snippets
Play a video or audio from a URL or file
mpv {{url|path/to/file}}Jump backward/forward 5 seconds
{{<ArrowLeft>|<ArrowRight>}}Jump backward/forward 1 minute
{{<ArrowDown>|<ArrowUp>}}Decrease or increase playback speed by 10%
{{<[>|<]>}}Add subtitles from a file
mpv --sub-file={{path/to/file}}Context
tldr-pages: common/mpv
Revisions (0)
No revisions yet.