hmm yeah you're right it's better with two instances
I guess you're officially doomed, did you piss off a lady lately ?
+ Reply to Thread
Results 31 to 60 of 60
-
*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
-
Are you female? I had a problem with a video so I was asking how to fix it. What did I do to you to illicit such a response? I expect to hear talk like that elsewhere, not on VideoHelp.com
-
This goes to themaster1:
I'm watching this thread to learn a bit more about scripts. I'm trying to duplicate here your scripts.
I'm also trying to see the "study" you put at the bottom of your script:
Code:#ColorYUV(analyze=true) Histogram(int2mode(1)) # Avec Slider pour HISTOGRAMME #Histogram(mode="luma") # mode lumière (npe) #Greyscale() #UtoY() # analyse U #VtoY() # analyse V #ConverttoYUY2(interlaced=true) # pour VIDEOSCOPE #VideoScope("both", true, "Y") # pour niveaux lumière #VideoScope("side", true, "UV") # pour niveaux lumière #VideoScope("both", true, "U", "V", "UV") # mode avec vectorscope #VideoScope("both", false, "Y", "Y", "Y") # très interessant ce mode
Searching other threads I found this:
Code:function int2mode(int index) { return Select(index, "classic", "levels", "color") } #for HISTOGRAM
May you, please, explain more about that "study"?Last edited by jairovital; 9th Feb 2012 at 05:13.
Thank you. -
Holygamer, please, calm down. Themaster1 didn't offended you. It was a joke, good mood.
Please, man, decrease your RPM and speed. He was kidding.Thank you. -
The only ones i use on a day to day basis are:
Histogram(mode="luma") # for noise,grain, blocking anaysis
Histogram(int2mode(1)) # for levels YUV
You must put function int2mode {...} before avisource or mpegsource for instance
Further infos for videoscope can be found here:
http://avisynth.org.ru/docs/english/externalfilters/vscope.htm
for histogram here:
http://avisynth.org/mediawiki/Histogram*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
Yeah! Very interesting. I could see those graphics, but this one is hard to understand:
It is placed at the bottom righ side of this line: (at frame #62)
Code:VideoScope("both", true, "U", "V", "UV") # mode avec vectorscope
Thank you for the links.Thank you. -
At mediawiki I read:
"The side (purple) graph shows the U-value.
The bottom (green) graph shows the V-value."
But I cannot see how it shows such values in that graphic.
Is it the same understanding of Histogram Color Mode?Thank you. -
Try to experiment with colorbars if you don't understand
example::
colorbars(width=720,height=480,pixel_type="YV12")
Tweak(0.0,1.0,0,1.0,coring=false)
ConverttoYUY2()
VideoScope("both", true, "U", "V", "UV")
Change the hue value in tweak and you'll see*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
-
Try this animation:
Code:Colorbars(width=720,height=480,pixel_type="YV12") Trim(0,360) Crop(0,0,-0,320) Animate(0, 360, "Tweak", 0.0,1.0,0,1.0,false,false, 360.0,1.0,0,1.0,false,false) ConverttoYUY2() VideoScope("both", true, "U", "V", "UV")
-
Thank you.
-
int2mode is only needed if you are using AvsP[Mod] and want a slider to change the histogram mode.
Histogram(int2mode(1)) is the same as Histogram(mode="levels").
Yes, it's a test tone (440Hz sine wave - an 'A'), which pulses in the right-hand channel, on and off once per second.
http://avisynth.org/mediawiki/ColorBars -
You could build one with ShowRed(), ShowGree(), ShowBlue(), and Histogram().
Code:# assuming a YV12 source r=ConvertToRGB().ShowRed().ConvertToYV12().Histogram().Crop(width, 0, -0, -0) g=ConvertToRGB().ShowGreen().ConvertToYV12().Histogram().Crop(width, 0, -0, -0) b=ConvertToRGB().ShowBlue().ConvertToYV12().Histogram().Crop(width, 0, -0, -0) StackHorizontal(last,r,g,b)
Last edited by jagabo; 12th Feb 2012 at 08:44.
-
Hmm yeah but you gotta agree this kind of graph is not very helpful for the average joe.I'd much rather like a sony vegas-like graph or vub-like (color tools) histogram
Like this: http://imageupload.org/en/file/179594/test.jpg.html
AVISource("D:\MyVideo.avi")
converttorgb32(interlaced=false)
input=last
LoadVirtualdubPlugin("C:\Program Files (x86)\virtualdub1.9\plugins\clrtools.vdf","ctools" ,1)
ctools(0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1)
spline36resize(720,480)
StackHorizontal(input, last)
*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
Histogram() has a ColorTools-like histrogram mode too. The graphs are really small though.
Code:#assuming YV12 input again l=Histogram("levels").Crop(width, 0, 256, 72).Subtitle("luma") r=ConvertToRGB(matrix="PC.601").ShowRed().ConvertToYV12(matrix="PC.601").Histogram("levels").Crop(width, 0, 256, 72).Subtitle("red") g=ConvertToRGB(matrix="PC.601").ShowGreen().ConvertToYV12(matrix="PC.601").Histogram("levels").Crop(width, 0, 256, 72).Subtitle("green") b=ConvertToRGB(matrix="PC.601").ShowBlue().ConvertToYV12(matrix="PC.601").Histogram("levels").Crop(width, 0, 256, 72).Subtitle("blue") StackHorizontal(last,StackVertical(l,r,g,b).AddBorders(0,0,0,height-288))
Last edited by jagabo; 12th Feb 2012 at 09:47.
-
Not bad, but i still prefer the color tools for the simple fact it return numeric values along with the yrgb graphs.
It's about time someone make a dedicated histogram plugin for deep analysis in all modes , something more practical*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
Hi, I tried converttoyv12() but it still crashes. As far as I can tell my script is correct, can you see anything wrong with it?:
Mpeg2Source("E:\1\colour test.d2v", CPU=6,info=3)
DeGrainMedian(limitY=2, limitUV=3, mode=1, interlaced=true)
converttorgb32(interlaced=true)
LoadVirtualdubPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMill.vdf","colormill",1)
colormill(25700, 31076, 21604, 25700, 25700, 25700, 25734, 25700, 25700, 25700, 25700, 25700, 25700, 1124, 5)
LoadVirtualdubPlugin("C:\Program Files\AviSynth 2.5\plugins\Camcorder_Color_Denoise_sse2.vdf","ccd ",1)
ccd(41,1)
LoadVirtualdubPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMill.vdf","colormill",1)
colormill(25700, 25700, 25700, 25700, 25700, 25700, 25700, 25700, 25700, 25713, 25700, 25700, 25700, 1124, 5)
converttoyv12()
Crop(0,0,0,-14)
Tweak(Bright=-0, Sat=1.5, Cont=1.0, Hue=0.0, Coring=False)
AddBorders(8, 0, 8, 14) -
Last edited by jairovital; 13th Feb 2012 at 11:10.
Thank you. -
Pure hypothesis:
Perhaps the fact that the .vdf is inside the avisynth plugins folder is confusing avisynth somehow, although i don't see the reason why.
Try to place them elsewhere.
For the crop and addborders you should put something like this imo:
Crop(0,0,0,-16)
AddBorders(8, 8, 8, 8, $000000)
another error spotted:
converttoyv12() should in fact be converttoyv12(interlaced=true)
N.B:
You should only load colormill once but that's not a problem generally to load it several times*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
I moved the files into another folder and it didn't make a difference. What does $000000 do?
This is my script. You said I should only load colormill once. Could you please tell me what I should use instead of the following. I tried deleting the red line but it just gave me an error.
Mpeg2Source("E:\1\colour test.d2v", CPU=6,info=3)
DeGrainMedian(limitY=2, limitUV=3, mode=1, interlaced=true)
converttorgb32(interlaced=true)
LoadVirtualdubPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMill.vdf","colormill",1)
colormill(25700, 31076, 21604, 25700, 25700, 25700, 25734, 25700, 25700, 25700, 25700, 25700, 25700, 1124, 5)
LoadVirtualdubPlugin("C:\Program Files\AviSynth 2.5\plugins\Camcorder_Color_Denoise_sse2.vdf","ccd ",1)
ccd(41,1)
LoadVirtualdubPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMill.vdf","colormill",1)
colormill(25700, 25700, 25700, 25700, 25700, 25700, 25700, 25700, 25700, 25713, 25700, 25700, 25700, 1124, 5)
converttoyv12()
Crop(0,0,0,-14)
Tweak(Bright=-0, Sat=1.5, Cont=1.0, Hue=0.0, Coring=False)
AddBorders(8, 0, 8, 14) -
I think i have found the root of your problem: the syntax.
Should look like this, without space between cdd & the ":
LoadVirtualdubPlugin("C:\Program Files\AviSynth 2.5\plugins\Camcorder_Color_Denoise_sse2.vdf","ccd",1)
When i paste the code here it add and extra space (Bug ?)so be sure to remove it
Full script:
Mpeg2Source("E:\1\colour test.d2v", CPU=6,info=3)
DeGrainMedian(limitY=2, limitUV=3, mode=1, interlaced=true)
converttorgb32(interlaced=true)
LoadVirtualdubPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMill.vdf","colormill",1)
colormill(25700, 31076, 21604, 25700, 25700, 25700, 25734, 25700, 25700, 25700, 25700, 25700, 25700, 1124, 5)
LoadVirtualdubPlugin("C:\Program Files\AviSynth 2.5\plugins\Camcorder_Color_Denoise_sse2.vdf","ccd ",1)
ccd(41,1)
colormill(25700, 25700, 25700, 25700, 25700, 25700, 25700, 25700, 25700, 25713, 25700, 25700, 25700, 1124, 5)
converttoyv12(interlaced=true)
Crop(0,0,0,-16)
Tweak(Bright=-0, Sat=1.5, Cont=1.0, Hue=0.0, Coring=False)
AddBorders(8, 8, 8, 8, $000000)*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
I already had that script you posted without a space. The forum software added the space!
Could you please tell me the answer to my questions in the previous thread here: https://forum.videohelp.com/threads/343257-How-to-Fix-Patchy-Colour-with-Avisynth?p=214...=1#post2141092 -
Ok script's working, case closed (finally!)
borders can be any colors: red, white, dark black (0rgb), lighter black (7rgb) and so on
ex: $101010 (black 16rgb)*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
Similar Threads
-
How to Fix Horizontal Jitter with AviSynth?
By VideoFanatic in forum RestorationReplies: 2Last Post: 26th Jan 2014, 22:52 -
How to get DePan for AviSynth to fix Screen Shake?
By VideoFanatic in forum RestorationReplies: 45Last Post: 30th Nov 2011, 07:49 -
Is it possible to Fix Bad Reception Artefacts with AviSynth??
By VideoFanatic in forum RestorationReplies: 6Last Post: 15th Nov 2011, 15:31 -
Colour Conversion problems with Avisynth
By wiseant in forum Video ConversionReplies: 6Last Post: 16th Mar 2011, 11:40 -
Deep Colour/xvYCC colour/x.v.colour confused consumer
By ArthurDaley in forum DVB / IPTVReplies: 10Last Post: 9th May 2007, 18:10