Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
13th August 2011, 15:04 | #1 | Link |
Registered User
Join Date: May 2010
Posts: 123
|
Ghosting appearance after deinterlacing
Well, I have some music videos in MPEG-2 format that I want to encode to h264 for some reasons. One of which is not easy to deal with, as it contains both telecined and interlaced materials, however, those interlaced frames cannot be reverted to progressive properly by such good bobber like QTGMC.
Here are some screenshots showing 2 consecutive frames passed through tfm(pp=0) and different deinterlacers, say, vinverse and qtgmc. (Click on the thumbnails to view the full-size images) If any of you don't mind giving a look into the source, then here is a 10-sec sample clip: http://www.multiupload.com/NHME94RX5G Any comments would be greatly appreciated. Thanks |
14th August 2011, 08:31 | #7 | Link |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
If you're saying the native framerate is 29.97fps, then that's not correct. It was shot on film and edited by idiots. It can't be unblended because in most of the frames with blends, both fields are blended. There's not even much you can do with the car part as it's already missing frames and plays jerky. I don't think you can improve much over a simple:
TFM()#with a better deinterlacer, if you like TDecimate() But maybe someone else has a better idea. Last edited by manono; 14th August 2011 at 08:33. |
16th August 2011, 15:16 | #8 | Link | |
Registered User
Join Date: May 2010
Posts: 123
|
Quote:
Thank you all! |
|
20th August 2011, 19:15 | #9 | Link |
Registered User
Join Date: Jan 2006
Posts: 1,867
|
I think that can be fixed, these are called double-blends. There's 4 fields in a row but anchors before the start and at the end, to work your way inwards to subtract the blends.
Don't give up - can't do it right now, I've got a long list of things... |
26th August 2011, 15:20 | #11 | Link |
Registered User
Join Date: Jan 2006
Posts: 1,867
|
I've recovered it, but the blended frames look bad. It's not totally done, I'm having a problem with wrong field order, but the end result should be smooth motion and no blends, but artefacts for those two frames. I'm also finding srestore crashes with anything else so I had to separate to two passes.
|
26th August 2011, 17:04 | #12 | Link |
Registered User
Join Date: Jan 2006
Posts: 1,867
|
Try this, run the two scripts p1even and p1odd and save to lossless (ffdshow ffv1 is one of the best codecs). Then run p2. Scroll to frame 130, you can see the doubleblended reconstructed fairly well. The other sections aren't blended and are now screwed up as a result of processing. You could probably trim sections to finish it now, but I'll see if I can do it in one script. Anybody want to make suggestions feel free, I'm not good at this type of thing!
Code:
#p1even.avs dir="E:\project001a\double blend\" MPEG2Source(dir+"x.demuxed.d2v", cpu=0) assumetff separatefields selecteven #pp2 and pp3 are much better than other modes srestore(omode="pp3.blur(1)", cache=5) #p1odd.avs dir="E:\project001a\double blend\" MPEG2Source(dir+"x.demuxed.d2v", cpu=0) assumetff separatefields selectodd #pp2 and pp3 are much better than other modes srestore(omode="pp3.blur(1)", cache=5) #p2.avs dir="E:\project001a\double blend\" e=AVISource(dir+"p1even.avi") o=AVISource(dir+"p1odd.avi") interleave(o,e) assumefieldbased weave telecide(guide=1,post=2) decimate(cycle=5,quality=0) #works for blended sections, i.e. frame 138- #in other places, it's deinterlacing and causing (near) dups Last edited by jmac698; 26th August 2011 at 17:06. |
|
|