mirror of https://github.com/mpv-player/mpv
XviD:
- "greyscale" is supported in the stable tree - a few typos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9807 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e75f013a11
commit
fb9e995db8
|
@ -3418,6 +3418,8 @@ use MPEG quantizers instead of H.263 (default=off)
|
||||||
.IPs mod_quant
|
.IPs mod_quant
|
||||||
decide whether to use MPEG or H.263 quantizers on a frame-by-frame basis.
|
decide whether to use MPEG or H.263 quantizers on a frame-by-frame basis.
|
||||||
(default=off, 2pass mode only)
|
(default=off, 2pass mode only)
|
||||||
|
.IPs greyscale
|
||||||
|
encode in black & white (default=off)
|
||||||
.IPs debug
|
.IPs debug
|
||||||
save per-frame statistics in xvid.dbg (default=off)
|
save per-frame statistics in xvid.dbg (default=off)
|
||||||
.br
|
.br
|
||||||
|
@ -3439,8 +3441,6 @@ not work as intended.
|
||||||
create a bitstream that can be decoded delay-free (default=off)
|
create a bitstream that can be decoded delay-free (default=off)
|
||||||
.IPs divx5bvop
|
.IPs divx5bvop
|
||||||
generate DivX5 compatible B-frames (default=on)
|
generate DivX5 compatible B-frames (default=on)
|
||||||
.IPs greyscale
|
|
||||||
encode in black & white (default=off)
|
|
||||||
.IPs qpel
|
.IPs qpel
|
||||||
enable quarter-pixel motion estimation (default=off)
|
enable quarter-pixel motion estimation (default=off)
|
||||||
.IPs gmc
|
.IPs gmc
|
||||||
|
@ -3450,7 +3450,7 @@ uses chroma information to estimate motion (default=off)
|
||||||
.IPs reduced
|
.IPs reduced
|
||||||
enable encoding reduced resolution frames (default=off)
|
enable encoding reduced resolution frames (default=off)
|
||||||
.IPs max_bframes=<0\-4>
|
.IPs max_bframes=<0\-4>
|
||||||
maximum number of B frames to put between I/P frames (default=0
|
maximum number of B frames to put between I/P frames (default=0)
|
||||||
.IPs bquant_ratio=<0\-1000>
|
.IPs bquant_ratio=<0\-1000>
|
||||||
quantizer ratio between B and non B frames, 150=1.50 (default=150)
|
quantizer ratio between B and non B frames, 150=1.50 (default=150)
|
||||||
.IPs bquant_offset=<-1000\-1000>
|
.IPs bquant_offset=<-1000\-1000>
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#warning ** **
|
#warning ** **
|
||||||
#warning ** Y O U '' R E U S I N G U N S T A B L E S O F T W A R E **
|
#warning ** Y O U '' R E U S I N G U N S T A B L E S O F T W A R E **
|
||||||
#warning ** **
|
#warning ** **
|
||||||
#warning ** Streams produced by this version aren''nt probably compatible **
|
#warning ** Streams produced by this version aren''t probably compatible **
|
||||||
#warning ** with anything else, even the xvid decoder itself. There are **
|
#warning ** with anything else, even the xvid decoder itself. There are **
|
||||||
#warning ** bugs, this code could crash, could blow up your PC or the **
|
#warning ** bugs, this code could crash, could blow up your PC or the **
|
||||||
#warning ** whole building ! **
|
#warning ** whole building ! **
|
||||||
|
@ -84,10 +84,10 @@ static int xvidenc_kfreduction = -1;
|
||||||
static int xvidenc_fixed_quant = 0;
|
static int xvidenc_fixed_quant = 0;
|
||||||
static int xvidenc_debug = 0;
|
static int xvidenc_debug = 0;
|
||||||
static int xvidenc_interlacing = 0;
|
static int xvidenc_interlacing = 0;
|
||||||
|
static int xvidenc_greyscale = 0;
|
||||||
#ifdef XVID_API_UNSTABLE
|
#ifdef XVID_API_UNSTABLE
|
||||||
static int xvidenc_packed = 0;
|
static int xvidenc_packed = 0;
|
||||||
static int xvidenc_divx5bvop = 1;
|
static int xvidenc_divx5bvop = 1;
|
||||||
static int xvidenc_greyscale = 0;
|
|
||||||
static int xvidenc_lumi_mask = 0;
|
static int xvidenc_lumi_mask = 0;
|
||||||
static int xvidenc_qpel = 0;
|
static int xvidenc_qpel = 0;
|
||||||
static int xvidenc_max_bframes = 0;
|
static int xvidenc_max_bframes = 0;
|
||||||
|
@ -122,10 +122,10 @@ struct config xvidencopts_conf[] = {
|
||||||
{ "fixed_quant", &xvidenc_fixed_quant, CONF_TYPE_INT, CONF_RANGE, 1, 31, NULL}, /* for XVID_MODE_FIXED_QUANT */
|
{ "fixed_quant", &xvidenc_fixed_quant, CONF_TYPE_INT, CONF_RANGE, 1, 31, NULL}, /* for XVID_MODE_FIXED_QUANT */
|
||||||
{ "debug", &xvidenc_debug, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
{ "debug", &xvidenc_debug, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||||
{ "interlacing", &xvidenc_interlacing, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
{ "interlacing", &xvidenc_interlacing, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||||
|
{ "greyscale", &xvidenc_greyscale, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||||
#ifdef XVID_API_UNSTABLE
|
#ifdef XVID_API_UNSTABLE
|
||||||
{ "packed", &xvidenc_packed, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
{ "packed", &xvidenc_packed, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||||
{ "divx5bvop", &xvidenc_divx5bvop, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
{ "divx5bvop", &xvidenc_divx5bvop, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||||
{ "greyscale", &xvidenc_greyscale, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
|
||||||
//{ "lumi_mask", &xvidenc_lumi_mask, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
//{ "lumi_mask", &xvidenc_lumi_mask, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||||
{ "extrastat", &xvidenc_xstat, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
{ "extrastat", &xvidenc_xstat, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||||
{ "qpel", &xvidenc_qpel, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
{ "qpel", &xvidenc_qpel, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||||
|
@ -186,7 +186,7 @@ config(struct vf_instance_s* vf,
|
||||||
"** **\n"
|
"** **\n"
|
||||||
"** Y O U ' R E U S I N G U N S T A B L E S O F T W A R E **\n"
|
"** Y O U ' R E U S I N G U N S T A B L E S O F T W A R E **\n"
|
||||||
"** **\n"
|
"** **\n"
|
||||||
"** Streams produced by this version aren'nt probably compatible **\n"
|
"** Streams produced by this version aren't probably compatible **\n"
|
||||||
"** with anything else, even the xvid decoder itself. There are **\n"
|
"** with anything else, even the xvid decoder itself. There are **\n"
|
||||||
"** bugs, this code could crash, could blow up your PC or the **\n"
|
"** bugs, this code could crash, could blow up your PC or the **\n"
|
||||||
"** whole building ! **\n"
|
"** whole building ! **\n"
|
||||||
|
@ -227,6 +227,8 @@ config(struct vf_instance_s* vf,
|
||||||
if (xvidenc_xstat)
|
if (xvidenc_xstat)
|
||||||
enc_param.global |= XVID_GLOBAL_EXTRASTATS;
|
enc_param.global |= XVID_GLOBAL_EXTRASTATS;
|
||||||
#endif
|
#endif
|
||||||
|
if (xvidenc_greyscale)
|
||||||
|
enc_param.global |= XVID_GREYSCALE;
|
||||||
enc_param.rc_reaction_delay_factor = xvidenc_rc_reaction_delay_factor;
|
enc_param.rc_reaction_delay_factor = xvidenc_rc_reaction_delay_factor;
|
||||||
enc_param.rc_averaging_period = xvidenc_rc_averaging_period;
|
enc_param.rc_averaging_period = xvidenc_rc_averaging_period;
|
||||||
enc_param.rc_buffer = xvidenc_rc_buffer;
|
enc_param.rc_buffer = xvidenc_rc_buffer;
|
||||||
|
|
Loading…
Reference in New Issue