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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th August 2011, 15:15   #1  |  Link
leon1789
Registered User
 
leon1789's Avatar
 
Join Date: Sep 2009
Location: Poitiers (Fr)
Posts: 77
SSIM and numerical variable

Hello,

The library ssim.dll allows to see the SSIM on the video.
In an avs script, is it possible to put the SSIM evaluation in a numeric variable (type float)?

Thanks!

PS. with an other library?

Last edited by leon1789; 20th August 2011 at 16:25.
leon1789 is offline   Reply With Quote
Old 20th August 2011, 16:05   #2  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,345
I'm not sure what you are asking?

you can print them in a csv file and open with any text editor or excel

or use another tool like msu vqmt
poisondeathray is offline   Reply With Quote
Old 20th August 2011, 16:24   #3  |  Link
leon1789
Registered User
 
leon1789's Avatar
 
Join Date: Sep 2009
Location: Poitiers (Fr)
Posts: 77
Quote:
Originally Posted by poisondeathray View Post
you can print them in a csv file and open with any text editor or excel
yes, that's true, but it isn't what I want

Quote:
Originally Posted by poisondeathray View Post
I'm not sure what you are asking?
I brought a precision to my question: in avs script, can I put the SSIM evaluation in a numeric variable (type float)?

Last edited by leon1789; 20th August 2011 at 16:31.
leon1789 is offline   Reply With Quote
Old 20th August 2011, 23:18   #4  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
@leon1789,

Yes, but you will have to learn to use runtime scripting, i.e. scriptclip() and friends.
IanB is offline   Reply With Quote
Old 21st August 2011, 09:21   #5  |  Link
leon1789
Registered User
 
leon1789's Avatar
 
Join Date: Sep 2009
Location: Poitiers (Fr)
Posts: 77
Quote:
Originally Posted by IanB View Post
@leon1789,

Yes, but you will have to learn to use runtime scripting, i.e. scriptclip() and friends.
Ok, it's not surprising (because variable not constant). And what is the command?
leon1789 is offline   Reply With Quote
Old 21st August 2011, 17:02   #6  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
This post suggests that the following run-time (per-frame) functions are available:
SSIM_AVG(clip a, clip b)
SSIM_Y(clip a, clip b)
SSIM_U(clip a, clip b)
SSIM_V(clip a, clip b)

See also posts #16 and #21 of the same thread for examples of use.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 21st August 2011, 18:20   #7  |  Link
leon1789
Registered User
 
leon1789's Avatar
 
Join Date: Sep 2009
Location: Poitiers (Fr)
Posts: 77
Thank you for your answer.
Quote:
Originally Posted by Gavino View Post
This post suggests that the following run-time (per-frame) functions are available:
SSIM_AVG(clip a, clip b)
SSIM_Y(clip a, clip b)
SSIM_U(clip a, clip b)
SSIM_V(clip a, clip b)

See also posts #16 and #21 of the same thread for examples of use.
You're right, but the library ssim.dll (size:84 KB, date: 2005-08-17, source: http://avisynth.org/warpenterprises/ ) in my plugins doesn't exporte ssim_avg, _y, etc. but only ssim(clip a, clip b, ...) .

Perharps a more recent version of ssim.ddl, but where?

Last edited by leon1789; 22nd August 2011 at 07:10.
leon1789 is offline   Reply With Quote
Old 23rd August 2011, 16:38   #8  |  Link
leon1789
Registered User
 
leon1789's Avatar
 
Join Date: Sep 2009
Location: Poitiers (Fr)
Posts: 77
nobody can help me?
leon1789 is offline   Reply With Quote
Old 23rd August 2011, 17:22   #9  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by leon1789 View Post
the library ssim.dll (size:84 KB, date: 2005-08-17, source: http://avisynth.org/warpenterprises/ ) in my plugins doesn't exporte ssim_avg, _y, etc. but only ssim(clip a, clip b, ...) .

Perharps a more recent version of ssim.ddl, but where?
Version 0.24 (2004-06-05) downloaded from the SSIM thread doesn't have them either, and the link in post #16 which mentioned them is dead.

Perhaps sh0dan has that version. Try a PM to him.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 24th August 2011, 16:03   #10  |  Link
leon1789
Registered User
 
leon1789's Avatar
 
Join Date: Sep 2009
Location: Poitiers (Fr)
Posts: 77
Ok, thanks!
leon1789 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.