VideoHelp Forum




+ Reply to Thread
Results 1 to 25 of 25
  1. I'm not sure what's caused this as I didn't do the capture, but I've got a WMV file of some VHS footage, and it's got stripey green and pink lines through some parts of the picture. It looks especially bad when there's bright colours in the picture, particularly yellows, pinks and greens.

    I think it may have occured from a bad de-interlacing filter, but can't say for sure??
    Does anyone know what's happened, and better still how to reduce it? Possibly just by using the filters in Avidemux.

    Click image for larger version

Name:	125qnbk.png
Views:	505
Size:	820.7 KB
ID:	14077

    Click image for larger version

Name:	vlcsnap-2012-10-01-12h45m57s140.png
Views:	485
Size:	845.6 KB
ID:	14078

    Click image for larger version

Name:	vlcsnap-2012-10-01-12h46m48s138.png
Views:	435
Size:	699.1 KB
ID:	14079
    Quote Quote  
  2. Those are Hanover bars from PAL video.

    http://en.wikipedia.org/wiki/Hanover_bars

    You need to blur the chroma channels to get rid of them. I don't know if you can do that with AviDemux. Something like this works in AviSynth:

    MergeChroma(last, SeparateFields().Blur(0,1.0).Sharpen(0,0.7).Weave( ))
    Last edited by jagabo; 1st Oct 2012 at 08:38.
    Quote Quote  
  3. upload a sample for further help
    *** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
    Quote Quote  
  4. Ok, here's a clip. The container got changed to AVI when I snipped out this small sample, but the video hasn't been transcoded from my original pictures above.

    I found I can blur the chroma a bit in Avidemux using Gauss Smooth and only ticking the chroma checkbox. It got rid of the hard lines, but there was still a lot of pink/green flickering in the same area (possibly it was on the original tape?)
    Image Attached Files
    Quote Quote  
  5. Originally Posted by Gibson's Squares View Post
    pink/green flickering in the same area (possibly it was on the original tape?)
    Yes, it's a typical VHS problem. It's also got bad dot crawl artifacts.
    Quote Quote  
  6. Try this
    script: http://www.mediafire.com/?77v2tt85tw7h4kx
    video:
    http://www.mediafire.com/?77v2tt85tw7h4kx

    I suggest you use dfttest at the end
    Image Attached Thumbnails Click image for larger version

Name:	og.jpg
Views:	514
Size:	77.6 KB
ID:	14107  

    Click image for larger version

Name:	new.jpg
Views:	478
Size:	72.5 KB
ID:	14108  

    *** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
    Quote Quote  
  7. Originally Posted by themaster1 View Post
    Both links the same -- to AVI file.

    I used this to get rid of the Hanover bars:

    Code:
    MergeChroma(last, Blur(0,1.0).Sharpen(0,0.7))
    Last edited by jagabo; 2nd Oct 2012 at 18:08.
    Quote Quote  
  8. *** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
    Quote Quote  
  9. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Looks weird because it's also grossly oversaturated, with luma and chroma levels that are invalid even for PC-RGB.
    Last edited by sanlyn; 23rd Mar 2014 at 10:45.
    Quote Quote  
  10. Wow, that's certainly an improvement!

    @Sanlyn - do you mean the original or themaster's example has invalid chroma levels?
    Quote Quote  
  11. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    I refer to both, but the original is worse.
    Last edited by sanlyn; 23rd Mar 2014 at 10:45.
    Quote Quote  
  12. Code:
    MergeChroma(last,Blur(0,1.0).Sharpen(0,0.7)) # eliminate hanover bars
    ChromaShift(c=-2,l=-2) # move colors left and up
    ColorYUV(cont_u=-30, cont_v=-30) # reduce saturation
    ColorYUV(gain_y=40, gamma_y=40, off_y=-7) # gamma and levels
    BicubicResize(360,576) # eliminate dot crawl herringbone
    MergeChroma(last,McTemporalDenoise(settings="very high")) # chroma temporal noise reduction
    BicubicResize(720,576) # restore frame size
    The colors need more work but that's a start.
    Image Attached Files
    Quote Quote  
  13. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Yeah,colors can usually be fixed. Sometimes better color and levels can mask many defects, or make one feel that they aren't prominent. Noise itself has color, so lowering or raising something can make it look as if more denoising was done.
    Last edited by sanlyn; 23rd Mar 2014 at 10:45.
    Quote Quote  
  14. That's so cool jagabo. Thanks. There's still some wider pink/green stripes about a 1/3rd from the top edge, but they don't seem to be flickering or moving any more - is it possible to minimize them or is that as far as the picture can be pushed?

    What's the restore frame size for at the end? Was the file not already 720x576? (just curious).
    Quote Quote  
  15. Originally Posted by Gibson's Squares View Post
    That's so cool jagabo. Thanks. There's still some wider pink/green stripes about a 1/3rd from the top edge, but they don't seem to be flickering or moving any more - is it possible to minimize them or is that as far as the picture can be pushed?
    They are fairly consistent when there is color in those areas. You could try using masks and adjusting the chroma channels in those areas. That's pretty advanced and building the masks will be hard.

    Originally Posted by Gibson's Squares View Post
    What's the restore frame size for at the end? Was the file not already 720x576? (just curious).
    I reduced the frame size to 360x576 a few lines before -- to eliminate the dot crawl herringbone noise. That doesn't really hurt the resolution because the VHS source only has about 360x576 resolution anyway.
    Quote Quote  
  16. Ah, cool, I understand.

    So I'm gonna attempt to run that script across the whole file. I've installed Avisynth, VirtualDub and the WMV9 VCM codec via PlayOnMac (I'm on a mac!).

    But I get the error: 'Avisynth open failure. AviSource: Could not decompress frame 0' when I try and open the file with the line 'avisource("test.avi")'.

    Anyone know what's up??
    Last edited by Gibson's Squares; 3rd Oct 2012 at 13:07.
    Quote Quote  
  17. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    I had that problem also. There appears to be something wrong at frame 0. I used this (change the path to your avi file):
    Code:
    DirectShowSource("I:\forum\Gibson\test.avi",fps=25.000).trim(1,0)
    Thanks to Master1 for figuring that out. You might try some of the ideas in his script as well, although it's a more complicated script.
    Last edited by sanlyn; 23rd Mar 2014 at 10:45.
    Quote Quote  
  18. I suspect you will have difficulties with avisynth on Mac , unless you are using a dual boot (real windows boot) or virtualization software . None of the windows VFW or DirectShow functions will work otherwise

    PlayonMac doesn't count - it only supports a few game titles

    EDIT: well this says you can use PlayonMac
    http://avisynth.org/mediawiki/HOWTO:_AviSynth_video_processing_with_WINE


    Not sure how accurate any of these guides are
    Quote Quote  
  19. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Uh-oh, I just noticed myself. A Mac. Hmmm.....
    Last edited by sanlyn; 23rd Mar 2014 at 10:45.
    Quote Quote  
  20. It's not a disease sanlyn! I did indeed use the guide you posted for the installation.

    Ok, tried your new line and I now get the error 'DirectShowSource: RenderFile, the filter graph manager won't talk to me"


    Quote Quote  
  21. Unless the software does emulation for everything (including windows .dll's), The directshow and video for windows (VFW) subsystems won't work on a mac (or any OS)

    I know FFMpegSource2 (as a source filter in avisynth) can work under wine for linux, and it doesn't rely on those subsystems. I don't know if it will work on a mac
    Quote Quote  
  22. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Originally Posted by Gibson's Squares View Post
    It's not a disease sanlyn!
    No, of course it isn't. I PM'ed somebody about that vfw hangup that poinsondeathray mentions, but they didn't have an answer for us. Shucks. Maybe they'll come up with something. Meanwhile I'm trying to think, how can we can get that avi into a form that Avisynth can deal with?
    Last edited by sanlyn; 23rd Mar 2014 at 10:46.
    Quote Quote  
  23. @sanlyn
    if you can't decode it, change h.264/avc to libavcodec in the ffdshow panel /codecs
    *** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
    Quote Quote  
  24. I used DirectShowSource(), not AviSource.
    Quote Quote  
  25. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Originally Posted by themaster1 View Post
    @sanlyn
    if you can't decode it, change h.264/avc to libavcodec in the ffdshow panel /codecs
    I didn't have any problem decoding it.
    Last edited by sanlyn; 23rd Mar 2014 at 10:46.
    Quote Quote  



Similar Threads

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