VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Hi, I have a problem with a file on which I'm trying to remove the logo.

    The source is the usual DVB-T recording, but this time it seems different from others.
    Apart that is a 720p, but when I load it into Avisynth, and I add the line
    AssumeFPS(25)
    The duplicated frames do not disappear, like they usually do.
    That's why I've used
    SRestore(25) instead, and it seems it works, despite I had some difficulties when I synced it with the DVD.
    Basically, when I was looking for frames to remove and/or to duplicate, Avisynth always showed an inaccurate frame, always mismatched by 1 frame.

    So, my first question is: what is the issue? why is so inaccurate? is it cause of LWLibavVideoSource, or SRestore(25)? or both?
    what should I use instead of SRestore(25)?

    The secondary question is about a couple of errors showed during the mask creation.
    It created the 3 files, but the png do not look good, and at the end of the process I got an error about "Crop - Destination width is 0 or less".
    Then when I tried to run the second InpaintDelogo line in order to create the ebmp, I got another error about "mask is full".

    I've never dealt with such kind of file I think. I need a small help to understand what I'm doing wrong.
    I attach the mask folder, both the errors ss, 5 min sample(I can provide the complete one if needed) and the script.

    https://www.dropbox.com/scl/fo/82aeinhng8a5x25tpklgj/h?rlkey=d977srmpq0e1n0ctj850nihmq&dl=0

    Thank you.
    Last edited by maudit; 24th Oct 2023 at 10:12.
    Quote Quote  
  2. AssumeFPS(25) will never decimate or duplicate frames. It simply tells AviSynth to forget what it thinks the source frame rate is and assume it's the new frame rate. Your 15025 frame long video will still have 15025 frames, but each will be displayed for twice as long (1/25 second vs 1/50 second). What you want is to TDecimate() to 25 fps, for example TDecimate(Cycle=2, CycleR=1). Or maybe a simple SelectEven() or SelectOdd() (if the compression artifacts cause duplicate frames to differ more than non-duplicate frames). You could even use Merge(SelectEven(), SelectOdd()) to average out the compression artifacts -- though that could end up merging the wrong pair of frames if there's ever a phase change of the duplicate pattern.
    Last edited by jagabo; 24th Oct 2023 at 17:39.
    Quote Quote  
  3. @jagabo, using SelectEven() has solved the inaccurate frame issue.
    @VoodooFX, omg.. I'm noob, I put the crop after Inpaint, now fixed and it works.

    Thank you both.
    Quote Quote  
  4. I always get this error when trying to use Inpaint Delogo 3.7:

    Image
    [Attachment 74543 - Click to enlarge]


    I assume it's some version incompatibility with one of the support filters. But I haven't been able to track it down yet. Any ideas?

    The video is YV12, maudit's video in post #1. I'm trying to run his:

    Code:
    InpaintDelogo(mask="D:\mask.bmp", Automask=1, Loc="0,30,-1032,-628", Analyze=2, NoBorderAt="left")
    Quote Quote  
  5. Video Damager VoodooFX's Avatar
    Join Date
    Oct 2021
    Location
    At Doom9
    Search PM
    Recently an avs first-timer asked me a question about this exact error, then after a short time he asked about "neo_fft3d: libfftw3f-3.dll or fftw3.dll not found", so I assume he somehow solved it, he didn't wrote what was the issue. Probably check if all dependencies are latest versions.

    Let me know if you find the culprit.
    Quote Quote  
  6. Originally Posted by jagabo View Post
    Code:
    InpaintDelogo(mask="D:\mask.bmp", Automask=1, Loc="0,30,-1032,-628", Analyze=2, NoBorderAt="left")
    Hi, I have no idea what is the issue your experiencin', but those Loc values are the old wrong ones.

    I've changed them to:
    Code:
    crop(146, 0, -146, 0)
    #InpaintLoc(Loc="0,50,-906,-648") # logo borders
    #InpaintLoc(Loc="0,30,-886,-628") # +20px
    Quote Quote  
  7. Originally Posted by VoodooFX View Post
    @jagabo
    Is this error from MeGUI?
    I asked that user if he remembers about that error and he said that it was before he updated Avisynth Wrapper in MeGUI:
    https://drive.google.com/file/d/1JfiokTy2IOqOn1VTXN0eXQEDCC3vUdN4/view?pli=1
    Thanks for the input. No, I was opening the script with VirtualDub2. I get a similar error message from the x264 command line encoder. I don't my my plugins every time there's a new release, just as I need newer versions. I'm sure you know how that goes -- you update one but that breaks others, so then you have to update those, etc. It's a PITA. As I don't really use inpaintDelogo I haven't bothered to track the problem down until now. So far I've updated FrameSel and gotten a little further...
    Quote Quote  
  8. Originally Posted by maudit View Post
    Originally Posted by jagabo View Post
    Code:
    InpaintDelogo(mask="D:\mask.bmp", Automask=1, Loc="0,30,-1032,-628", Analyze=2, NoBorderAt="left")
    Hi, I have no idea what is the issue your experiencin', but those Loc values are the old wrong ones.

    I've changed them to:
    Code:
    crop(146, 0, -146, 0)
    #InpaintLoc(Loc="0,50,-906,-648") # logo borders
    #InpaintLoc(Loc="0,30,-886,-628") # +20px
    Thanks, I'll update my script here.
    Quote Quote  



Similar Threads

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