diff options
-rw-r--r-- | DOCS/man/de/mplayer.1 | 10 | ||||
-rw-r--r-- | DOCS/man/en/mplayer.1 | 11 | ||||
-rw-r--r-- | libmpcodecs/ve_lavc.c | 2 |
3 files changed, 12 insertions, 11 deletions
diff --git a/DOCS/man/de/mplayer.1 b/DOCS/man/de/mplayer.1 index 4994e7c80c..f7c0994758 100644 --- a/DOCS/man/de/mplayer.1 +++ b/DOCS/man/de/mplayer.1 @@ -6523,12 +6523,12 @@ Encoder und Glück schlecht sein kann. Für eine strikte Einhaltung von MPEG-1/2/4 müsste dieser Wert <=132 sein. . .TP -.B sc_threshold=<-1000000\-1000000> +.B sc_threshold=<-1000000000\-1000000000> Schwellenwert für die Erkennung eines Szenenwechsels. libavcodec fügt einen Keyframe ein, wenn er einen Szenenwechsel entdeckt. Mit dieser Option kannst du die Sensitivität dieser Erkennung bestimmen. --1000000 bedeutet, dass mit jedem Frame ein Szenenwechsel erkannt wird; -1000000 bedeutet, dass gar keine Szenenwechsel erkannt werden (Standard: 0). +-1000000000 bedeutet, dass mit jedem Frame ein Szenenwechsel erkannt wird; +1000000000 bedeutet, dass gar keine Szenenwechsel erkannt werden (Standard: 0). . .TP .B vb_strategy=<0\-1> @@ -7543,10 +7543,10 @@ Intra-DC-Genauigkeit in Bits (Standard: 8). Wenn du vcodec=mpeg2video angibst, kann dieser Wert 8, 9, 10 oder 11 sein. . .TP -.B cgop (siehe auch scenecut) +.B cgop (siehe auch sc_threshold) Schließt alle GOPs. Funktioniert momentan nur wenn die Szenenwechselerkennung deaktiviert ist -(scenecut=-1). +(sc_threshold=1000000000). . . .SS nuv (\-nuvopts) diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 4e86bedb4d..38e32d36c3 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -6331,12 +6331,12 @@ decoder, encoder and luck. For a strict MPEG-1/2/4 compliance this would have to be <=132. . .TP -.B sc_threshold=<-1000000\-1000000> +.B sc_threshold=<-1000000000\-1000000000> Threshold for scene change detection. A keyframe is inserted by libavcodec when it detects a scene change. You can specify the sensitivity of the detection with this option. --1000000 means there is a scene change detected at every frame, 1000000 means -no scene changes are detected (default: 0). +-1000000000 means there is a scene change detected at every frame, +1000000000 means no scene changes are detected (default: 0). . .TP .B vb_strategy=<0\-1> (pass one only) @@ -7309,9 +7309,10 @@ intra DC precision in bits (default: 8). If you specify vcodec=mpeg2video this value can be 8, 9, 10 or 11. . .TP -.B cgop (see also scenecut) +.B cgop (see also sc_threshold) Close all GOPs. -Currently it only works if scene change detection is disabled (scenecut=-1). +Currently it only works if scene change detection is disabled +(sc_threshold=1000000000). . . .SS nuv (\-nuvopts) diff --git a/libmpcodecs/ve_lavc.c b/libmpcodecs/ve_lavc.c index 2da31ca966..549a927e79 100644 --- a/libmpcodecs/ve_lavc.c +++ b/libmpcodecs/ve_lavc.c @@ -304,7 +304,7 @@ m_option_t lavcopts_conf[]={ {"border_mask", &lavc_param_border_masking, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 1.0, NULL}, #endif {"inter_threshold", &lavc_param_inter_threshold, CONF_TYPE_INT, CONF_RANGE, -1000000, 1000000, NULL}, - {"sc_threshold", &lavc_param_sc_threshold, CONF_TYPE_INT, CONF_RANGE, -1000000, 1000000, NULL}, + {"sc_threshold", &lavc_param_sc_threshold, CONF_TYPE_INT, CONF_RANGE, -1000000000, 1000000000, NULL}, {"top", &lavc_param_top, CONF_TYPE_INT, CONF_RANGE, -1, 1, NULL}, {"qns", &lavc_param_qns, CONF_TYPE_INT, CONF_RANGE, 0, 1000000, NULL}, {"nssew", &lavc_param_nssew, CONF_TYPE_INT, CONF_RANGE, 0, 1000000, NULL}, |