mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
23 lines
563 B
Diff
23 lines
563 B
Diff
diff --git a/src/capture.sh b/src/capture.sh
|
|
index a32b018..42f3936 100755
|
|
--- a/src/capture.sh
|
|
+++ b/src/capture.sh
|
|
@@ -9,7 +9,7 @@ set -e
|
|
#
|
|
|
|
scale="-1:-1"
|
|
-fps="15"
|
|
+fps="30"
|
|
raw_video="-vf fps=$fps -c:v utvideo -f nut"
|
|
raw_video_container=".nut"
|
|
|
|
@@ -18,7 +18,7 @@ raw_video_container=".nut"
|
|
# https://stackoverflow.com/questions/41372045/vp9-encoding-limited-to-4-threads
|
|
webm_video="-pix_fmt yuv420p -c:v libvpx-vp9 -crf 25 -b:v 0 -f webm -tile-columns 6 -frame-parallel 1 -threads 8"
|
|
|
|
-tmpdir="/var/tmp"
|
|
+tmpdir="/tmp"
|
|
|
|
|
|
# capture_raw ./foo.nut
|