mpv, pw-cat: update page; mpv: add pt_BR translation (#11734)

* mpv: merge file and URL playing examples

* mpv: add screenshot example

* mpv: move speed range to placeholder

* mpv: add pt_BR translation

* mpv: translate or in pt_BR

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* mpv: fix: moving pt_BR translation to common/

* pw-cat: add quality example

* mpv: replace url example with "url"

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* mpv: use English versions of keys in pt_BR

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* mpv, pw-cat: fix verb tenses and use relative path in screenshot

Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>
pull/23/head
Vitor Henrique 2023-12-17 01:46:32 -03:00 committed by GitHub
parent afb9b61f9c
commit 3e9e229f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 8 deletions

36
pages.pt_BR/common/mpv.md Normal file
View File

@ -0,0 +1,36 @@
# mpv
> Um tocador de vídeo/audio baseado no MPlayer.
> Mais informações: <https://mpv.io>.
- Toca um vídeo ou áudio de uma URL ou arquivo:
`mpv {{url|caminho/para/arquivo}}'`
- Avança/retrocede 5 segundos:
`LEFT <or> RIGHT`
- Avança/retrocede 1 minuto:
`DOWN <or> UP`
- Aumenta ou diminui a velocidade de reprodução em 10%:
`[ <or> ]`
- Captura a imagem atual (salva em `./mpv-shotNNNN.jpg` por padrão):
`s`
- Toca um arquivo em uma velocidade especificada (1 por padrão):
`mpv --speed {{0.01..100}} {{caminho/para/arquivo}}`
- Toca um arquivo usando um perfil definido no arquivo `mpv.conf`:
`mpv --profile {{nome_do_perfil}} {{caminho/para/arquivo}}`
- Mostra a saída da webcam ou de outro dispositivo de entrada de vídeo:
`mpv /dev/{{video0}}`

View File

@ -3,13 +3,9 @@
> A audio/video player based on MPlayer.
> More information: <https://mpv.io>.
- Play a video or audio file:
- Play a video or audio from a URL or file:
`mpv {{path/to/file}}`
- Play a video or audio file from a URL:
`mpv '{{https://www.youtube.com/watch?v=dQw4w9WgXcQ}}'`
`mpv {{url|path/to/file}}'`
- Jump backward/forward 5 seconds:
@ -23,9 +19,13 @@
`[ <or> ]`
- Play a file at a specified speed (0.01 to 100, default 1):
- Take a screenshot of the current frame (saved to `./mpv-shotNNNN.jpg` by default):
`mpv --speed {{speed}} {{path/to/file}}`
`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:

View File

@ -7,6 +7,10 @@
`pw-cat --playback {{path/to/file.wav}}`
- Play a WAV file with a specified resampler quality (4 by default):
`pw-cat --quality {{0..15}} --playback {{path/to/file.wav}}`
- Record a sample recording at a different volume level:
`pw-cat --record --volume={{0.1}} {{path/to/file.wav}}`