2018-09-09 07:17:49 +01:00
|
|
|
# mpv
|
|
|
|
|
|
|
|
> A audio/video player based on MPlayer.
|
2024-04-04 05:34:14 +01:00
|
|
|
> See also: `mplayer`, `vlc`.
|
2019-06-04 10:25:20 +01:00
|
|
|
> More information: <https://mpv.io>.
|
2018-09-09 07:17:49 +01:00
|
|
|
|
2023-12-17 04:46:32 +00:00
|
|
|
- Play a video or audio from a URL or file:
|
2018-09-09 07:17:49 +01:00
|
|
|
|
2023-12-17 04:46:32 +00:00
|
|
|
`mpv {{url|path/to/file}}'`
|
2020-10-27 11:06:41 +00:00
|
|
|
|
2018-09-09 07:17:49 +01:00
|
|
|
- Jump backward/forward 5 seconds:
|
|
|
|
|
|
|
|
`LEFT <or> RIGHT`
|
|
|
|
|
|
|
|
- Jump backward/forward 1 minute:
|
|
|
|
|
|
|
|
`DOWN <or> UP`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Decrease or increase playback speed by 10%:
|
2018-09-09 07:17:49 +01:00
|
|
|
|
|
|
|
`[ <or> ]`
|
|
|
|
|
2023-12-17 04:46:32 +00:00
|
|
|
- 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):
|
2018-09-09 07:17:49 +01:00
|
|
|
|
2023-12-17 04:46:32 +00:00
|
|
|
`mpv --speed {{0.01..100}} {{path/to/file}}`
|
2018-09-09 07:17:49 +01:00
|
|
|
|
|
|
|
- Play a file using a profile defined in the `mpv.conf` file:
|
|
|
|
|
2022-08-29 02:41:49 +01:00
|
|
|
`mpv --profile {{profile_name}} {{path/to/file}}`
|
2020-10-05 14:54:52 +01:00
|
|
|
|
|
|
|
- Display the output of webcam or other video input device:
|
|
|
|
|
|
|
|
`mpv /dev/{{video0}}`
|