ref: 2c3bae25d0922b660786b9ba7e2a981a6d0badb8
parent: d0d9578b83591f9cd1c3d88b8c950e367f40a955
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Aug 8 11:24:24 EDT 2021
default GOP to fps×2
--- a/hj264.c
+++ b/hj264.c
@@ -362,7 +362,7 @@
kbps = 0;
fps = 30;
qp = 33;
- gop = 2*fps;
+ gop = -1;
fmt = FmtIVF;
ARGBEGIN{
case 'd':
@@ -409,6 +409,8 @@
quality = Maxquality;
if(kbps < 0)
kbps = 0;
+ if(gop < 0)
+ gop = 2*fps;
if(argc != 1)
usage();