Short Clip Sample. The interlacing looks really bad near the end of the hold. The clip is from a VHS to DVD conversion I demuxed to an MPEG2. It's 720 x 480.
As far as I know the only way to remove interlacing artefacts is to convert to progressive. Is that correct? And when you do so you lose detail and you get slowdown so I don't want to do that.
So I just want to remove the interlacing artefacts but keep the video as interlaced and I don't want to lower the resolution of the video or lower the quality of the video. The video is for viewing on a TV.
Is there any way to do that?
+ Reply to Thread
Results 1 to 13 of 13
Interlace artifacts are the least of your problems here. The only way to clean the flutter, streaks, chroma shift and bleeding, levels, and other problems is to work in progressive mode or use SeparateFields(). But SeparateFields() alone won't smooth the interlacing very well. Most people would use QTGMC and re-interlace back to the original configuration.
#[ load the original AVI ] # ---- Go to YV12 if not there already ---- ConvertToYV12(interlaced=true) # ---- QTGMC defaul setting works OK most ---- # ---- of the time. Can tweak if needed. ---- AssumeTFF().QTGMC() #[ run some additional cleanup while in progressive mode ] # ---- reinterlace ------- SeparateFields().SelectEvery(4,0,3).Weave()
Last edited by sanlyn; 17th Jun 2012 at 07:41.Our inventions are wont to be pretty toys, which distract our attention from serious things. They are but improved means to an unimproved end. -- Henry David Thoreau
OK is this code correct? Should I degrain while in progressive? Also I can still see some interlacing, how could I remove more or all of it?
Mpeg2Source("H:\New\z = Encode\Original few secs.d2v", CPU=6) ConvertToYV12(interlaced=true) AssumeTFF() # or AssumeBFF() depending on the source # deinterlace Load_Stdcall_plugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll") QTGMC(Preset="Ultra Fast") DeGrainMedian(limitY=2, limitUV=3, mode=1, interlaced=true) SeparateFields() SelectEvery(4,0,3) Weave()
I'm making a Bluray disc. So if I make it 60 fps will that get rid of all the interlacing artefacts or do I also need to use QTGMC? Will the quality still be good or do I lose quality making it progressive?
I don't think 60 fps 720x480 is Blu-ray compatible. Though some players may play it.
I would use QTGMC() to make it 60p (or 30p, ie, followed by SelectEven() or SelectOdd()). If that's too slow Yadif(mode=1, order=1) might look ok, though it will have problems with thin horizontal lines like the ropes. Even a Simple Bob() will work.
Last edited by jagabo; 17th Jun 2012 at 08:58.
Interlaced video played on a PC will always look interlaced, but not on TV. If you want to play interlaced mpg on a PC, try VLC Player (you have to manually tell VLC to deinterlace. Pain in the neck). Or try PowerDVD, which uses a variation of bob() to play interlaced mpg. Or use VirtualDub's bob filter for viewing only, though it will look a little soft.
DeGrainMedian will do little to clean up this video and will soften it. At the point it is used in your script the video is progressive, not interlaced. I marked that statement in red.
QTGMC in ultra fast mode isn't likely to perform the repairs needed. Used at default, "QTGMC()" uses the default "slow" preset which will clean much better and retain more detail -- in fact, the default is likely to help replace some of the detail lost in the original odd fields of the clip. Yes, the default is slow. You pay a penalty here for speed.
For a video that needs this much fixing, I'd run QTGMC at slow in one step and save the file as re-interlaced YV12. In a next step, use SeparateFields() to run other plugins for more cleanup work. You can also run everything in a single script, but it will be even slower because of memory swapping for the plugins used.
Also, your script uses the re-processed mpg clip you submitted above (which I believe you stated was a "transfer", which means problems from the original source have already been made worse by DVD compression). You should be working with the original source video.
You can clean up many more problems and get a sharper image using MCTemporalDenoise at "low" or "medium" instead of using a degrainer. Grain isn't the problem (although MCTD does some degraining by default). The other problems are bad chroma bleed, poor saturation, gamma and black levels too high, oversaturated dark blue, chroma shift, chroma noise, aliasing, uneven side borders, and head switching noise at the bottom of the frame.Our inventions are wont to be pretty toys, which distract our attention from serious things. They are but improved means to an unimproved end. -- Henry David Thoreau
Holygamer, I should edit my remark about blue oversaturation. It looks that way in some shots, not so much in others. That's not uncommon with analog source, especially tape. Maybe working with levels will help.
Last edited by sanlyn; 17th Jun 2012 at 17:12.Our inventions are wont to be pretty toys, which distract our attention from serious things. They are but improved means to an unimproved end. -- Henry David Thoreau
themaster1, in the image posted above: why are the two posts on the right a different color in the tweak? Luma is OK, but all 3 colors on the bright deck are clipped at the bright end and will "bloom" on tv.
I don't think it's even possible to tweak the earlier Original few secs.mpg. Dirty tape + poor interlace + lots of noise + low-bitrate re-encode = a mess. The low bitrate compression artifacts are one thing (you'll notice they always look worse on fast motion), but most of the problems should have been cleaned up on the source, not later. Most of the worst noise is in the darks, so denoising makes the low end look rather thin. I darkened them a bit, but even though they're too bright in the original they still have low density and look odd. 90 minutes of filtering for this short puppy cleaned things up a bit and got colors out of the bright blown-out range, but those sawtooth edges would look better if they'd been cleaned up at the source before re-encoding.
Fixing the darks is also a problem because the levels change in every shot. Look at the close-in shot a few seconds into the video. IF you make the first shot too bright, the other shots look strange. In any case, working with a re-encode is a nightmare. I don't care the way many of the scenes look, but here goes nothin":
holygamer, any chance that themaster1 or the rest of us could get a short piece of the unprocessed source?
Last edited by sanlyn; 19th Jun 2012 at 16:14.
I guess every one is entitled to his opinion for me the spotlights should be yellow , the ground white/light(very light) cyan and the skin have some pink as they're all caucasians.
In any case this is what i propose now:
I have used mvtools+sharpened + neat + added some grain. I recognize i have sharpened UV with neat to about 150/250% in the mid-lows (lol) probably way too much. Sony vegas vscope seem to appreciate the refinements and my eyes aswell so i'm offcially done with it.
original (mpg)/ sanlyn (mpg)/ themaster1 (mpg)
Looks OK to me, tm1, but skin seems a bit red. Then again, some of the skin in mine is headed toward yellow (the stress of wrestling? No. Just crappy source, I think). Too bad we couldn't get a sample of the unprocessed source.