Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
12th October 2009, 22:52 | #1 | Link |
Registered User
Join Date: Oct 2007
Posts: 1,060
|
Meaning of PSNR and SSIM scores.
I recall a topic about using metrics as a use of measuring efficiency. I felt like playing around with metrics today.
I did a comparison, 8x8dct vs no 8x8dct. Of course the same settings for both except that, using 2 pass at the same bitrate. I didn't finish the 8x8dct encode yet, but I got the scores for the non 8x8dct encode. SSIM Mean Y:0.985 PSNR Mean Y:44.197 U:48.890 V:48.670 Avg:45.226 Global:44.522 kb/s:678.98 How do I interpret this data? I believe you look at the average score for PSNR? I know higher is better, but an increase of x, what does that mean? Can you translate it into percents? BTW, how do I get the log for these data produced by x264? I had to encode something else after the test to prevent the window from closing. To the mods, please don't tell me to search. I did search the forum. I didn't find much, and I didn't want to dig up an old thread and hijack it. Thanks a lot. |
12th October 2009, 23:39 | #2 | Link |
Registered User
Join Date: May 2006
Posts: 957
|
Run cmd then run x264 in it, or if you want to use a batch file, use pause.
__________________
x264 log explained || x264 deblocking how-to preset -> tune -> user set options -> fast first pass -> profile -> level Doom10 - Of course it's better, it's one more. |
13th October 2009, 00:15 | #6 | Link |
Registered User
Join Date: May 2006
Posts: 957
|
Oh jeez, right click -> mark, make your selection, press enter or use the 2> file redirection.
__________________
x264 log explained || x264 deblocking how-to preset -> tune -> user set options -> fast first pass -> profile -> level Doom10 - Of course it's better, it's one more. |
13th October 2009, 00:16 | #7 | Link | |
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
the cli version of this feat would be 2>file.txt how guis do this differs look it up with whatever one you're using |
|
13th October 2009, 00:17 | #8 | Link | |
Registered User
Join Date: Oct 2008
Posts: 39
|
Quote:
PSNR is another measurement that can be used to compute image similarity, although it functions completely different from SSIM. SSIM measures how "similar" various metrics of the images are, while PSNR is essentially a measurement of "error" between the two images. Higher PSNR is better. In my own anecdotal experience, a SSIM score of 0.985 is quite good. I have a hard time telling the difference between encoded material and an original with SSIM scores above ~.98, although that may vary depending on the SSIM implementation. I'm not sure how x264 implements SSIM (i.e. equal weighting for all categories, is it MSSIM, is the reported score a mean/lowest observed value/median among all frames, etc.) so 0.98 may not be apples to apples with the SSIM implementation I wrote for some other stuff. In general, SSIM correlates better with mean opinion scores than PSNR, so I tend to trust those results more. Last edited by kidjan; 13th October 2009 at 00:19. |
|
13th October 2009, 01:36 | #10 | Link |
Registered User
Join Date: Oct 2007
Posts: 1,060
|
I'm getting a 3.7% improvement for SSIM and 3.28% improvement for PSNR comparing non 8x8dct and 8x8dct. The movie is a clip from Wanted. I was going to test the whole movie, but I accidentally encoded no 8x8dct again, so I ran out of time.
??? I thought 8x8dct was a huge gain??? My eyes couldn't tell much (if any) difference either. It is 680Kbps @ 688x288. Last edited by Chengbin; 13th October 2009 at 01:40. |
13th October 2009, 01:49 | #11 | Link | |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
3 % is a lot compared to gains from many other settings.
Quote:
Edit: Also, a difference of this magnitude is probably only visible when alternating between matched frames from the two encodes. Last edited by nm; 13th October 2009 at 02:15. |
|
13th October 2009, 02:43 | #14 | Link |
Registered User
Join Date: Oct 2007
Posts: 1,060
|
Because I thought high profile is always used, and 8x8dct is ALWAYS recommended, like it is a necessity, and that suggests me that 8x8dct is REALLY helpful.
I didn't think 4% is that helpful. Isn't many settings give more, or around 3-4% improvement? Last edited by Chengbin; 13th October 2009 at 02:51. |
|
|