comparison DOCS/man/en/mplayer.1 @ 13180:b55551b5898b

x264 section reviewed.
author diego
date Sat, 28 Aug 2004 20:00:46 +0000
parents 53a20c9d1ce9
children b498729e5348
comparison
equal deleted inserted replaced
13179:53a20c9d1ce9 13180:b55551b5898b
4625 . 4625 .
4626 .TP 4626 .TP
4627 .B \-<codec>opts <option1[=value],option2,...> 4627 .B \-<codec>opts <option1[=value],option2,...>
4628 . 4628 .
4629 .PP 4629 .PP
4630 Where <codec> may be: lavc, xvidenc, divx4, lame, x264 4630 Where <codec> may be: lavc, xvidenc, divx4, lame, x264enc
4631 . 4631 .
4632 . 4632 .
4633 .SS divx4 (\-divx4opts) 4633 .SS divx4 (\-divx4opts)
4634 DivX4 is obsolete and only supported for completeness. 4634 DivX4 is obsolete and only supported for completeness.
4635 For details about DivX4 options, read the source, most options are not 4635 For details about DivX4 options, read the source, most options are not
6219 Sets the bitrate to be used in kbits/\:second (default: off). 6219 Sets the bitrate to be used in kbits/\:second (default: off).
6220 This is required if you want a CBR (constant bitrate) encode. 6220 This is required if you want a CBR (constant bitrate) encode.
6221 . 6221 .
6222 .TP 6222 .TP
6223 .B iframe=<value> 6223 .B iframe=<value>
6224 Frequency of I frames (default: 60) 6224 I frame frequency (default: 60)
6225 . 6225 .
6226 .TP 6226 .TP
6227 .B frameref=<value> 6227 .B frameref=<value>
6228 Number of previous frames used as predictors in a P-frame (default: 1) 6228 Number of previous frames used as predictors in a P-frame (default: 1).
6229 .br 6229 .br
6230 .I NOTE: 6230 .I NOTE:
6231 The current version of x264 (r38) hasn't yet implemented this feature. 6231 As of x264 r38 this feature is not implemented yet.
6232 . 6232 .
6233 .TP 6233 .TP
6234 .B idrframe=<value> 6234 .B idrframe=<value>
6235 Each <value> I-Frames are IDR-Frames. 6235 Each <value> I-Frames are IDR-Frames (default: 2).
6236 In H.264, I-Frames do not necessarily bound a closed GOP because it is 6236 In H.264, I-Frames do not necessarily bound a closed GOP because it is
6237 allowable for a P-frame to be predicted from more frames than just the one 6237 allowable for a P-frame to be predicted from more frames than just the one
6238 frame before it (also see frameref). 6238 frame before it (also see frameref).
6239 Therefore, I-frames are not necessarily seekable. IDR-Frames restrict 6239 Therefore, I-frames are not necessarily seekable.
6240 subsequent P-frames from referring to any frame prior to the IDR-Frame 6240 IDR-Frames restrict subsequent P-frames from referring to any frame
6241 (default: 2) 6241 prior to the IDR-Frame.
6242 . 6242 .
6243 .TP 6243 .TP
6244 .B bframe=<value> 6244 .B bframe=<value>
6245 Number of B-Frames between I- and P-Frames (default: 0) 6245 number of B-Frames between I- and P-Frames (default: 0)
6246 . 6246 .
6247 .TP 6247 .TP
6248 .B deblock=<0|1> 6248 .B deblock=<0|1>
6249 Use deblocking filter (default: on) 6249 Use deblocking filter (default: on).
6250 . 6250 .
6251 .TP 6251 .TP
6252 .B deblockalpha=<-6-6> 6252 .B deblockalpha=<-6-6>
6253 AlphaC0 parameter of deblocking filter. 6253 AlphaC0 parameter of deblocking filter (default: 0).
6254 This adjusts thresholds for the H.264 deblocking filter. 6254 This adjusts thresholds for the H.264 deblocking filter.
6255 First, this parameter adjusts the maximum amount of change that the filter is 6255 First, this parameter adjusts the maximum amount of change that the filter is
6256 allowed to cause on any one pixel. 6256 allowed to cause on any one pixel.
6257 Secondly, this parameter affects the threshold for difference across the 6257 Secondly, this parameter affects the threshold for difference across the
6258 edge being filtered. 6258 edge being filtered.
6259 A positive value reduces blocking artifacts more, but will also smear details 6259 A positive value reduces blocking artifacts more, but will also smear details.
6260 (default: 0)
6261 . 6260 .
6262 .TP 6261 .TP
6263 .B deblockbeta=<-6-6> 6262 .B deblockbeta=<-6-6>
6264 Beta parameter of deblocking filter. 6263 Beta parameter of deblocking filter (default: 0).
6265 Affects the maximum allowed gradient within two adjacent blocks (default: 0) 6264 Affects the maximum allowed gradient within two adjacent blocks.
6266 . 6265 .
6267 .TP 6266 .TP
6268 .B cabac 6267 .B cabac
6269 Use CABAC (Context-Adaptive Binary Arithmetic Coding) (default: off) 6268 Use CABAC (Context-Adaptive Binary Arithmetic Coding).
6270 . 6269 .
6271 .TP 6270 .TP
6272 .B cabacidc=<value> 6271 .B cabacidc=<value>
6273 Initial value of CABAC IDC. 6272 Initial value of CABAC IDC.
6274 The encoder must choose a context for each block it encodes, but for the 6273 The encoder must choose a context for each block it encodes, but for the
6275 first block in a frame, there are no prior blocks to predict the context. 6274 first block in a frame, there are no prior blocks to predict the context.
6276 Adjusting this may affect bitrate by a fraction of a percent, but it doesn't 6275 Adjusting this may affect bitrate by a fraction of a percent, but it doesn't
6277 directly affect distortion. 6276 directly affect distortion.
6278 .RSs 6277 .RSs
6279 -1: Let the encoder decide which context (default) (it usually chooses 0) 6278 -1: Encoder chooses context, usually 0 (default).
6280 .br 6279 .br
6281 0: low complexity 6280 0: low complexity
6282 .br 6281 .br
6283 1: medium complexity 6282 1: medium complexity
6284 .br 6283 .br
6286 .REss 6285 .REss
6287 . 6286 .
6288 .TP 6287 .TP
6289 .B qp_constant=<2-51> 6288 .B qp_constant=<2-51>
6290 This selects the quantizer to use. 6289 This selects the quantizer to use.
6290 20-40 is a useful range (default: 26).
6291 Lower values result in better fidelity, but higher bitrates. 6291 Lower values result in better fidelity, but higher bitrates.
6292 Note that quantization in H.264 works differently from mpeg[124]. 6292 Note that quantization in H.264 works differently from MPEG[124].
6293 H.264's QP is on a logarithmic scale. As an example, the bitrate difference 6293 H.264's QP is on a logarithmic scale.
6294 between QP=20 and QP=40 is about a factor of 10. 6294 As an example, the bitrate difference between QP=20 and QP=40
6295 Useful quantizers in H.264 tend to be very large compared to mpeg[124]. 6295 is about a factor of 10.
6296 20-40 is a useful range (default: 26) 6296 Useful quantizers in H.264 tend to be very large compared to MPEG[124].
6297 .br 6297 .br
6298 .I NOTE: 6298 .I NOTE:
6299 This option takes effect even if you specify a cbr encode. 6299 This option takes effect even if you specify a CBR encode.
6300 In such a case, the first frame encoded will use the quantization factor you 6300 In such a case, the first encoded frame will use the quantization factor you
6301 specified, but in later frames, the ratecontrol decides what quants to use. 6301 specified, but in later frames, the ratecontrol decides what quants to use.
6302 . 6302 .
6303 .TP 6303 .TP
6304 .B qp_min=<2-51> 6304 .B qp_min=<2-51> (CBR only)
6305 Minimum quantizer. CBR only. 20-40 seems to be a useful range (default: 2) 6305 Minimum quantizer, 20-40 seems to be a useful range (default: 2).
6306 . 6306 .
6307 .TP 6307 .TP
6308 .B qp_max=<2-51> 6308 .B qp_max=<2-51> (CBR only)
6309 Maximum quantizer. CBR only. 6309 Maximum quantizer
6310 . 6310 .
6311 .TP 6311 .TP
6312 .B qp_step=<value> 6312 .B qp_step=<value>
6313 Maximum Value by which the quantizer may be incremented/decremented between 6313 Maximum Value by which the quantizer may be incremented/decremented between
6314 frames. 6314 frames.
6315 . 6315 .
6316 .TP 6316 .TP
6317 .B rc_buffer_size=<value> 6317 .B rc_buffer_size=<value>
6318 Size of the ratecontrol buffer. (default: 1 second's worth at the bitrate you 6318 ratecontrol buffer size (default: 1 second's worth at the bitrate you
6319 specified) 6319 specified)
6320 . 6320 .
6321 .TP 6321 .TP
6322 .B rc_init_buffer=<value> 6322 .B rc_init_buffer=<value>
6323 Set the initial size of ratecontrol buffer (default: 1/4 of rc_buffer_size) 6323 Set the initial ratecontrol buffer (default: 1/4 of rc_buffer_size)
6324 .
6325 .TP
6324 .B rc_sens=<0-100> 6326 .B rc_sens=<0-100>
6325 Ratecontrol sensitivity (default: 100) 6327 ratecontrol sensitivity (default: 100)
6326 . 6328 .
6327 .TP 6329 .TP
6328 .B ip_factor=<value> 6330 .B ip_factor=<value>
6329 Quantizer factor between I amd P frames (default: 2.0) 6331 quantizer factor between I amd P frames (default: 2.0)
6330 . 6332 .
6331 .TP 6333 .TP
6332 .B pb_factor=<value> 6334 .B pb_factor=<value>
6333 Quantizer factor between P and B frames (default: 2.0) 6335 quantizer factor between P and B frames (default: 2.0)
6334 . 6336 .
6335 .TP 6337 .TP
6336 .B pass=<1|2> 6338 .B pass=<1|2>
6337 For 2-pass mode. The first pass saves statistics. 6339 Enable 2-pass mode.
6340 The first pass saves statistics.
6338 . 6341 .
6339 .TP 6342 .TP
6340 .B qcompress=<0-1> 6343 .B qcompress=<0-1>
6341 Quantizer compression. This affects the ratecontrol: a lower value makes the 6344 quantizer compression (default: 0.6).
6345 This affects the ratecontrol: a lower value makes the
6342 bitrate more constant, while a higher value makes the quantization parameter 6346 bitrate more constant, while a higher value makes the quantization parameter
6343 more constant (default: 0.6) 6347 more constant.
6344 . 6348 .
6345 .TP 6349 .TP
6346 .B qblur=<0-1> 6350 .B qblur=<0-1>
6347 Temporal blur of the quantization parameter. Lower values allow the quantizer 6351 Temporal blur of the quantization parameter (default: 0.5).
6348 value to jump around more; higher values force it to vary more smoothly 6352 Lower values allow the quantizer value to jump around more,
6349 (default: 0.5) 6353 higher values force it to vary more smoothly.
6350 . 6354 .
6351 .TP 6355 .TP
6352 .B fullinter 6356 .B fullinter
6353 Use all available interframe analyse methods (i4x4, psub8x8, psub16x16) 6357 Use all available interframe analysis methods (i4x4, psub8x8, psub16x16)
6354 (default: 4x4, psub16x16) 6358 (default: 4x4, psub16x16).
6355 . 6359 .
6356 .TP 6360 .TP
6357 .B log=<-1-3> 6361 .B log=<-1-3>
6358 Adjust the amount of logging info printed to the screen. 6362 Adjust the amount of logging info printed to the screen.
6359 .RSs 6363 .RSs