Oh, that's not good for my issue. I encode a video at different bitrates(100 kbit - 10Mbit) and resolution(320p to 1080p). Therefore I use the psnr as metric to decide at which bitrate i go up to the next higher resolution. How do you decide when it is better to use a higher resolution or a lower one at a given bitrate? <br>
<br>Thx!<br><br><br><div class="gmail_quote">On Thu, Aug 11, 2011 at 4:46 PM, James Darnley <span dir="ltr"><<a href="mailto:james.darnley@gmail.com">james.darnley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 11/08/2011, A. Mullius <<a href="mailto:mullius87@gmail.com">mullius87@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> how does the PSNR calculation of x264 work when i use e.g. --video-filter<br>
> resize:width=320,height=240 to encode a 1920x1080 video to 320x240? Does it<br>
> scale the encoded frame up to 1920x1080 or does it scale the original frame<br>
> down to 320x240 for the PSNR calculation? And which interpolation filter is<br>
> used for the rescaling in the PSNR calculation?<br>
<br>
</div></div>The encoder gets the a frame at 320x240 and it uses this to calculate<br>
the psnr. It never knows about 1920x1080. The filter uses swscale to<br>
scale the image and uses a bicubic scaler by default.<br>
_______________________________________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">http://mailman.videolan.org/listinfo/x264-devel</a><br>
</blockquote></div><br>