blob: 9d6ccfcc4ebcc55231cd73b455a89f1a9734af70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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
|