scott1256ca
27th March 2012, 17:17
I want to know how leaving black borders at the top and bottom of a video affects quality when you are encoding using constant quality?
I assume crf uses some metric to measure quality for each frame and that metric will include the black bars at the top and bottom of each frame. Further, those black bars are likely to match between the source and encode with very high accuracy. So how much does that skew the metric?
Do you need to encode with a lower crf value to compensate?
Is there a way to tell x264 to ignore the black borders when calculating its quality metric?
While I know I could do some test encodes to find out, I'm wondering if anyone has already done this and knows the answer. Can I test by turning off psy and comparing ssim or psnr. I know eyes are better, but they take longer to do the comparisons. And I'd be encoding the same clips using the same settings.
I expect psnr and ssim would suffer from the same problem, namely that they would be skewed by calculating the "noise" in the black borders which again would be very low noise, so may artificially raise the overall estimated quality reported ssim or psnr.
In case it affects your answer, I am personally just interested in high quality encodes from, well, fairly high quality sources. For example, I really don't care about the quality of highly compressed online videos.
Thanks
I assume crf uses some metric to measure quality for each frame and that metric will include the black bars at the top and bottom of each frame. Further, those black bars are likely to match between the source and encode with very high accuracy. So how much does that skew the metric?
Do you need to encode with a lower crf value to compensate?
Is there a way to tell x264 to ignore the black borders when calculating its quality metric?
While I know I could do some test encodes to find out, I'm wondering if anyone has already done this and knows the answer. Can I test by turning off psy and comparing ssim or psnr. I know eyes are better, but they take longer to do the comparisons. And I'd be encoding the same clips using the same settings.
I expect psnr and ssim would suffer from the same problem, namely that they would be skewed by calculating the "noise" in the black borders which again would be very low noise, so may artificially raise the overall estimated quality reported ssim or psnr.
In case it affects your answer, I am personally just interested in high quality encodes from, well, fairly high quality sources. For example, I really don't care about the quality of highly compressed online videos.
Thanks