13 lines
244 B
Plaintext
13 lines
244 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
timestamp=`date "+%Y%m%d-%H%M%S"`
|
||
|
filename="screencast-$timestamp.mp4"
|
||
|
|
||
|
pavucontrol &
|
||
|
|
||
|
ffmpeg -f x11grab \
|
||
|
-s $(xdpyinfo | grep dimensions | awk '{print $2}') \
|
||
|
-i :0.0 \
|
||
|
-f pulse -i default \
|
||
|
$filename
|