comparison DOCS/man/en/mplayer.1 @ 12978:fd3f2cacd434

XviD option descriptions, patch by Guillaume POIRIER <gpoirier@irisa.fr>
author diego
date Mon, 09 Aug 2004 11:12:52 +0000
parents 2b57ae8d21dd
children 7279711f10bc
comparison
equal deleted inserted replaced
12977:9e449fd1dd3c 12978:fd3f2cacd434
5438 specify the pass in 2pass mode 5438 specify the pass in 2pass mode
5439 .TP 5439 .TP
5440 .B bitrate=<value> 5440 .B bitrate=<value>
5441 sets the bitrate to be used in kbits/\:second if <16000 or in bits/\:second 5441 sets the bitrate to be used in kbits/\:second if <16000 or in bits/\:second
5442 if >16000 5442 if >16000
5443 (CBR or 2pass mode, default=687 kbits/s) 5443 (CBR or 2pass mode, default: 687 kbits/s)
5444 .TP 5444 .TP
5445 .B fixed_quant=<1\-31> 5445 .B fixed_quant=<1\-31>
5446 switch to fixed quantizer mode and specify the quantizer to be used 5446 switch to fixed quantizer mode and specify the quantizer to be used
5447 .TP 5447 .TP
5448 .B me_quality=<0\-6> 5448 .B me_quality=<0\-6>
5449 specify the motion detection quality (default=6) 5449 This option controls the motion estimation subsystem.
5450 The higher the value, the more precise the estimation should be.
5451 The more precise the motion estimation is, the more bits can be saved.
5452 Precision is gained at the expense of CPU time so decrease this setting if
5453 you need realtime encoding.
5454 (default: 6)
5450 .TP 5455 .TP
5451 .B interlacing 5456 .B interlacing
5452 enable support for interlaced content (default=off) 5457 For interlaced video material, turn this option on.
5458 .I Note:
5459 This option does not deinterlace video, it encodes it field-based
5460 (default: off).
5453 .TP 5461 .TP
5454 .B 4mv\ \ \ \ 5462 .B 4mv\ \ \ \
5455 use 4 motion vectors per macro-block, might give better compression at the 5463 use 4 motion vectors per macro-block, might give better compression at the
5456 cost of a slower encoding (default=off) 5464 cost of a slower encoding (default: off).
5465 .br
5466 .I WARNING:
5467 This option doesn't exist in XviD-1.0.x.
5457 .TP 5468 .TP
5458 .B rc_reaction_delay_factor=<value> 5469 .B rc_reaction_delay_factor=<value>
5459 specify how fast the rate control reacts, lower values are faster 5470 This parameter controls the delay in frames before the CBR rate controller
5471 will react to bitrate changes and will try to compensate the change to obtain
5472 a constant bitrate over an averaging range of frames.
5460 .TP 5473 .TP
5461 .B rc_averaging_period=<value> 5474 .B rc_averaging_period=<value>
5462 period to reach the required average 5475 Real CBR is hard to achieve.
5476 Depending on the video material, bitrate can be variable, and hard to predict.
5477 That's why XviD uses an averaging period for which it guarantees a given
5478 amount of bits (minus a small variation).
5479 This settings expresses the "number of frames" for which XviD averages
5480 bitrate and tries to achieve CBR.
5463 .TP 5481 .TP
5464 .B rc_buffer=<value> 5482 .B rc_buffer=<value>
5465 size of the rate control buffer 5483 size of the rate control buffer
5466 .TP 5484 .TP
5467 .B quant_range=<1\-31>\-<1\-31>[/<1\-31>\-<1\-31>] 5485 .B quant_range=<1\-31>\-<1\-31>[/<1\-31>\-<1\-31>]
5468 min & max quantizer for all frames (default=2\-31, CBR mode) 5486 min & max quantizer for all frames (default: 2\-31, CBR mode)
5469 .br 5487 .br
5470 min & max quantizer for I/P frames (default=2\-31/2\-31, 2pass mode) 5488 min & max quantizer for I/P frames (default: 2\-31/2\-31, 2pass mode)
5471 .TP 5489 .TP
5472 .B min_key_interval=<value> 5490 .B min_key_interval=<value>
5473 minimum interval between key frames (default=0, 2pass only) 5491 minimum interval between key frames (default: 0, 2pass only)
5474 .TP 5492 .TP
5475 .B max_key_interval=<value> 5493 .B max_key_interval=<value>
5476 maximum interval between key frames (default=10*fps) 5494 maximum interval between key frames (default: 10*fps)
5477 .TP 5495 .TP
5478 .B mpeg_quant 5496 .B mpeg_quant
5479 use MPEG quantizers instead of H.263 (default=off) 5497 use MPEG quantizers instead of H.263.
5498 For high bitrates, you will find that MPEG quantization preserves more detail.
5499 For low bitrates, the smoothing of H.263 will give you less block noise.
5500 When using custom matrices, MPEG must be used.
5501 (default: off)
5480 .TP 5502 .TP
5481 .B mod_quant 5503 .B mod_quant
5482 decide whether to use MPEG or H.263 quantizers on a frame-by-frame basis. 5504 decide whether to use MPEG or H.263 quantizers on a frame-by-frame basis.
5483 (default=off, 2pass mode only) 5505 (default: off, 2pass mode only)
5484 .TP 5506 .TP
5485 .B greyscale 5507 .B greyscale
5486 encode in black & white (default=off) 5508 Make XviD discard chroma planes so the encoded video is greyscale only.
5509 Note that this does not speed up encoding, it just prevents chroma data
5510 from being written in the last stage of encoding.
5511 (default: off)
5487 .TP 5512 .TP
5488 .B debug\ \ 5513 .B debug\ \
5489 Save per-frame statistics in xvid.dbg (default=off). 5514 Save per-frame statistics in ./xvid.dbg (default: off).
5490 This is NOT the 2pass control file. 5515 This is NOT the 2pass control file.
5491 .TP 5516 .TP
5492 .B keyframe_boost=<0\-1000> 5517 .B keyframe_boost=<0\-1000>
5493 (default=0, 2pass mode only) 5518 Shift some bits from the pool for other frame types to intra frames,
5519 thus improving keyframe quality.
5520 (default: 0, 2pass mode only)
5494 .TP 5521 .TP
5495 .B kfthreshold=<value> 5522 .B kfthreshold=<value>
5496 (default=10, 2pass mode only) 5523 (default: 10, 2pass mode only)
5497 .TP 5524 .TP
5498 .B kfreduction=<0\-100> 5525 .B kfreduction=<0\-100>
5499 (default=30, 2pass mode only) 5526 The above two settings can be used to adjust the size of keyframes that
5527 you consider too close to the first (in a row).
5528 kfthreshold sets the range in which keyframes are reduced, and
5529 kfreduction determines the bitrate reduction they get.
5530 The last i-frame will get treated normally.
5531 (default: 30, 2pass mode only)
5500 .RE 5532 .RE
5501 .PP 5533 .PP
5502 5534
5503 The following options are only available with the latest stable 5535 The following options are only available with the latest stable
5504 XviD 0.9.2 (api3) version and are marked as experimental and unstable. 5536 releases of XviD 1.0.x (api4).
5505 The newest development version of XviD 1.0 (api4) supports
5506 them fully.
5507 .TP 5537 .TP
5508 .B packed\ 5538 .B packed\
5509 create a bitstream that can be decoded delay-free (default=off) 5539 create a bitstream that can be decoded delay-free (default: off)
5510 .br 5540 .br
5511 .I WARNING: 5541 .I WARNING:
5512 this will generate an illegal bitstream, and WILL NOT be 5542 this will generate an illegal bitstream, and WILL NOT be
5513 decodeable by ISO-MPEG4 decoders except DivX/libavcodec/XviD 5543 decodeable by ISO-MPEG4 decoders except DivX/libavcodec/XviD
5514 .br 5544 .br
5515 .I WARNING: 5545 .I WARNING:
5516 this will also store a fake DivX version in the file so the bug 5546 this will also store a fake DivX version in the file so the bug
5517 autodetection of some decoders might be confused 5547 autodetection of some decoders might be confused
5518 .TP 5548 .TP
5519 .B divx5bvop 5549 .B divx5bvop
5520 generate DivX5 compatible B-frames (default=on) 5550 generate DivX5 compatible B-frames (default: on)
5521 .TP 5551 .TP
5522 .B qpel\ \ \ 5552 .B qpel\ \ \
5523 enable quarter-pixel motion estimation (default=off) 5553 MPEG4 uses a half pixel precision for its motion search by default.
5554 The standard proposes a mode where encoders are allowed to use quarter
5555 pixel precision.
5556 This option usually results in a sharper image.
5557 Unfortunately it has a great impact on bitrate and sometimes the
5558 higher bitrate use will prevent it from giving a better image
5559 quality at a fixed bitrate.
5560 It's better to test with and without this option and see whether it
5561 is worth activating.
5562 (default: off)
5524 .TP 5563 .TP
5525 .B gmc\ \ \ \ 5564 .B gmc\ \ \ \
5526 enable global motion compensation, may save bits on panning scenes (default=off) 5565 Enable Global Motion Compensation, which makes XviD generate Sprite
5566 Frames which best describe Pan/Zoom/Rotating images.
5567 The decision whether to activate this option or not to save bits
5568 depends highly on the video material.
5569 (default: off)
5570 .TP
5571 .B trellis
5572 Trellis Quantization is a kind of adaptive quantization method that
5573 saves bits by modifying quantized coefficients to make them more
5574 compressible by the entropy encoder.
5575 Its impact on quality is good, and if VHQ uses too much CPU for you,
5576 this setting can be a good alternative to save a few bits (and gain
5577 quality at fixed bitrate) at a lesser cost than with VHQ (default: off).
5578 .TP
5579 .B cartoon
5580 Activate this if your encoded sequence is an anime/cartoon.
5581 It modifies some XviD internal thresholds so XviD takes better decisions on
5582 frame types and motion vectors for flat looking cartoons.
5527 .TP 5583 .TP
5528 .B chroma_me 5584 .B chroma_me
5529 uses chroma information to estimate motion (default=off) 5585 The usual motion estimation algorithm uses only the luminance information to
5586 find the best motion vector.
5587 However for some video material, using the chroma planes can help find
5588 better vectors.
5589 This setting toggles the use of chroma planes for motion estimation
5590 (default: off).
5530 .TP 5591 .TP
5531 .B chroma_opt 5592 .B chroma_opt
5532 enable a chroma optimizer prefilter (default=off) 5593 enable a chroma optimizer prefilter (default: off)
5533 .TP 5594 .TP
5534 .B reduced 5595 .B reduced
5535 enable encoding reduced resolution frames (default=off) 5596 enable encoding reduced resolution frames (default: off)
5536 .TP 5597 .TP
5537 .B max_bframes=<0\-4> 5598 .B max_bframes=<0\-4>
5538 maximum number of B frames to put between I/P frames (default=0) 5599 maximum number of B frames to put between I/P frames (default: 0)
5539 .TP 5600 .TP
5540 .B bquant_ratio=<0\-1000> 5601 .B bquant_ratio=<0\-1000>
5541 quantizer ratio between B and non B frames, 150=1.50 (default=150) 5602 quantizer ratio between B and non B frames, 150=1.50 (default: 150)
5542 .TP 5603 .TP
5543 .B bquant_offset=<-1000\-1000> 5604 .B bquant_offset=<-1000\-1000>
5544 quantizer offset between B and non B frames, 100=1.00 (default=100) 5605 quantizer offset between B and non B frames, 100=1.00 (default: 100)
5545 .TP 5606 .TP
5546 .B bf_threshold=<-255\-255> 5607 .B bf_threshold=<-255\-255>
5547 change the probability of a frame to be a bframe (default=0) 5608 Sometimes B frames do not look good, and introduce artifacts when most of
5609 the frame is static and some small zones have high motion (in a static
5610 scene with a man talking, his mouth will probably look bad if what is
5611 surrounding the man and his mouth is completly static).
5612 This setting allows you to favorize or not, the use of B frames.
5613 The higher the value, the higher the probability of B frames being used.
5614 (default: 0)
5548 .TP 5615 .TP
5549 .B hq_ac\ \ 5616 .B hq_ac\ \
5550 enable a better prediction of AC component (default=off) 5617 Activates High Quality AC coefficient prediction from neighbor blocks.
5618 (default:off)
5551 .TP 5619 .TP
5552 .B vhq=<0\-4> 5620 .B vhq=<0\-4>
5553 enable a higher quality ME search using DCT, faster to slower: 5621 The motion search algorithm is based on a search in the usual color domain
5622 and tries to find a motion vector that minimizes the difference between the
5623 reference frame and the encoded frame.
5624 With this setting activated, XviD will also use the frequency domain (DCT)
5625 to search for a motion vector that minimizes not only the spatial
5626 difference but also the encoding length of the block.
5627 Fastest to slowest:
5554 .PD 0 5628 .PD 0
5555 .RSs 5629 .RSs
5556 .IPs 0 5630 .IPs 0
5557 off (default) 5631 off (default)
5558 .IPs 1 5632 .IPs 1
5567 .PD 1 5641 .PD 1
5568 .TP 5642 .TP
5569 .B aspect=<x/y | f (float value)> 5643 .B aspect=<x/y | f (float value)>
5570 Store movie aspect internally, just like MPEG files. 5644 Store movie aspect internally, just like MPEG files.
5571 Much nicer solution than rescaling, because quality isn't decreased. 5645 Much nicer solution than rescaling, because quality isn't decreased.
5572 MPlayer and few others players will play these files correctly, others will display 5646 MPlayer and a few others players will play these files correctly, others
5573 them with the wrong aspect. 5647 will display them with the wrong aspect.
5574 The aspect parameter can be given as a ratio or a floating point number. 5648 The aspect parameter can be given as a ratio or a floating point number.
5575 .TP 5649 .TP
5576 .B autoaspect 5650 .B autoaspect
5577 Same as the aspect option, but automatically computes aspect, taking 5651 Same as the aspect option, but automatically computes aspect, taking
5578 into account all the adjustments (crop/expand/scale/etc.) made in the 5652 into account all the adjustments (crop/expand/scale/etc.) made in the
5579 filter chain. 5653 filter chain.
5580 .TP 5654 .TP
5581 .B psnr\ \ \ 5655 .B psnr\ \ \
5582 Print the psnr (peak signal to noise ratio) for the whole video after encoding 5656 Print the psnr (peak signal to noise ratio) for the whole video after encoding
5583 and store the per frame psnr in a file with a name like 'psnr_hhmmss.log'. 5657 and store the per frame psnr in a file with a name like 'psnr_hhmmss.log' in
5658 the current directory.
5584 Returned values are in dB (decibel), the higher the better. 5659 Returned values are in dB (decibel), the higher the better.
5585 . 5660 .
5586 . 5661 .
5587 .\" -------------------------------------------------------------------------- 5662 .\" --------------------------------------------------------------------------
5588 .\" Files 5663 .\" Files