I made an avisynth script to scale my 60i video from my sony dcr-pc1000 to 1080i, but when I export it I get interlaced lines on the video. The script I used is below, along with pictures and a video sample.
I used the codec "ffdshow video codec" and selected MPEG-2 with the following settings:Code:DirectShowSource("dvcapture 01.avi") ffdshow("scaleto1080")
Interlaced encoding - checked off
Top field first - checked off
I even made some modifications to my script by inserting SeperateFields and Weave and AssumeFrameBased and AssumeFieldBased(I changed the script a few times). I got that info from http://avisynth.org/mediawiki/Interlaced_fieldbased
I still get interlaced lines on my video but it looks different(the lines) when I import the video directly into virtualdub and process rather than using an avisynth script, maybye avisynth is processing the video as progressive or something.
Here are some pictures of the scaling I used and a sample video of the export from Virtualdub:
SAMPLE VIDEO(MPEG IN AVI HD)
Pictures of Scaling I used:
Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or try DVDFab and copy, convert or make Blu-rays and DVDs! :)
+ Reply to Thread
Results 1 to 10 of 10
2) You need to use an interlace aware resize method, (or bob-deinterlace, upscale, then re-interlace)
If you are going to use an avs script, there are better ways to do it than using ffdshow (I guess I'm asking why are you doing it that way?)
HAHA I didn't see Gavino's post , but that's what I would use too if I had to upscale for whatever reason, plus some sharpening . I would actually stop at 720p59.94 however. Reinterlacing it would give zero benefit and when it's viewed, will just lower the quality even more when deinterlaced by the TV
Your player isn't recognizing that the MPEG 2 video in the AVI file is interlaced. It's treating it as progressive.
In addition to that the upscaling has produced over-sharpening artifacts on thin/sharp horizontal lines/edges. Or maybe they were already in your source video. Do what Gavino suggested. And store your MPEG 2 video in an MPG container, not AVI. Encode with HcGUI, for example. Even better, leave your video 60p and encode with x264.
Last edited by jagabo; 28th May 2012 at 20:01.
Assuming a 16:9 DAR source:
WhateverSource("filename.ext") AssumeTFF() # or AssumeBFF(), whichever is appropriate ConvertToYV12(interlaced=true) # if necessary QTGMC(preset="very fast") # or faster, fast, etc. see QTGMC docs nnedi3_rpow2(4, cshift="LanczosResize", fwidth=19200, fheight=1080) # at this point you will have 1920x1080p60 video # if you need interlaced output: AssumeTFF() # or AssumeBFF(), whichever you want SeparateFields() SelectEvery(4,0,3) Weave()
BTW, there's a typo in jagabo's script (should of course be 1920):