VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member
    Join Date
    Feb 2021
    Location
    127.0.0.1
    Search Comp PM
    In first 1.2s of video there is a pink bar on the bottom.

    Image
    [Attachment 62175 - Click to enlarge]


    If this would be a picture, removing it is faster than launching Photoshop, but how about video?
    Quote Quote  
  2. Using EdgeFixer on the affected frames using Avisynth or Vapoursynth should work fine.
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  3. Member
    Join Date
    Feb 2021
    Location
    127.0.0.1
    Search Comp PM
    I just run this Avisynth with EdgeFixer. Checked sample and created script. Then run it. In MPC-HC won't working, in WMP talking can't open file. I tried full path and file name only - both don't working. Script in ANSI. Video in TS, both players can load it throgh explorer. Don't know WTF

    Ok, now know, script must be instructed about format. But it still don't working in MPC-HC.

    Also it's not real solution, video is not fixed.
    Last edited by JosephTocco; 6th Dec 2021 at 04:01.
    Quote Quote  
  4. Video Damager VoodooFX's Avatar
    Join Date
    Oct 2021
    Location
    At Doom9
    Search PM
    Originally Posted by JosephTocco View Post
    Also it's not real solution, video is not fixed.
    Are you trying to edit video with MPC-HC and WMP video players? That's not how video editing works.
    Usually AvsPmod, MeGUI or VirtualDub2 are used to preview AvS scripts.
    Quote Quote  
  5. Code:
    ImageSource("Secrets of The Desert Elephants.ts_snapshot_00.00.247.jpg", start=0, end=240, fps=23.976) 
    ConvertToYV12()
    
    patch = ChromaShiftSP(x=20, y=-10)
    patch = Overlay(patch, last.Crop(0,0,0,-10))
    
    ReplaceFramesSimple(last, patch, Mappings="[0 29]") # first 1.2 seconds
    Image
    [Attachment 62196 - Click to enlarge]


    http://avisynth.nl/index.php/ChromaShiftSP
    http://avisynth.nl/index.php?title=RemapFrames
    Last edited by jagabo; 6th Dec 2021 at 17:49.
    Quote Quote  
  6. Member
    Join Date
    Feb 2021
    Location
    127.0.0.1
    Search Comp PM
    Originally Posted by VoodooFX View Post
    Are you trying to edit video with MPC-HC and WMP video players?
    Nope. I want to fix video, so I told this is not solution, this Avisynth, because it not editing video, as I see.

    Question is how to fix frames inside video?
    Quote Quote  
  7. You need to re-encode the video after applying the filter.

    open the avisynth script in virtualdub2, preview it does what you want, then save the output video.
    Quote Quote  
  8. Here's one that doesn't require any third party filters (aside from the source filter):

    Code:
    source = ImageSource("Secrets of The Desert Elephants.ts_snapshot_00.00.247.jpg", start=0, end=240, fps=23.976) 
    source = source.ConvertToYV12()
    
    bottom = Crop(source, 0,source.height-10,-0,-0) # the last 10 scan lines
    above = Crop(source, 0,source.height-20,-0,10) # the ten scan lines just above that
    bottom = MergeChroma(bottom, above) # replace chroma of the bottom 10 with the chroma of those just above
    fixed = Overlay(source, bottom, x=0, y=source.height-10) # put the fixed chroma over the original vieo
    
    fixed.Trim(0,29)++source.Trim(30,0)  # first 30 frames fixed, rest as is
    Quote Quote  
  9. Video Damager VoodooFX's Avatar
    Join Date
    Oct 2021
    Location
    At Doom9
    Search PM
    Originally Posted by JosephTocco View Post
    I want to fix video, so I told this is not solution, this Avisynth, because it not editing video, as I see.

    Question is how to fix frames inside video?
    Avisynth edits video, but you need other program to save it or to preview your edits.
    Quote Quote  
  10. Member
    Join Date
    Feb 2021
    Location
    127.0.0.1
    Search Comp PM
    Originally Posted by butterw View Post
    You need to re-encode the video after applying the filter.
    Originally Posted by VoodooFX View Post
    Avisynth edits video, but you need other program to save it or to preview your edits.
    Okay guys, I must research Avisynth deeper, I'm not familiar with it, but as you show me it's quite powerful.
    Are there other programs than Virtualdub2, something more friendly, that support Avisynth?
    Quote Quote  
  11. VirtualDub2 is the easiest. Alternatives include StaxRip, MeGUI, x264 CLI, x265 CLI, ffmpeg, You might want to try StaxRip as it comes with pre-configured with AviSynth and many filters.
    Quote Quote  



Similar Threads

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