Commit f7d41fae authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

otr fertig

parent a0b78cf4
......@@ -7,7 +7,7 @@
# Teilweise gibt es Probleme mit der Syncronität Bild<->Ton, daher dringen auf den Präsentationslaptops ausprobieren.
DEVICE="VGA"
AUDIO=1
AUDIO=0
info=$(xrandr | grep $DEVICE)
res=$(echo $info | grep -Eo '[0-9]+x[0-9]+')
......@@ -33,9 +33,9 @@ fi
if [ $AUDIO -eq 1 ]
then
audiocmd="-f alsa -ac 2 -i hw:0,0 -r 15 -c:a pcm_s16le"
audiocmd="-f alsa -ac 2 -i hw:0,0 -r 25 -c:a pcm_s16le"
else
audiocmd="-an"
fi
$prog -f x11grab -s $res -r 15 -i :0.0$pos $audiocmd -c:v libx264 -crf 1 -preset:v fast $file
$prog -f x11grab -s $res -r 25 -i :0.0$pos $audiocmd -c:v libx264 -crf 1 -preset:v fast $file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment