Log in

View Full Version : Different cq-level of VP9's compression output the same PSNR value?


kidmany2001
16th April 2014, 01:24
hi guys,
I try to use cq-level =22,27,32,37 to encode, DOS batch file is showed as below:
for %%i in (22,27,32,37) do (
vpxenc.exe -o S08_BasketBallDrill_qp%%i.webm S08_BasketBallDrill.yuv --end-usage=cq --cpu-used=0 -w 832 -h 480 ^
--fps=50000/1000 --profile=0 --codec=vp9 --passes=2 ^
--kf-max-dist=9999 --cq-level=%%i --psnr
)

To my surprise, it return the same PSNR.(as below).
I am sure that i use the different cq-level. Why it show the same PSNR?
Did someone know where i am wrong ?

thanks

output result:
***************************************
.....
Pass 2/2 frame 30/30 19827B 5287b/f 264360b/s 574156 ms (0.05 fps)[K
Stream 0 PSNR (Overall/Avg/Y/U/V) 30.288 30.314 29.318 33.896 33.084
.....
Pass 2/2 frame 30/30 19827B 5287b/f 264360b/s 577992 ms (0.05 fps)[K
Stream 0 PSNR (Overall/Avg/Y/U/V) 30.288 30.314 29.318 33.896 33.084
.....
Pass 2/2 frame 30/30 19827B 5287b/f 264360b/s 571451 ms (0.05 fps)[K
Stream 0 PSNR (Overall/Avg/Y/U/V) 30.288 30.314 29.318 33.896 33.084
.......
Pass 2/2 frame 30/30 19827B 5287b/f 264360b/s 571165 ms (0.05 fps)[K
Stream 0 PSNR (Overall/Avg/Y/U/V) 30.288 30.314 29.318 33.896 33.084

foxyshadis
17th April 2014, 23:08
That's obviously generating exactly the same encode each time. Maybe it's saturating even below quant 37, although that hardly makes sense, or more likely it's just ignoring cq-level for some reason. What vpxenc do you use, or did you compile it yourself?

Kurtnoise
18th April 2014, 10:44
I try to use cq-level =22,27,32,37 to encode, DOS batch file is showed as below:
for %%i in (22,27,32,37) do (
vpxenc.exe -o S08_BasketBallDrill_qp%%i.webm S08_BasketBallDrill.yuv --end-usage=cq --cpu-used=0 -w 832 -h 480 ^
--fps=50000/1000 --profile=0 --codec=vp9 --passes=2 ^
--kf-max-dist=9999 --cq-level=%%i --psnr
)

To my surprise, it return the same PSNR.(as below).
I am sure that i use the different cq-level. Why it show the same PSNR?
Did someone know where i am wrong ?

your command line looks weird to me because you didn't mention --pass=1/2 and --fpf switches dedicated to 2 passes encodes.

Are you sure that you want to use this mode ?

kidmany2001
21st April 2014, 10:38
...... What vpxenc do you use, or did you compile it yourself?

I think maybe it is the problem of auto-cq mode...It's just what I guess. I still don't know how to verify it.

The file vpxenc.exe is downloaded from the internet. It's not compiled by myself.
I tried to compile myself before, but it failed. ><

Does there anyone know where I can get the newest VP9 version of win32 ?

Kurtnoise
23rd April 2014, 10:23
Does there anyone know where I can get the newest VP9 version of win32 ?
https://www.mediafire.com/?celcmokqkxikw3u