+ Reply to Thread
Results 61 to 70 of 70
-
Can the following be used on interlaced video without issues or would I need to convert to progressive with QTGMC then use the script then reinterlace?:
Overlay(GreyScale(last), last, y=-4, mode="chroma")
MergeChroma(awarpsharp2(depth=35)) -
Overlay() is ok since you are moving vertically by 4 scan lines (mod 4 with YV12, mod 2 with YUY2). MergeChroma() is OK. But awarpsharp() shouldn't be used on interlaced video.
By the way, there's no need to use GreyScale() in the Overlay. You're replacing the chroma channels so there's no need to eliminate them first. Ie, all you need for that line is:
Overlay(last, last, y=-4, mode="chroma")Last edited by jagabo; 9th Aug 2013 at 17:08.
-
Thanks for the tip. The first lines in my script are like this:
McTemporalDenoise(settings="medium", interlaced=true)
AssumeTFF()
QTGMC(preset="Super Fast")
SeparateFields() SelectEvery(4,0,3) Weave()
I normally use QTGMC on interlaced footage then reinterlace. However if a script is only supposed to work on progressive footage yet I need to run the script before QTGMC then how would I do that? For example DeBlock_QED() needs to run before McTemporalDenoise doesn't it so what should I do? -
Last edited by sanlyn; 25th Mar 2014 at 09:40.
-
I know I can do that but I was under the impression that DeBlock_QED() should be run before any other cleaning filters? If that's true I can't use Deblock_QED after QTMC because McTemporalDenoise is run before QTMC. Running McTemporalDenoise after QTGMC gives an FPS of under 1!
-
From the aWarpSharp2 README you can find that:
Code:MergeChroma(awarpsharp2(depth=35))
Code:aWarpSharp2(depth=35, chroma=6)
QTGMC(preset="Super Fast") is a bit overkill and destructive method to bob before a filter if your intent is to keep it interlaced. Correct DeBlock_QED() usage with interlaced source (you could've found this with 5 secs of google):
http://forum.doom9.org/showthread.php?p=934083#post934083
aWarpSharp2 for interlaced source (AFAIK):
Code:SeparateFields() aWarpSharp2(depth=35, chroma=6) Weave()
-
Thanks for the info juhok. So basically to use a Deblocker on interlaced footage before any other filters I do this, is that correct:
Code:SeparateFields() .PointResize(width,height) Deblock_qed() .AssumeFrameBased() SeparateFields() .SelectEvery(4,0,3) .Weave()
PointResize is the simplest resizer possible. It uses a Point Sampler or Nearest Neighbour algorithm, which usually results in a very blocky image. So in general this filter should only be used, if you intend to have inferior quality, or you need the clear pixel drawings. Useful for magnifying small areas for examination.
So basically if a filter only works in progressive but I need to use it before QTGMC then I should do the following (replacing the middle line with whatever filter I'm using), is that correct?
Code:SeparateFields() aWarpSharp2(depth=35, chroma=6) Weave()
Code:MergeChroma(awarpsharp2(depth=35))
Code:aWarpSharp2(depth=35, chroma=6)
I don't understand the relevance. They both do the same thing don't they so does it matter which one I use? -
In this specific case PointResize is good for what you're doing. Didée is the author of Deblock_QED() and knows his stuff.
SeparateFields() -> Filter -> Weave() does not work well in every case. You should avoid temporal filters which are not aware of the SeparateFields() situation.
For temporal filters you could use lossless bob, for example
Code:Bob(0.0,1.0) Filter SeparateFields().SelectEvery(4,0,3).Weave()
MergeChroma is redundant operation, a leftover from the time when aWarpSharp didn't have that option. Why complicate things? I ran AVSMeter on both versions of the script and speed difference was neglible, so there's no penalty either way. -
Maybe you're confusing deblockers with anti-alias. The latter should usually be run before deintelacing.
The script doesn't run MCTD after running QTGMC. It ran MCTD first. All I did was copy your own script posted earlier and inserted DeBlock_QED in the most useful sequence.Last edited by sanlyn; 25th Mar 2014 at 09:40.
Similar Threads
-
Good filter for Chroma bleed?
By brassplyer in forum EditingReplies: 1Last Post: 10th Dec 2012, 21:38 -
AviSynth: miniDV chroma and color correction
By manniefresh91 in forum RestorationReplies: 2Last Post: 25th Oct 2012, 16:04 -
How to fix these Avisynth script errors ?
By VideoFanatic in forum RestorationReplies: 6Last Post: 20th Aug 2012, 16:07 -
Chroma/Color Bleed Issues In MPEG2-->XviD Conversion
By onesikgypo in forum Video ConversionReplies: 8Last Post: 25th Jun 2011, 21:11 -
Interlaced YV12 chroma messes up between AviSynth and VirtualDub
By Neimo in forum Video ConversionReplies: 6Last Post: 21st Apr 2010, 19:30