Just another weblog

ffmpeg: “trell” errors

Posted by onlydarksets on September 24, 2008

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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: