Mercurial > mplayer.hg
comparison DOCS/man/en/mplayer.1 @ 15147:9198a882c887
misc corrections and clarifications in x264 options.
author | lorenm |
---|---|
date | Wed, 13 Apr 2005 18:31:44 +0000 |
parents | f983c121124a |
children | 8319e8b0c437 |
comparison
equal
deleted
inserted
replaced
15146:e518d7fd23ea | 15147:9198a882c887 |
---|---|
7681 This isn't recommended and wastes bitrate as scenecuts encoded as P-frames | 7681 This isn't recommended and wastes bitrate as scenecuts encoded as P-frames |
7682 are just as big as I-frames, but don't reset the "keyint counter". | 7682 are just as big as I-frames, but don't reset the "keyint counter". |
7683 . | 7683 . |
7684 .TP | 7684 .TP |
7685 .B frameref=<1\-16> | 7685 .B frameref=<1\-16> |
7686 Number of previous frames used as predictors in a P-frame (default: 1). | 7686 Number of previous frames used as predictors in B- and P-frames (default: 1). |
7687 This is effective in Anime, but seems to make little difference in | 7687 This is effective in anime, but in live-action material the improvements |
7688 live-action source material. | 7688 usually drop off very rapidly above 6 or so reference frames. |
7689 Some decoders are unable to deal with large frameref values. | 7689 This has no effect on decoding speed, but does increase the memory needed for |
7690 decoding. | |
7691 Some decoders can only handle a maximum of 15 reference frames. | |
7690 . | 7692 . |
7691 .TP | 7693 .TP |
7692 .B bframes=<0\-16> | 7694 .B bframes=<0\-16> |
7693 maximum number of consecutive B-frames between I- and P-frames (default: 0) | 7695 maximum number of consecutive B-frames between I- and P-frames (default: 0) |
7694 . | 7696 . |
7711 So they are coded in the order I0 P4 B1 B2 B3, and all the B-frames | 7713 So they are coded in the order I0 P4 B1 B2 B3, and all the B-frames |
7712 are predicted from I0 and P4. | 7714 are predicted from I0 and P4. |
7713 With this option, they are coded as I0 P4 B2 B1 B3. | 7715 With this option, they are coded as I0 P4 B2 B1 B3. |
7714 B2 is the same as above, but B1 is predicted from I0 and B2, and | 7716 B2 is the same as above, but B1 is predicted from I0 and B2, and |
7715 B3 is predicted from B2 and P4. | 7717 B3 is predicted from B2 and P4. |
7716 This results in slightly improved compression, at no speed cost. | 7718 This usually results in slightly improved compression, at almost no |
7719 speed cost. | |
7720 However, this is an experimental option: it is not fully tuned and | |
7721 may not always help. | |
7717 Requires bframes >= 2. | 7722 Requires bframes >= 2. |
7718 Disadvantage: increases decoding delay to 2 frames. | 7723 Disadvantage: increases decoding delay to 2 frames. |
7719 . | 7724 . |
7720 .TP | 7725 .TP |
7721 .B (no)deblock | 7726 .B (no)deblock |
7724 recommend to disable it. | 7729 recommend to disable it. |
7725 . | 7730 . |
7726 .TP | 7731 .TP |
7727 .B deblockalpha=<-6\-6> | 7732 .B deblockalpha=<-6\-6> |
7728 AlphaC0 parameter of deblocking filter (default: 0). | 7733 AlphaC0 parameter of deblocking filter (default: 0). |
7729 This adjusts thresholds for the H.264 deblocking filter. | 7734 This adjusts thresholds for the H.264 in-loop deblocking filter. |
7730 First, this parameter adjusts the maximum amount of change that the filter is | 7735 First, this parameter adjusts the maximum amount of change that the filter is |
7731 allowed to cause on any one pixel. | 7736 allowed to cause on any one pixel. |
7732 Secondly, this parameter affects the threshold for difference across the | 7737 Secondly, this parameter affects the threshold for difference across the |
7733 edge being filtered. | 7738 edge being filtered. |
7734 A positive value reduces blocking artifacts more, but will also smear details. | 7739 A positive value reduces blocking artifacts more, but will also smear details. |
7735 .br | 7740 .br |
7736 For encodes that are intended to be reasonably high quality, you might | 7741 The default behavior of the filter almost always achieves optimal quality, |
7737 want to turn it down a little bit. | 7742 so it is best to either leave it alone, or make only small adjustments. |
7738 However, if your source material already has some blocking or noise | 7743 However, if your source material already has some blocking or noise which |
7739 which you would like to remove, or if it is animation, it may be a good | 7744 you would like to remove, it may be a good idea to turn it up a little bit. |
7740 idea to turn it up a little bit. | |
7741 . | 7745 . |
7742 .TP | 7746 .TP |
7743 .B deblockbeta=<-6\-6> | 7747 .B deblockbeta=<-6\-6> |
7744 Beta parameter of deblocking filter (default: 0). | 7748 Beta parameter of deblocking filter (default: 0). |
7745 Affects the maximum allowed gradient within two adjacent blocks. | 7749 Affects the detail threshold. |
7750 Very detailed blocks are not filtered, since the smoothing caused by the | |
7751 filter would be more noticeable than the original blocking. | |
7746 . | 7752 . |
7747 .TP | 7753 .TP |
7748 .B (no)cabac | 7754 .B (no)cabac |
7749 Use CABAC (Context-Adaptive Binary Arithmetic Coding) (default: on). | 7755 Use CABAC (Context-Adaptive Binary Arithmetic Coding) (default: on). |
7750 Slightly slows down encoding and decoding, but should save 10-15% bitrate. | 7756 Slightly slows down encoding and decoding, but should save 10-15% bitrate. |
7751 Unless you are looking for speed, you should not disable it. | 7757 Unless you are looking for decoding speed, you should not disable it. |
7752 . | 7758 . |
7753 .TP | 7759 .TP |
7754 .B cabacidc=<value> | 7760 .B cabacidc=<value> |
7755 Initial value of CABAC IDC. | 7761 Initial value of CABAC IDC. |
7756 The encoder must choose a context for each block it encodes, but for the | 7762 The encoder must choose a context for each block it encodes, but for the |
7767 2: high complexity | 7773 2: high complexity |
7768 .REss | 7774 .REss |
7769 . | 7775 . |
7770 .TP | 7776 .TP |
7771 .B qp_min=<1\-51> (CBR or two pass) | 7777 .B qp_min=<1\-51> (CBR or two pass) |
7772 Minimum quantizer, 10\-35 seems to be a useful range (default: 10). | 7778 Minimum quantizer, 10\-30 seems to be a useful range (default: 10). |
7773 . | 7779 . |
7774 .TP | 7780 .TP |
7775 .B qp_max=<1\-51> (CBR or two pass) | 7781 .B qp_max=<1\-51> (CBR or two pass) |
7776 maximum quantizer (default: 51) | 7782 maximum quantizer (default: 51) |
7777 . | 7783 . |
7837 .IPs 2 | 7843 .IPs 2 |
7838 Temporal: motion vectors are interpolated from the following P-frame. | 7844 Temporal: motion vectors are interpolated from the following P-frame. |
7839 (default) | 7845 (default) |
7840 .RE | 7846 .RE |
7841 .PD 1 | 7847 .PD 1 |
7842 The best choice depends on the movie. | |
7843 Spatial and temporal are approximately the same speed and PSNR, | 7848 Spatial and temporal are approximately the same speed and PSNR, |
7844 but temporal often looks better. | 7849 but temporal often looks better. |
7845 direct_pred=0 is usually both slower and lower quality. | 7850 direct_pred=0 is both slower and lower quality. |
7846 . | 7851 . |
7847 .TP | 7852 .TP |
7848 .B (no)weight_b | 7853 .B (no)weight_b |
7849 Use weighted prediction in B-frames. | 7854 Use weighted prediction in B-frames. |
7850 Without this option, bidirectionally predicted macroblocks give | 7855 Without this option, bidirectionally predicted macroblocks give |
7942 .br | 7947 .br |
7943 0: Print errors only. | 7948 0: Print errors only. |
7944 .br | 7949 .br |
7945 1: warnings | 7950 1: warnings |
7946 .br | 7951 .br |
7947 2: PSNR, encoding times, and other analysis stats when the encode finishes | 7952 2: PSNR and other analysis stats when the encode finishes |
7948 (default) | 7953 (default) |
7949 .br | 7954 .br |
7950 3: PSNR, QP, frametype, size, and other stats for every frame | 7955 3: PSNR, QP, frametype, size, and other stats for every frame |
7951 .REss | 7956 .REss |
7952 . | 7957 . |