From a55f0cdcfa6d8445842744c81308c5ad7c603c6a Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 3 Jan 2011 23:42:06 +0100 Subject: [PATCH] also specify crf --- cap_lavc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cap_lavc.c b/cap_lavc.c index 4f348c9f..347495b4 100644 --- a/cap_lavc.c +++ b/cap_lavc.c @@ -23,6 +23,7 @@ static cvar_t cl_capturevideo_lavc_aoptions = {CVAR_SAVE, "cl_capturevideo_lavc_ static cvar_t cl_capturevideo_lavc_format = {CVAR_SAVE, "cl_capturevideo_lavc_format", "mp4", "video format to use"}; static cvar_t cl_capturevideo_lavc_vcodec = {CVAR_SAVE, "cl_capturevideo_lavc_vcodec", "libx264", "video codec to use"}; static cvar_t cl_capturevideo_lavc_voptions = {CVAR_SAVE, "cl_capturevideo_lavc_voptions", + /* sane */ "crf=23 " /* medium */ "coder=1 flags=+loop cmp=+chroma partitions=+parti8x8+parti4x4+partp8x8+partb8x8 me_method=hex subq=7 me_range=16 g=250 keyint_min=25 sc_threshold=40 i_qfactor=0.71 b_strategy=1 qcomp=0.6 qmin=10 qmax=51 qdiff=4 bf=3 refs=3 directpred=1 trellis=1 flags2=+bpyramid+mixed_refs+wpred+dct8x8+fastpskip wpredp=2 " /* baseline */ "coder=0 bf=0 flags2=-wpred-dct8x8 wpredp=0", "space separated key=value pairs for video encoder flags"}; -- 2.39.2