mkdocs-benoit.jp.net/docs/Howtos/HowtoEncoding.md

18 lines
592 B
Markdown
Raw Normal View History

2021-02-20 06:06:15 +00:00
## Convert
2019-07-26 09:28:05 +00:00
2021-02-20 06:06:15 +00:00
### MKV to WebM
2019-07-26 09:28:05 +00:00
2021-02-20 06:06:15 +00:00
```console
2019-07-26 09:28:05 +00:00
$ ffmpeg -i input.mkv -c:v libvpx -qmin 0 -qmax 50 -crf 10 -b:v 2M -c:a libvorbis output.webm
2021-02-20 06:06:15 +00:00
```
2019-07-26 09:28:05 +00:00
2021-02-20 06:06:15 +00:00
## Recording Screen
2017-11-30 09:40:43 +00:00
2021-02-20 06:06:15 +00:00
### Within a specified zone
2017-11-30 09:40:43 +00:00
2021-02-20 06:06:15 +00:00
```console
$ avconv -threads auto -f pulse -i bluez_sink.0C_E0_E4_81_2F_C1.monitor -ac 2 -f pulse -i alsa_input.usb-BLUE_MICROPHONE_Blue_Snowball_201306-00-Snowball.analog-mono -ac 1 -f x11grab -show_region 1 -s 1024x768 -i :0.0+112,111 -c:v libvpx -pre:v libvpx-720p -vsync cfr -r 15 -c:a libvorbis -q:a 6 -filter_complex amix=inputs=2 output.webm
2017-11-30 09:40:43 +00:00
```
2021-02-20 06:06:15 +00:00
With sound from microphone and monitor of input.