Unable to weave files after applying DeFreq?
I came across a thread about using DeFreq, and the scripts being shown had the source having the fields separated first, then applying DeFreq, then weaving back together, then run through QTGMC for deinterlacing. But if I try that, the fields stay separated. If I comment out the defreq(), they weave back together. But if I enable defreq, they stay separated.
Code:
LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\FFT3DFilter.dll") |
Remove the Return keyword from your script. When you use the return statement, you are saying to exit the script and return the result of what is placed on the same line after the return keyword. So, it does not execute Weave or QTGMC. If you move the return to after Weave, you'd see the full frame result of DeFreq but before QTGMC. If you remove it altogether, you'll see the result of DeFreq and QTGMC combined. return can be handy for debugging a script to see what things look like at a certain point in a script. But ultimately, you don't want a return statement in your finished script. It is generally used when you define functions, where you would place a return statement at the end of the function.
|
Quote:
Does defreq need to be applied before deinterlacing though, or can I run QTGMC then apply defreq afterwords? |
Quote:
If you do not want your final video to be deinterlaced you do: Code:
AssumeTFF() Code:
AssumeTFF() Code:
AssumeTFF() |
Thanks lollo2. I run deinterlacing overnight, then test with filtering after that, so this way helps a lot. Cheers.
|
As you are going to experiment, I would also try something like the following. It may be more effective because QTGMC() will fix the common problems of deinterlacing and it may be confused by the wrong patterns inside the video because the embedded defect requiring DeFreq(). So we first fix the defect, using a "frame" approach with Defreq, and then we deinterlace. The best solution really depends on the specific case.
Code:
AssumeTFF() |
Thanks lollo2. The electrical interference lines are rolling upwards in the frame, but are at a slight angle, not perfectly horizontal. NeatVideo can remove them, but I found it to lose too much detail in the process, but it was the demo version, and I haven't played around with the settings yet. My project is my copy of Woodstock '99, spanning 30 tapes, for a total of 60 hours of coverage... live during the day, as well as the overnights. So my goal is to capture a few tapes during the day, then deinterlace while I sleep. Once everything's digitized and deinterlaced, I'll then start tackling the filtering. I have 10 more tapes to capture, and I'm only 5 tapes into deinterlacing. Once I've finished the captures, I can deinterlace during the day as well as overnight, so I'm hoping another 2 weeks... or so. :-p I did find that 2 of my tapes have intermittent tearing at the top of the frame, and after inspection, it's the bottom field that's messed up. I then found a script that interpolated the full frame from the good field, then uses qtgmc to reinterlace, so I can then use qtgmc again to deinterlace into 60fps to match the rest of the sources. It actually looks indistinguishable from the original. :-)
Edit: forgot to mention... the interference is only present on 2 tapes. I had 4 Toshiba vcrs going, using 160min tapes, with 15min overlaps, all connected to a 4-way splitter. Unfortunately, I didn't ground the splitter, and the interference was from my roommate vacuuming when I was at work. :-p I'll try your script once I've finished capturing. Cheers. |
Well, 13 months later and I had to restart all over... :P
I picked up a Panasonic DMR-ES16 (Canadian version of the ES15) off of ebay last week... $140 CAD including shipping, and it actually fixed the tearing at the tops of the 2 problem tapes. But to keep all the footage consistent, I'm running all the tapes through the Panasonic now. I read that the DMR's blow out the whites and blacks, but I haven't noticed it, at least not with this unit. Maybe it's because I'm also adjusting the brightness and contrast of the capture card to compensate. Another reason I'm redoing it, is because I originally captured in Edit mode on my JVC HR-S7800U, and although NeatVideo cleans it up fairly well, I'm noticing that setting the deck to Normal actually looks better in the end. NeatVideo does an amazing job on some electrical inteference raster lines though, the type that look like / / / / crawling up the screen. So I'm pretty happy with that. As for the jumpy frames in the one tape, instead of using After Effects, I'm probably going to use Davinci Resolve's Frame Replacer. I'm going to actually purchase it so I can use the benefits of the Neural Engine. Apparently you can even replace entire patches within a bad frame with data from the previous or following frames. We shall see. I have 1 tape that got snagged while ejecting, so now it has ~10 seconds of a pinch line rolling down the screen, looping about 3 times. Hopefully I can repair that with Resolve. NeatVideo reduces the line, but it's still there. We shall see. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.