Skip to content

Commit d3f7827

Browse files
committed
Setting keyframe rate to ever 60 frames (2 seconds at 30fps)
Signed-off-by: Tyler Marques <me@tylermarques.com>
1 parent 334950d commit d3f7827

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

twitch-streamer/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ sleep 5 # let the page load or animations start
4141
# - For audio: pulse from the "default" device
4242
# Adjust your bitrate, resolution, frame rate, etc. as desired.
4343
exec ffmpeg -y \
44+
-g 60 \
4445
-f x11grab -thread_queue_size 512 -r 30 -s 1920x1080 -i $DISPLAY \
4546
-f pulse -thread_queue_size 512 -i default \
4647
-c:v libx264 -preset veryfast -b:v 6000k -maxrate 6000k -bufsize 12000k \

0 commit comments

Comments
 (0)