VideoHelp Forum




+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 60 of 60
  1. hmm yeah you're right it's better with two instances
    I guess you're officially doomed, did you piss off a lady lately ?
    *** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
    Quote Quote  
  2. ..
    Last edited by VideoFanatic; 9th Feb 2012 at 05:05.
    Quote Quote  
  3. 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
    Quote Quote  
  4. 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
    I got an error about int2mode for Histogram.

    Searching other threads I found this:
    Code:
    function int2mode(int index) { return Select(index, "classic", "levels", "color") } #for HISTOGRAM
    This is the same function to use here? What does it shows? I got no errors anymore, but I saw no difference, neither Histogram.

    May you, please, explain more about that "study"?
    Last edited by jairovital; 9th Feb 2012 at 05:13.
    Thank you.
    Quote Quote  
  5. 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.
    Quote Quote  
  6. Originally Posted by jairovital View Post
    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
    I got an error about int2mode for Histogram.

    Searching other threads I found this:
    Code:
    function int2mode(int index) { return Select(index, "classic", "levels", "color") } #for HISTOGRAM
    This is the same function to use here? What does it shows? I got no errors anymore, but I saw no difference, neither Histogram.

    May you, please, explain more about that "study"?
    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
    Quote Quote  
  7. Originally Posted by themaster1 View Post
    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
    Yeah! Very interesting. I could see those graphics, but this one is hard to understand:
    Name:  Videoscope.png
Views: 944
Size:  4.9 KB

    It is placed at the bottom righ side of this line: (at frame #62)
    Code:
    VideoScope("both", true, "U", "V", "UV") # mode avec vectorscope
    May you explain what we're seeing?

    Originally Posted by themaster1 View Post
    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
    Thank you for the links.
    Thank you.
    Quote Quote  
  8. 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.
    Quote Quote  
  9. 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
    Quote Quote  
  10. Originally Posted by themaster1 View Post
    Try to experiment with colorbars if you don't understand
    .......
    Change the hue value in tweak and you'll see
    Excellent! It's very clear, now! Thx.
    Thank you.
    Quote Quote  
  11. 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")
    Image Attached Files
    Quote Quote  
  12. Originally Posted by jagabo View Post
    Try this animation:
    jagabo, your example is awesome! Watching the animate I think I can apply the same to others functions and can see its behaviours. Very nice!

    BTW, why colorbar has that loud noise? Is it some frequency of note A or something?
    Thank you.
    Quote Quote  
  13. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by themaster1 View Post
    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
    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").

    Originally Posted by jairovital View Post
    why colorbar has that loud noise? Is it some frequency of note A or something?
    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
    Quote Quote  
  14. One thing that is missing in avisynth is a RGB histogram , unless there is one that i'm not aware of ?
    *** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
    Quote Quote  
  15. 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.
    Quote Quote  
  16. 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
    Quote Quote  
  17. Originally Posted by themaster1 View Post
    Hmm yeah but you gotta agree this kind of graph is not very helpful for the average joe.
    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))
    The source frame height must be at least 288 to use this script. Adjust matrix="" to suit.
    Last edited by jagabo; 12th Feb 2012 at 09:47.
    Quote Quote  
  18. 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
    Quote Quote  
  19. 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)
    Quote Quote  
  20. Originally Posted by holygamer View Post
    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?:
    This is your script, as it, running here: (only added Stackvertical)
    Click image for larger version

Name:	holygamer2.jpg
Views:	269
Size:	68.2 KB
ID:	10909

    I think the problem is NOT concerned avs script itself, but something wrong and weird with your system.
    Last edited by jairovital; 13th Feb 2012 at 11:10.
    Thank you.
    Quote Quote  
  21. 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
    Quote Quote  
  22. 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)
    Quote Quote  
  23. 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
    Quote Quote  
  24. 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
    Quote Quote  
  25. The last argument to AddBorders is the color -- $000000 is black.
    Quote Quote  
  26. if this script dont work i dont see man.Try with CPU=0 i get funky color effects with CPU=6

    When you open it with Avsp does it work? What error does it return if not
    *** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
    Quote Quote  
  27. When I open it in Avsp the video shows without giving an error.

    Why do you add black, I thought the borders are already black?
    Quote Quote  
  28. 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
    Quote Quote  
  29. Not quite case closed! The video displays without errors in AvsPmod but it just crashes without error in HC Encoder! That has always been my problem.

    Why did you add black when the borders are already black?
    Quote Quote  
  30. Originally Posted by themaster1 View Post
    ok script's working, case closed (finally!)
    Originally Posted by holygamer View Post
    not quite case closed!
    Very good!
    ROTFL
    Thank you.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!