mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-11-10 02:59:37 +01:00
13 lines
136 B
Plaintext
13 lines
136 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
if [ -z "$1" ]
|
||
|
then
|
||
|
res="300"
|
||
|
else
|
||
|
res=$1
|
||
|
fi
|
||
|
|
||
|
v4l2-ctl --set-fmt-video=width=$res,height=$res
|
||
|
mpv /dev/video0
|
||
|
|