ffmpeg: “trell” errors

September 24th, 2008 | Categories: Applications | Tags:

I’ve found a few command lines to use ffmpeg to convert to iPod format, and they almost all use the “trell” flag.  I kept getting errors, and then I found that it is no longer a valid flag, so it needs to be removed from the command line.

And what is “trell”?  Not sure – something to do with quantization:

trell trellis quantization
this will find the optimal encoding for each 8×8 block
trellis quantization is quite simple a optimal quantization in the PSNR vs bitrate sense (assuming that there would be no rounding errors introduced by the IDCT, which is obviously not the case) it simply finds a block for the minimum of error + lambda*bits
lambda is a qp dependant constant
bits is the amount of bits needed to encode the block
error is simple the sum of squared errors of the quantization

Comments are closed.