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 Development

Reply
 
Thread Tools Display Modes
Old 30th March 2004, 01:49   #1  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Posts: 425
new filter: Vectorscope/Waveformmonitor

Hello everyone,

here is just a little preview of my next filter:

vectorscope

The whole package including sources will follow the next days.

hanfrunz
hanfrunz is offline   Reply With Quote
Old 30th March 2004, 09:54   #2  |  Link
sh0dan
AviSynth Developer
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,468
I cannot download, even if I copy+paste the URL.
__________________
Regards, sh0dan // VoxPod
[AviSynth 2.5 project page] | [blog].
sh0dan is offline   Reply With Quote
Old 30th March 2004, 10:14   #3  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Posts: 425
mmh i tried, and it works... (if i copy and paste!)
maybe i should look for a new webspace...

hanfrunz
hanfrunz is offline   Reply With Quote
Old 30th March 2004, 10:29   #4  |  Link
sh0dan
AviSynth Developer
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,468
Got it (geocities is sometimes a bit vodooish).

Anyway - what am I watching. At first looks is seems like Histogram(mode="classic"), but horizontally - is that completely wrong?
__________________
Regards, sh0dan // VoxPod
[AviSynth 2.5 project page] | [blog].
sh0dan is offline   Reply With Quote
Old 30th March 2004, 19:17   #5  |  Link
trevlac
budala
 
Join Date: Oct 2003
Location: U.S.
Posts: 545
@hanfrunz

Interesting .....

You decided to mimic the trace. Do you think that is better than only showing the digital points? I did a test with 75% color bars and they hit all of the targets. Good job.

The vector size would be nicer if it was more like a zoom to the center. A full 1024x1024 is a bit hard to work with.

I have a number of technical questions, just to see how you did certain things. Will you provide source when you are closer?

..........

I made a vectorscope/wfm for vdub. I posted an avisynth usage thread a few weeks back. Really helped me learn about color.

http://forum.doom9.org/showthread.ph...ht=vectorscope

Here is the source.
trevlac is offline   Reply With Quote
Old 30th March 2004, 20:48   #6  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Posts: 425
Hi trevlac,

i wanted to simulate a real vectorscope, maybe i will add an option to turn the line-drawing of (costs a lot of cpu time...) I'm just thinking of coding a gui-based scope, which pops up if you play a video (if it's in the filterchain) I am just experimenting with OpenGL to draw the lines, but it is too slow...

If have cleaned up the code i will upload it. What questions do you have?

hanfrunz
hanfrunz is offline   Reply With Quote
Old 30th March 2004, 21:44   #7  |  Link
trevlac
budala
 
Join Date: Oct 2003
Location: U.S.
Posts: 545
Hi,

A gui based one sounds good. Real usefulness is all about how you can view and tweak. I never tried to do the line drawing, because I was afraid it would be too slow.

Some questions ... you don't really have to answer. I just wanted to compare notes. I can do that with the source.

- Calc you used to scale Cb and Cr. In their digital form, they never hit the targets. I had to scale to 'analog' YUV values. Made sense after I did it (seeing that an analog scope uses a YUV signal), but I was doing a bit of guessing.

- Do you change the intensity if you draw in the same spot often

- Did you find a reference on the vector target placement?

- Have you thought about some more wfm options like a full composite signal?



I think this stuff is great. I'm not sure why more people don't talk about using scopes to analyze the signal. I'm a bit of a novice, but I've found it very helpful to see what a certain tweak does to a chart (vs by eye).
trevlac is offline   Reply With Quote
Old 30th March 2004, 22:02   #8  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Posts: 425
i wanted to emulate a tektronix wfm601, this a digital scope. So there is no scaling at all. I just take the pure YUY2-data and then draw the lines. The line-drawing function, works like that: calculate next point to draw, check the brightness, add 2 (i think i used 2...), paint. So i a line is drawn often it gets brighter and brighter...
The markers: i don't know if the size is in any spec. i just made it looking good to me. The values of an EBU colorbar are defined in Rec.601 for example. (use google). Hopefully a lot of WFM functions will follow. I started a Diamond Display, but there is a tektronix-copyright, so i stopped developing this...

hanfrunz
hanfrunz is offline   Reply With Quote
Old 31st March 2004, 07:43   #9  |  Link
rfmmars
Registered User
 
Join Date: Feb 2004
Posts: 729
Still can't download vectorscope

I have tried many times to download but link is dead to file.

richard
rfmmars is offline   Reply With Quote
Old 31st March 2004, 22:33   #10  |  Link
trevlac
budala
 
Join Date: Oct 2003
Location: U.S.
Posts: 545
@Richard

I had to cut the link, past it into a new browser window, and try a few times to get it to work.

@hanfrunz

I looked at the vectorscope a little closer. I don't think you have the targets in the 'standard' spots. Red should be at the top. Here is a link about scopes. It shows some 'specs' about the scale on a scope.

http://www.rcc.ryerson.ca/rta/tvtech...er07/main.html


@sh0dan

If I may for hanfrunz, the WFM is basically the same as histogram clasic (which is not actually a histogram afaik ). Quite useful in adjusting levels.

The vectorscope, on the other hand, is an invaluable tool for adjusting UV.

Forgive me if this is basic stuff for you. I'm just learning the topic and like to talk about it.
trevlac is offline   Reply With Quote
Old 31st March 2004, 22:51   #11  |  Link
stickboy
AviSynth Enthusiast
 
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,261
LoadPlugin fails when I try to load the DLL. Are there any dependencies?

(No, I don't think my problem is related to the avisynth.cpp changes I suggested; I can't get it to load with the 2004-03-18 avisynth.dll build either.)
stickboy is offline   Reply With Quote
Old 2nd April 2004, 02:16   #12  |  Link
timecop
Senior Hater
 
Join Date: Aug 2002
Location: japan
Posts: 118
you need msvcr70.dll
(or he needs to recompile the plugin linking crt in statically)
timecop is offline   Reply With Quote
Reply

Thread Tools
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 14:02.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.