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. |
![]() |
#1 | Link |
Registered User
Join Date: Feb 2010
Posts: 15
|
QPSNR - a quick tool to compute psnr and ssim
Hello everyone,
recently I started coding a tool to quickly compute the PSNR and/or SSIM of multiple video streams, to objectively measure differences between codecs/settings. Well, enough said, it's released under the GPL v3, you can find everything here: http://qpsnr.youlink.org You'll find a brief description and the packages/sources! Let me know what you think! Cheers, |
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Feb 2010
Posts: 15
|
Actually yes, it's command line only because it outputs on std::cout a CSV format, so you can then load it in excel and do all cool charts with it.
I use Ubuntu plus I always thought that for win there are other (maybe even better) tools!? The fact is I decided to use command line (instead of, as example, GTK libraries - those do exist for win as well) is because imho there's no point in doing a GUI for a simple analyser like this...plus is easier to launch via command line. I mean, all you have to do is specify videos and analyse it. Actually you just redirect the output on a file (eg > output.csv) and you're done. Then you open the CSV file with OpenOffice.org (or Excel) and you create all nifty good looking charts. But you know, the important thing in a software like this is: - execute it quick - able to execute batches - software itself be fast (and I can assure you that limits for this one are simply the disk latency and cores, because it'll use every resource available*) - get results (raw data) in the most compatible format Simple! ;-) Cheers, Ps. On win aren't there fast free opensource PSNR/SSIM analysers? *Just think that potentially comparing a reference vs 1 only video could use 100% of a 4 core CPU...but this is explained in detail on the webpage... Last edited by Emanem_; 27th February 2010 at 23:25. |
![]() |
![]() |
![]() |
#7 | Link |
Registered User
Join Date: Feb 2010
Posts: 15
|
Hi mate, I've compiled the 32 and 64 bit for Ubuntu 9.10.
Apparently you have an old gcc/g++ library. Which version are you using? In any case you can recompile it pretty easily: Code:
sudo apt-get install g++ libavcodec-dev wget mkdir qpsnr cd qpsnr wget http://qpsnr.youlink.org/data/qpsnr_0.2.1.tar.bz2 bunzip2 qpsnr_0.2.1.tar.bz2 tar -xvf qpsnr_0.2.1.tar make -j2 This is the beauty of open source! ;-) In any case if you want to drop me a line, email address is at the end of webpage: http://qpsnr.youlink.org/ Cheers! :-) |
![]() |
![]() |
![]() |
#10 | Link |
Registered User
Join Date: Feb 2010
Posts: 15
|
I guess you have to compile it yourself because I don't have any (even virtual) 9.04 around.
Really it's a breeze to do in Ubuntu (I've developed for years on win32 and Linux and actually installing/removing all the tools needed to build the executable is actually really easier on Ubuntu). Anyway, follow the instructions above, line by line, and everything should be working. I think the error you reported is due to the fact you haven't installed Code:
sudo apt get install libavcodec-dev Code:
src/qav.h:26:34: error: libavformat/avformat.h: No such file or directory src/qav.h:27:32: error: libswscale/swscale.h: No such file or directory Cheers, Last edited by Emanem_; 9th March 2010 at 21:08. |
![]() |
![]() |
![]() |
Tags |
open source, psnr, qpsnr, ssim |
Thread Tools | Search this Thread |
Display Modes | |
|
|