2025-03-14 21:59:59 -06:00
|
|
|
# mpv
|
|
|
|
|
|
|
|
|
|
> A audio/video player based on MPlayer.
|
|
|
|
|
> See also: `mplayer`, `vlc`.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://mpv.io/manual/stable/>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Play a video or audio from a URL or file:
|
|
|
|
|
|
|
|
|
|
`mpv {{url|path/to/file}}`
|
|
|
|
|
|
|
|
|
|
- Jump backward/forward 5 seconds:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`{{<ArrowLeft>|<ArrowRight>}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Jump backward/forward 1 minute:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`{{<ArrowDown>|<ArrowUp>}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Decrease or increase playback speed by 10%:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`{{<[>|<]>}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-04-25 19:33:51 -06:00
|
|
|
- Add subtitles from a file:
|
|
|
|
|
|
|
|
|
|
`mpv --sub-file={{path/to/file}}`
|
|
|
|
|
|
2025-03-14 21:59:59 -06:00
|
|
|
- Take a screenshot of the current frame (saved to `./mpv-shotNNNN.jpg` by default):
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`<s>`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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}}`
|