shithub: hj264

Download patch

ref: cb5dc8c2b2901b59544255959b5bc8867bfc4ff9
parent: fe02bf0c27a687383d02f0ca9e3e10eb88626b0a
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Tue Jul 20 05:46:22 EDT 2021

default to lowest quality and gop to every two seconds

--- a/hj264.c
+++ b/hj264.c
@@ -336,11 +336,11 @@
 	/* use NPROC-1 threads by default */
 	nthreads = ((s = getenv("NPROC")) != nil) ? atoi(s)-1 : 1;
 	denoise = 0;
-	quality = 10;
+	quality = 0;
 	kbps = 0;
 	fps = 30;
 	qp = 33;
-	gop = 20;
+	gop = 2*fps;
 	fmt = FmtIVF;
 	ARGBEGIN{
 	case 'd':