VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Hi guys

    I am looking for a way to apply a vectorscope to some mts files I have so that I can do colour correction. I have no money for new programs so is there any free programs available. Running windows 64 bit

    Thanks
    Quote Quote  
  2. VirtualDub+ColorTools plugin, AviSynth Histogram(mode="color") or Histogram(mode="color2") or VideoScope("both", true, "U", "V", "UV").
    Quote Quote  
  3. To read MTS files you'll need the ffmpeg source plugin for VirtualDub if you use that program. For AviSynth you'll need the LSMASH source plugin.
    Quote Quote  
  4. Use ffmpeg:
    More on https://trac.ffmpeg.org/wiki/Vectorscope or

    Bellow script provided as reference for functionality comparable to TEK WFM601.

    Code:
    @setlocal
    @set /a cput=(%NUMBER_OF_PROCESSORS%*3)/2
    @set FFMPG=D:\Media\FF
    @set PTH=%PATH%
    @set PATH=%FFMPG%;%PTH%
    @set FC_CONFIG_DIR=%FFMPG%\conf
    @set FONTCONFIG_FILE=%FFMPG%\conf\fonts.conf
    @set FONTCONFIG_PATH=%FFMPG%\conf
    
    @echo %1%
    
    @ffplay -hide_banner -threads %cput% -loglevel 24 -stats -color_range 2 -loop 0 -i "%1" -an -sn -color_range 2 -vf "scale=-2:256:sws_flags=bilinear:sws_dither=0:in_range=1:out_range=1,format=pix_fmts=yuv420p,split=2[a0][b0];[a0]waveform=filter=lowpass:scale=digital:graticule=green:flags=numbers+dots:components=7:display=stack:envelope=peak+instant[a0o];[a0o][b0]vstack[out]"
    @endlocal
    @pause
    Quote Quote  
  5. Here's a simple AviSynth script, no plugins needed:
    Image
    [Attachment 39610 - Click to enlarge]
    Code:
    ##################################
    ### show waveform + vectorscope
    ##
    ## @ squeeze - if true (default), output size =  input size;
    ##             if false, width & height increase by 256 pixels.
    ## @ labels - if true (default), show small axis labels on vectorscope.
    ##
    function VideoScopes(clip C, bool "squeeze", bool "labels")
    {
        Assert(C.IsYUV, 
        \   "VideoScopes: source must be YUV")
        squeeze = Default(squeeze, true)
        labels  = Default(labels, true)
    
        C
        TurnRight.Histogram.TurnLeft
    
        ## Histogram requires planar
        (C.IsYUY2) ? ConvertToYV24 : Last
        Histogram("color2") 
        (C.IsYUY2) ? ConvertToYUY2 : Last
        
        x = Width-256
        (labels) 
        \ ?  Subtitle("U+", x=x+220, y=120, text_color=$80cccccc, size=16)
        \   .Subtitle("V+", x=x+117, y=230, text_color=$80cccccc, size=16)
        \   .Subtitle("U-", x=x+15,  y=120, text_color=$89cccccc, size=16)
        \   .Subtitle("V-", x=x+115, y=10,  text_color=$80cccccc, size=16)
        \ : Last
    
        return (squeeze) 
        \ ? BicubicResize(C.Width, C.Height) 
        \ : Last 
    }
    EDIT note, 64-bit programs are NOT required. With Win 8.1 64-bit, I use 32-bit AviSynth, VirtualDub etc.
    Quote Quote  
  6. Member
    Join Date
    Aug 2010
    Location
    San Francisco, California
    Search PM
    The histogram filter feels like a toy to me without targets. Here is a real vectorscope:

    Quote Quote  



Similar Threads

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