Hi. 2009/4/2 Clive Taylor <[email protected]>
> Stas, Edwin, > > So qmin and qmax are in the range 1 - FF_LAMBDA_MAX (32767), then? The > highest quality has the lowest qmin/qmax value. In which case the 80% that > Stas wanted to know about would be 6553. Or to put it another way: > > If qp is desired quality as a percentage, then > qmin = qmax = ((100 - qp) * FF_LAMBDA_MAX) / 100 > > One thing that I've noticed: if you need to write more than 1 frame from a > video source to JPEG, keeping the same encoder session open, you need to > increment the pFrame->pts value. Pretty obvious, really. > > Clive > Actually, I always thought qmin/qmax range between 1 and 31? Hence qmin = qmax = ((100 - qp) * 31) / 100? By the PTS advancing, you meant the one in the encoded JPEG packet? Regards. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
