1
mirror of https://github.com/mpv-player/mpv synced 2025-01-09 01:36:25 +01:00

MB, QP explanation, some more consistency

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13260 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2004-09-06 10:50:19 +00:00
parent f58ee65f7f
commit fd84501756

View File

@ -2916,7 +2916,7 @@ error concealment:
.RSss .RSss
1: Use strong deblock filter for damaged MBs. 1: Use strong deblock filter for damaged MBs.
.br .br
2: iterative MV search (slow) 2: iterative motion vector (MV) search (slow)
.br .br
3: all (default) 3: all (default)
.REss .REss
@ -2946,15 +2946,15 @@ debug:
.br .br
4: bitstream 4: bitstream
.br .br
8: MB type 8: macroblock (MB) type
.br .br
16: QP 16: quantizer parameter (QP)
.br .br
32: Motion vector 32: motion vector
.br .br
0x0040: motion vector visualization (use \-noslices) 0x0040: motion vector visualization (use \-noslices)
.br .br
0x0080: MB skip 0x0080: macroblock (MB) skip
.br .br
0x0100: startcode 0x0100: startcode
.br .br
@ -3568,7 +3568,7 @@ force quantization parameter (default: 0, use QP from video)
. .
.TP .TP
.B qp=equation .B qp=equation
QP change filter quantizer parameter (QP) change filter
.RSs .RSs
.IPs equation .IPs equation
some equation like "2+2*sin(PI*qp)" some equation like "2+2*sin(PI*qp)"
@ -5288,7 +5288,7 @@ Bits used for motion vectors
.IPs fCode .IPs fCode
maximum length of motion vector in log2 scale maximum length of motion vector in log2 scale
.IPs iCount .IPs iCount
number of intra macro blocks / number of macro blocks number of intra macroblocks / number of macroblocks
.IPs var\ \ .IPs var\ \
spatial complexity spatial complexity
.IPs mcVar .IPs mcVar
@ -5529,7 +5529,7 @@ decoding.
.br .br
.I HINT: .I HINT:
Crop any black borders completely as they will reduce the quality Crop any black borders completely as they will reduce the quality
of the macro blocks (also applies without scplx_mask). of the macroblocks (also applies without scplx_mask).
.RSs .RSs
.IPs 0.0 .IPs 0.0
disabled (default) disabled (default)
@ -5750,7 +5750,7 @@ the minimum of error and lambda*bits.
.PD 0 .PD 0
.RSs .RSs
.IPs lambda .IPs lambda
QP dependant constant quantizer parameter (QP) dependant constant
.IPs bits\ .IPs bits\
amount of bits needed to encode the block amount of bits needed to encode the block
.IPs error .IPs error
@ -5770,9 +5770,9 @@ Try to encode each MB with MV=<0,0> and choose the better one.
This has no effect if mbd=0. This has no effect if mbd=0.
. .
.TP .TP
.B qprd\ \ \ .B qprd (mbd=2 only)
rate distorted optimal QP for the given lambda of each macroblock, note this rate distorted optimal quantizer parameter (QP) for the given
needs mbd=2 lambda of each macroblock
. .
.TP .TP
.B last_pred=<0\-99> .B last_pred=<0\-99>
@ -5782,7 +5782,7 @@ Amount of motion predictors from the previous frame
.IPs 0 .IPs 0
(default) (default)
.IPs a .IPs a
will use 2a+1 x 2a+1 macro block square of motion vector predictors from the will use 2a+1 x 2a+1 macroblock square of motion vector predictors from the
previous frame previous frame
.RE .RE
.PD 1 .PD 1
@ -5981,7 +5981,7 @@ Encode the fields of interlaced video material.
Turn this option on for interlaced content. Turn this option on for interlaced content.
.br .br
.I NOTE: .I NOTE:
Should you rescale the video, you would need a interlace-aware resizer, Should you rescale the video, you would need an interlace-aware resizer,
which you can activate with -vf scale=<width>:<height>:1. which you can activate with -vf scale=<width>:<height>:1.
. .
.TP .TP
@ -6306,7 +6306,7 @@ This selects the quantizer to use.
20-40 is a useful range (default: 26). 20-40 is a useful range (default: 26).
Lower values result in better fidelity, but higher bitrates. Lower values result in better fidelity, but higher bitrates.
Note that quantization in H.264 works differently from MPEG[124]. Note that quantization in H.264 works differently from MPEG[124].
H.264's QP is on a logarithmic scale. H.264's quantizer parameter (QP) is on a logarithmic scale.
As an example, the bitrate difference between QP=20 and QP=40 As an example, the bitrate difference between QP=20 and QP=40
is about a factor of 10. is about a factor of 10.
Useful quantizers in H.264 tend to be very large compared to MPEG[124]. Useful quantizers in H.264 tend to be very large compared to MPEG[124].