]> git.sesse.net Git - ffmpeg/blobdiff - doc/rate_distortion.txt
avcodec: use align == 0 for default alignment in avcodec_fill_audio_frame()
[ffmpeg] / doc / rate_distortion.txt
index 5f19b0d2ea981c1664e06e319e1c3f2ba8827732..a7d2c878b27340b2d39bfe630c427b6b2d5b6341 100644 (file)
@@ -21,8 +21,10 @@ Let's consider the problem of minimizing:
 
   distortion + lambda*rate
 
-For a fixed lambda, rate would represent the filesize, while distortion is
-the quality. Is this equivalent to finding the best quality for a given max
+rate is the filesize
+distortion is the quality
+lambda is a fixed value choosen as a tradeoff between quality and filesize
+Is this equivalent to finding the best quality for a given max
 filesize? The answer is yes. For each filesize limit there is some lambda
 factor for which minimizing above will get you the best quality (using your
 chosen quality measurement) at the desired (or lower) filesize.