diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/stream | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -189,7 +189,8 @@ encode_vp8() { bitrate=$1; speed=$2; -b:v $bitrate -minrate $bitrate -maxrate $bitrate \ -undershoot-pct 95 -bufsize $((6000*bitrate/1000)) -rc_init_occupancy $((4000*bitrate/1000)) \ -max-intra-rate 0 \ - -qmin 4 -qmax 56" + -qmin 4 -qmax 56 \ + -force_key_frames expr:gte(t,n_forced*2)" } encode_x264() { bitrate=$1; speed=$2; echo_n "-codec:v libx264 -preset $speed -tune zerolatency \ |