Mercurial > mplayer.hg
comparison DOCS/man/en/mplayer.1 @ 20054:8760c8681eac
Remove the x264 option parser, and pass the options on to libx264 as a string instead. This provides automatic support for all current and future x264 options.
A few options had to be reorganized: partitions, deblockalpha/beta, me, direct_pred.
author | lorenm |
---|---|
date | Thu, 05 Oct 2006 02:03:10 +0000 |
parents | 7c804343a1fc |
children | 64cbe416df38 |
comparison
equal
deleted
inserted
replaced
20053:63979c96cca5 | 20054:8760c8681eac |
---|---|
9012 very short videos (see ratetol). | 9012 very short videos (see ratetol). |
9013 Constant bitrate can be achieved by combining this with vbv_maxrate, | 9013 Constant bitrate can be achieved by combining this with vbv_maxrate, |
9014 at significant reduction in quality. | 9014 at significant reduction in quality. |
9015 . | 9015 . |
9016 .TP | 9016 .TP |
9017 .B qp_constant=<0\-51> | 9017 .B qp=<0\-51> |
9018 This selects the quantizer to use for P-frames. | 9018 This selects the quantizer to use for P-frames. |
9019 I- and B-frames are offset from this value by ip_factor and pb_factor, respectively. | 9019 I- and B-frames are offset from this value by ip_factor and pb_factor, respectively. |
9020 20\-40 is a useful range (default: 26). | 9020 20\-40 is a useful range (default: 26). |
9021 Lower values result in better fidelity, but higher bitrates. | 9021 Lower values result in better fidelity, but higher bitrates. |
9022 0 is lossless. | 9022 0 is lossless. |
9173 Use deblocking filter (default: on). | 9173 Use deblocking filter (default: on). |
9174 As it takes very little time compared to its quality gain, it is not | 9174 As it takes very little time compared to its quality gain, it is not |
9175 recommended to disable it. | 9175 recommended to disable it. |
9176 . | 9176 . |
9177 .TP | 9177 .TP |
9178 .B deblockalpha=<-6\-6> | 9178 .B deblock=<-6\-6>,<-6\-6> |
9179 AlphaC0 parameter of deblocking filter (default: 0). | 9179 The first parameter is AlphaC0 (default: 0). |
9180 This adjusts thresholds for the H.264 in-loop deblocking filter. | 9180 This adjusts thresholds for the H.264 in-loop deblocking filter. |
9181 First, this parameter adjusts the maximum amount of change that the filter is | 9181 First, this parameter adjusts the maximum amount of change that the filter is |
9182 allowed to cause on any one pixel. | 9182 allowed to cause on any one pixel. |
9183 Secondly, this parameter affects the threshold for difference across the | 9183 Secondly, this parameter affects the threshold for difference across the |
9184 edge being filtered. | 9184 edge being filtered. |
9185 A positive value reduces blocking artifacts more, but will also smear details. | 9185 A positive value reduces blocking artifacts more, but will also smear details. |
9186 .br | 9186 .br |
9187 The second parameter is Beta (default: 0). | |
9188 This affects the detail threshold. | |
9189 Very detailed blocks are not filtered, since the smoothing caused by the | |
9190 filter would be more noticeable than the original blocking. | |
9191 .br | |
9187 The default behavior of the filter almost always achieves optimal quality, | 9192 The default behavior of the filter almost always achieves optimal quality, |
9188 so it is best to either leave it alone, or make only small adjustments. | 9193 so it is best to either leave it alone, or make only small adjustments. |
9189 However, if your source material already has some blocking or noise which | 9194 However, if your source material already has some blocking or noise which |
9190 you would like to remove, it may be a good idea to turn it up a little bit. | 9195 you would like to remove, it may be a good idea to turn it up a little bit. |
9191 . | 9196 . |
9192 .TP | 9197 .TP |
9193 .B deblockbeta=<-6\-6> | |
9194 Beta parameter of deblocking filter (default: 0). | |
9195 Affects the detail threshold. | |
9196 Very detailed blocks are not filtered, since the smoothing caused by the | |
9197 filter would be more noticeable than the original blocking. | |
9198 . | |
9199 .TP | |
9200 .B (no)cabac | 9198 .B (no)cabac |
9201 Use CABAC (Context-Adaptive Binary Arithmetic Coding) (default: on). | 9199 Use CABAC (Context-Adaptive Binary Arithmetic Coding) (default: on). |
9202 Slightly slows down encoding and decoding, but should save 10-15% bitrate. | 9200 Slightly slows down encoding and decoding, but should save 10-15% bitrate. |
9203 Unless you are looking for decoding speed, you should not disable it. | 9201 Unless you are looking for decoding speed, you should not disable it. |
9204 . | 9202 . |
9211 maximum quantizer (default: 51) | 9209 maximum quantizer (default: 51) |
9212 . | 9210 . |
9213 .TP | 9211 .TP |
9214 .B qp_step=<1\-50> (ABR or two pass) | 9212 .B qp_step=<1\-50> (ABR or two pass) |
9215 maximum value by which the quantizer may be incremented/decremented between | 9213 maximum value by which the quantizer may be incremented/decremented between |
9216 frames (default: 2) | 9214 frames (default: 4) |
9217 . | 9215 . |
9218 .TP | 9216 .TP |
9219 .B ratetol=<0.1\-100.0> (ABR or two pass) | 9217 .B ratetol=<0.1\-100.0> (ABR or two pass) |
9220 allowed variance in average bitrate (no particular units) (default: 1.0) | 9218 allowed variance in average bitrate (no particular units) (default: 1.0) |
9221 . | 9219 . |
9282 It affects only the planning stage of ratecontrol, and is still subject | 9280 It affects only the planning stage of ratecontrol, and is still subject |
9283 to overflow compensation and qp_min/qp_max. | 9281 to overflow compensation and qp_min/qp_max. |
9284 .RE | 9282 .RE |
9285 . | 9283 . |
9286 .TP | 9284 .TP |
9287 .B direct_pred=<0\-3> | 9285 .B direct_pred=<name> |
9288 Determines the type of motion prediction used for direct macroblocks | 9286 Determines the type of motion prediction used for direct macroblocks |
9289 in B-frames. | 9287 in B-frames. |
9290 .PD 0 | 9288 .PD 0 |
9291 .RSs | 9289 .RSs |
9292 .IPs 0 | 9290 .IPs none |
9293 None: Direct macroblocks are not used. | 9291 Direct macroblocks are not used. |
9294 .IPs 1 | 9292 .IPs spatial |
9295 Spatial: Motion vectors are extrapolated from neighboring blocks. | 9293 Motion vectors are extrapolated from neighboring blocks. |
9296 (default) | 9294 (default) |
9297 .IPs 2 | 9295 .IPs temporal |
9298 Temporal: Motion vectors are interpolated from the following P-frame. | 9296 Motion vectors are interpolated from the following P-frame. |
9299 .IPs 3 | 9297 .IPs auto |
9300 Auto: The codec selects between spatial and temporal for each frame. | 9298 The codec selects between spatial and temporal for each frame. |
9301 .RE | 9299 .RE |
9302 .PD 1 | 9300 .PD 1 |
9303 .RS | 9301 .RS |
9304 Spatial and temporal are approximately the same speed and PSNR, | 9302 Spatial and temporal are approximately the same speed and PSNR, |
9305 the choice between them depends on the video content. | 9303 the choice between them depends on the video content. |
9306 Auto is slightly better, but slower. | 9304 Auto is slightly better, but slower. |
9307 direct_pred=0 is both slower and lower quality. | 9305 Auto is most effective when combined with multipass. |
9306 direct_pred=none is both slower and lower quality. | |
9308 .RE | 9307 .RE |
9309 . | 9308 . |
9310 .TP | 9309 .TP |
9311 .B (no)weight_b | 9310 .B (no)weight_b |
9312 Use weighted prediction in B-frames. | 9311 Use weighted prediction in B-frames. |
9315 With this option, the weights are determined by the temporal position | 9314 With this option, the weights are determined by the temporal position |
9316 of the B-frame relative to the references. | 9315 of the B-frame relative to the references. |
9317 Requires bframes > 1. | 9316 Requires bframes > 1. |
9318 . | 9317 . |
9319 .TP | 9318 .TP |
9320 .B (no)i4x4 | 9319 .B partitions=<list> |
9321 Use additional macroblock type i4x4 (default: enabled). | 9320 Enable some optional macroblock types (default: p8x8,b8x8,i8x8,i4x4). |
9322 Without this option, P- and B-frames will use only | 9321 .PD 0 |
9323 i16x16 and the inter types specified below. | 9322 .RSs |
9324 . | 9323 .IPs p8x8 |
9325 .TP | 9324 Enable types p16x8, p8x16, p8x8. |
9326 .B (no)i8x8 | 9325 .IPs p4x4 |
9327 Use additional macroblock type i8x8 (default: enabled). | 9326 Enable types p8x4, p4x8, p4x4. |
9328 This option has no effect unless 8x8dct is enabled. | 9327 p4x4 is recommended only with subq >= 5, and only at low resolutions. |
9329 . | 9328 .IPs b8x8 |
9330 .TP | 9329 Enable types b16x8, b8x16, b8x8. |
9331 .B (no)b8x8mv | 9330 .IPs i8x8 |
9332 Use additional macroblock types b16x8, b8x16, b8x8 (default: enabled). | 9331 Enable type i8x8. |
9333 Without this option, B-frames will use only types | 9332 i8x8 has no effect unless 8x8dct is enabled. |
9334 i16x16, i8x8, i4x4, b16x16, skip, direct. | 9333 .IPs i4x4 |
9335 See 4x4mv for details. | 9334 Enable type i4x4. |
9336 . | 9335 .IPs all |
9337 .TP | 9336 Enable all of the above types. |
9338 .B (no)8x8mv | 9337 .IPs none |
9339 Use additional macroblock types p16x8, p8x16, p8x8 (default: enabled). | 9338 Disable all of the above types. |
9340 Without this option, P-frames will use only types | 9339 .RE |
9341 i16x16, i8x8, i4x4, p16x16, skip. | 9340 .PD 1 |
9342 This option is provided for experimentation only. | 9341 .RS |
9343 It is not recommended to disable 8x8mv in a real encode. | 9342 Regardless of this option, macroblock types p16x16, b16x16, and i16x16 |
9344 . | 9343 are always enabled. |
9345 .TP | |
9346 .B (no)4x4mv | |
9347 Use additional macroblock types p8x4, p4x8, p4x4 (default: disabled). | |
9348 Without this option, P-frames will use only types | |
9349 i16x16, i8x8, i4x4, p16x16, p16x8, p8x16, p8x8, skip. | |
9350 Requires 8x8mv. | |
9351 .br | 9344 .br |
9352 The idea is to find the type and size that best describe a certain area | 9345 The idea is to find the type and size that best describe a certain area |
9353 of the picture. | 9346 of the picture. |
9354 For example, a global pan is better represented by 16x16 blocks, while | 9347 For example, a global pan is better represented by 16x16 blocks, while |
9355 small moving objects are better represented by smaller blocks. | 9348 small moving objects are better represented by smaller blocks. |
9356 .br | 9349 .RE |
9357 4x4mv is recommended only with subq >= 3. | |
9358 . | 9350 . |
9359 .TP | 9351 .TP |
9360 .B (no)8x8dct | 9352 .B (no)8x8dct |
9361 Adaptive spatial transform size: allows macroblocks to choose between | 9353 Adaptive spatial transform size: allows macroblocks to choose between |
9362 4x4 and 8x8 DCT. | 9354 4x4 and 8x8 DCT. |
9363 Also allows the i8x8 macroblock type. | 9355 Also allows the i8x8 macroblock type. |
9364 Without this option, only 4x4 DCT is used. | 9356 Without this option, only 4x4 DCT is used. |
9365 . | 9357 . |
9366 .TP | 9358 .TP |
9367 .B me=<1\-4> | 9359 .B me=<name> |
9368 Select fullpixel motion estimation algorithm. | 9360 Select fullpixel motion estimation algorithm. |
9369 .PD 0 | 9361 .PD 0 |
9370 .RSs | 9362 .RSs |
9371 .IPs 1 | 9363 .IPs dia |
9372 diamond search, radius 1 (fast) | 9364 diamond search, radius 1 (fast) |
9373 .IPs 2 | 9365 .IPs hex |
9374 hexagon search, radius 2 (default) | 9366 hexagon search, radius 2 (default) |
9375 .IPs 3 | 9367 .IPs umh |
9376 uneven multi-hexagon search (slow) | 9368 uneven multi-hexagon search (slow) |
9377 .IPs 4 | 9369 .IPs esa |
9378 exhaustive search (very slow, and no better than 3) | 9370 exhaustive search (very slow, and no better than umh) |
9379 .RE | 9371 .RE |
9380 .PD 1 | 9372 .PD 1 |
9381 . | 9373 . |
9382 .TP | 9374 .TP |
9383 .B me_range=<4\-64> | 9375 .B me_range=<4\-64> |
9450 .B trellis=<0\-2> | 9442 .B trellis=<0\-2> |
9451 rate-distortion optimal quantization | 9443 rate-distortion optimal quantization |
9452 .PD 0 | 9444 .PD 0 |
9453 .RSs | 9445 .RSs |
9454 .IPs 0 | 9446 .IPs 0 |
9455 disabled | 9447 disabled (default) |
9456 .IPs 1 | 9448 .IPs 1 |
9457 enabled only for the final encode (default) | 9449 enabled only for the final encode |
9458 .IPs 2 | 9450 .IPs 2 |
9459 enabled during all mode decisions (slow, requires subq>=6) | 9451 enabled during all mode decisions (slow, requires subq>=6) |
9460 .RE | 9452 .RE |
9461 .PD 1 | 9453 .PD 1 |
9462 . | 9454 . |
9556 This has a slight penalty to compression. | 9548 This has a slight penalty to compression. |
9557 Requires that libx264 was compiled with pthread support; if not, this | 9549 Requires that libx264 was compiled with pthread support; if not, this |
9558 option will produce a warning and enables slices but not multithreading. | 9550 option will produce a warning and enables slices but not multithreading. |
9559 . | 9551 . |
9560 .TP | 9552 .TP |
9561 .B (no)globalheader | 9553 .B (no)global_header |
9562 Causes SPS and PPS to appear only once, at the beginning of the bitstream | 9554 Causes SPS and PPS to appear only once, at the beginning of the bitstream |
9563 (default: disabled). | 9555 (default: disabled). |
9564 Some players, such as the Sony PSP, require the use of this option. | 9556 Some players, such as the Sony PSP, require the use of this option. |
9565 The default behavior causes SPS and PPS to repeat prior to each IDR frame. | 9557 The default behavior causes SPS and PPS to repeat prior to each IDR frame. |
9566 . | 9558 . |