-NoXy-
28th April 2004, 08:46
hi, i have to write a little tool to make a compressibility test (for xvid-lavc encoding) under linux because i dont like what i've found and wanna know more about it but i'm not sure i really know how it works. plz correct me if i m wrong :-)
so a compressibility test is a simple pass with a constant quantizer encoding (=2) and any scaling (no-rescaling better), giving us an average bitrate used by the encoder to achieve this quality. now we got the bitrate, the size, etc so we can easily calculate the bits per pixel or bits per block used. we have to fix a percentage of that value to be used in our real encoding because we cant afford to spend that much.
this is my first question: what is the perfect % to take ? think i've read somethin in between 50% and 60% but i'm not sure.
with this we can calculate the perfect size (width-height) of our movie if we fix the bitrate in our second pass.
of course we wont encode the whole movie in the test but just a part of it (or several parts to be exact :p).
thnx to the one kind enough to answer me :D
so a compressibility test is a simple pass with a constant quantizer encoding (=2) and any scaling (no-rescaling better), giving us an average bitrate used by the encoder to achieve this quality. now we got the bitrate, the size, etc so we can easily calculate the bits per pixel or bits per block used. we have to fix a percentage of that value to be used in our real encoding because we cant afford to spend that much.
this is my first question: what is the perfect % to take ? think i've read somethin in between 50% and 60% but i'm not sure.
with this we can calculate the perfect size (width-height) of our movie if we fix the bitrate in our second pass.
of course we wont encode the whole movie in the test but just a part of it (or several parts to be exact :p).
thnx to the one kind enough to answer me :D