Added abbreviation for displaying webcam with mpv

This commit is contained in:
Lucien Cartier-Tilet 2020-03-15 19:17:46 +01:00
parent 979fd31fe4
commit e5a1b32bde
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -46,6 +46,7 @@
- [[#feh][Feh]] - [[#feh][Feh]]
- [[#network-management][Network Management]] - [[#network-management][Network Management]]
- [[#nordvpn][NordVPN]] - [[#nordvpn][NordVPN]]
- [[#webcam][Webcam]]
- [[#wget][Wget]] - [[#wget][Wget]]
* Presentation * Presentation
@ -637,6 +638,19 @@
<<generate-abbr(table=nordvpn-abbr)>> <<generate-abbr(table=nordvpn-abbr)>>
#+END_SRC #+END_SRC
*** Webcam
:PROPERTIES:
:CUSTOM_ID: h-465adbc6-cad0-441a-9e54-f5e389e7362d
:END:
#+NAME: webcam-abbr
| abbreviation | command |
|--------------+------------------------------------------------------------------------------------------------------------------|
| webcam | mpv --no-border --demuxer-lavf-format=video4linux2 --demuxer-lavf-o-set=input_format=mjpeg av://v4l2:/dev/video0 |
#+BEGIN_SRC fish
<<generate-abbr(table=webcam-abbr)>>
#+END_SRC
*** Wget *** Wget
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h-74f84f1c-433d-488a-88a7-89915c1a3bd5 :CUSTOM_ID: h-74f84f1c-433d-488a-88a7-89915c1a3bd5