2018-09-09 08:17:49 +02:00
|
|
|
# mpv
|
|
|
|
|
|
|
|
> A audio/video player based on MPlayer.
|
2024-04-04 01:34:14 -03:00
|
|
|
> See also: `mplayer`, `vlc`.
|
2019-06-04 10:25:20 +01:00
|
|
|
> More information: <https://mpv.io>.
|
2018-09-09 08:17:49 +02:00
|
|
|
|
2023-12-17 01:46:32 -03:00
|
|
|
- Play a video or audio from a URL or file:
|
2018-09-09 08:17:49 +02:00
|
|
|
|
2024-11-07 09:27:03 +09:00
|
|
|
`mpv {{url|path/to/file}}`
|
2020-10-27 11:06:41 +00:00
|
|
|
|
2018-09-09 08:17:49 +02:00
|
|
|
- Jump backward/forward 5 seconds:
|
|
|
|
|
2025-03-09 03:23:24 +02:00
|
|
|
`{{<ArrowLeft>|<ArrowRight>}}`
|
2018-09-09 08:17:49 +02:00
|
|
|
|
|
|
|
- Jump backward/forward 1 minute:
|
|
|
|
|
2025-03-09 03:23:24 +02:00
|
|
|
`{{<ArrowDown>|<ArrowUp>}}`
|
2018-09-09 08:17:49 +02:00
|
|
|
|
2021-08-15 19:59:09 +02:00
|
|
|
- Decrease or increase playback speed by 10%:
|
2018-09-09 08:17:49 +02:00
|
|
|
|
2025-03-09 03:23:24 +02:00
|
|
|
`{{<[>|<]>}}`
|
2018-09-09 08:17:49 +02:00
|
|
|
|
2023-12-17 01:46:32 -03:00
|
|
|
- Take a screenshot of the current frame (saved to `./mpv-shotNNNN.jpg` by default):
|
|
|
|
|
2025-03-09 03:23:24 +02:00
|
|
|
`<s>`
|
2023-12-17 01:46:32 -03:00
|
|
|
|
|
|
|
- Play a file at a specified speed (1 by default):
|
2018-09-09 08:17:49 +02:00
|
|
|
|
2024-10-13 18:33:01 +02:00
|
|
|
`mpv --speed {{0.01..100}} {{path/to/file}}`
|
2018-09-09 08:17:49 +02:00
|
|
|
|
|
|
|
- Play a file using a profile defined in the `mpv.conf` file:
|
|
|
|
|
2022-08-28 21:41:49 -04:00
|
|
|
`mpv --profile {{profile_name}} {{path/to/file}}`
|
2020-10-05 18:54:52 +05:00
|
|
|
|
|
|
|
- Display the output of webcam or other video input device:
|
|
|
|
|
2024-06-11 06:47:57 +02:00
|
|
|
`mpv {{/dev/video0}}`
|