Merge pull request #23 from RaitaroH/master

fix Past duration too large
This commit is contained in:
Luke Smith 2018-02-16 13:18:41 -05:00 committed by GitHub
commit f1366ff22b

View file

@ -14,9 +14,11 @@ filename="$HOME/screencast$n.mkv"
ffmpeg -y \ ffmpeg -y \
-f x11grab \ -f x11grab \
-framerate 60 \
-s $(xdpyinfo | grep dimensions | awk '{print $2;}') \ -s $(xdpyinfo | grep dimensions | awk '{print $2;}') \
-i :0.0 \ -i :0.0 \
-f alsa -i default \ -f alsa -i default \
-r 30 \
-c:v libx264 -r 30 -c:a flac $filename -c:v libx264 -r 30 -c:a flac $filename
#-c:v ffvhuff -r 30 -c:a flac $filename #-c:v ffvhuff -r 30 -c:a flac $filename
#-f pulse -ac 1 -ar 44100 -i default \ #-f pulse -ac 1 -ar 44100 -i default \