summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaitaroHikami <19552720+RaitaroH@users.noreply.github.com>2018-02-16 20:10:54 +0200
committerGitHub <noreply@github.com>2018-02-16 20:10:54 +0200
commitc43a2797422db256c17d6236eeb96ec905bd0cbb (patch)
tree3d56c4d629af9a1a81230a187ffa47e68f930d27
parent9a02be2a37093ebc0f904393edfac70e4968f8e9 (diff)
downloadeibhear-c43a2797422db256c17d6236eeb96ec905bd0cbb.tar.gz
eibhear-c43a2797422db256c17d6236eeb96ec905bd0cbb.tar.zst
eibhear-c43a2797422db256c17d6236eeb96ec905bd0cbb.zip
fix Past duration too large
-rwxr-xr-x.config/Scripts/screencast_pulse.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/Scripts/screencast_pulse.sh b/.config/Scripts/screencast_pulse.sh
index bb1b5b5..8491606 100755
--- a/.config/Scripts/screencast_pulse.sh
+++ b/.config/Scripts/screencast_pulse.sh
@@ -14,9 +14,11 @@ filename="$HOME/screencast$n.mkv"
ffmpeg -y \
-f x11grab \
+-framerate 60 \
-s $(xdpyinfo | grep dimensions | awk '{print $2;}') \
-i :0.0 \
-f alsa -i default \
+-r 30 \
-c:v libx264 -r 30 -c:a flac $filename
#-c:v ffvhuff -r 30 -c:a flac $filename
#-f pulse -ac 1 -ar 44100 -i default \