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.
+ Reply to Thread
Results 1 to 10 of 10
-
Last edited by maudit; 24th Oct 2023 at 10:12.
-
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.
-
Crop() after the source filter.
-
@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. -
I always get this error when trying to use Inpaint Delogo 3.7:
[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")
-
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. -
-
@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...
Similar Threads
-
Auto mask section of video
By Tsubaru in forum EditingReplies: 2Last Post: 13th May 2023, 12:13 -
"Error opening mask file!.....[not] correct spool dir"
By Georgey in forum Newbie / General discussionsReplies: 6Last Post: 31st Dec 2022, 09:54 -
need assistance with mask
By Betelman in forum RestorationReplies: 9Last Post: 19th Aug 2021, 20:53 -
Help with My Script Motion Mask for two videos
By Kuronoe in forum Newbie / General discussionsReplies: 5Last Post: 28th Jan 2021, 18:41 -
Help with My Scriot Motion Mask for two videos
By Kuronoe in forum Newbie / General discussionsReplies: 0Last Post: 28th Jan 2021, 09:46