View Full Version : Deinterlacing an NTSC DVD from a PAL source.
TheLaminatorX
16th June 2003, 07:06
Hey all. First, I'd like to thank Doom9 for his awesome site and all the developers for their excellent programs and plug-ins. With that said, can anyone help me with an interesting problem?
I've been trying to deinterlace an NTSC DVD of a TV show that was originally broadcast in PAL. I have found that it does NOT have a base of 24 FPS, but I have been unsuccessful using field matching plug-ins such as TomsMoComp. I have also tried using decomb but I am unhappy with the results. Does anyone have some suggestions? Thanks.
neuron2
16th June 2003, 09:00
TomsMoComp is not a field-matching plugin. Regarding Decomb, we have no way of knowing what makes you "happy", so how can we make any suggestions. I suggest you go do your homework and then come back with a coherent question.
I would guess that you have the dreaded blended fields syndrome. If you post a link to a VOB fragment we can give you more definitive analyses.
TheLaminatorX
16th June 2003, 18:32
Er...sorry about that...I thought that TomsMoComp was trying to match fields based on motion. As for my problems with Decomb, it blends too much creating a ghosting effect. I am not sure exactly what you want a link to. A Huffyuv compressed clip is about 28 MB, so here: http://students.bradley.edu/~dleach/media/clip.avi is a link to a Divx compressed file in 1-pass interlaced mode at q = 1. If this is not sufficient, let me know. What I want, if possible is to have the fields paired to eliminate the need to blend if possible. I am not sure what you mean by "blended field syndrome" but if you are referring to the fact that it was converted to NTSC from PAL, then I'm thinking I'm SOL:( Thanks for any help you can give!
neuron2
16th June 2003, 20:29
Set blend=false for Decomb. Don't you guys read the manual?
I'll look at the clip and post again. I hope it is an unprocessed source clip.
neuron2
16th June 2003, 20:42
Yes, you have the dreaded blended fields syndrome. Do just a separatefields() on the source and you'll see that some fields are blends of two pictures. Thus, simple field matching will not help you. You either have to accept blended frames or see if you can find success with some of the deblending attempts described in other threads.
TheLaminatorX
17th June 2003, 18:27
Thanks for your help! I'll give those threads a look.
Kika
18th June 2003, 00:41
On Videos, converted that way, you don't have any chance to get a clear deinterlaced Video. Most TV-Shows are filmed with electronic Cameras. So the Source is interlaced. Then the Video ist converted to NTSC, which results in blendet Fields/Frames. These Blends can't be removed.
I often deal with Videos converted from PAL to NTSC or NTSC to PAL. And if the original Source was interlaced, deinterlacing ist the last thing i do, if i want a good Quality.
TheLaminatorX
18th June 2003, 07:10
Actually, I tried using a plug-in called rePAL and it has shown some encouraging results, deblending about half my frames with the default values. What would you suggest Kika?
Kika
18th June 2003, 11:06
I never do any deinterlacing, so i'm not familiar to PlugIns like rePAL. I have tried some of these things, but never got e REAL clear Video. Sometimes, they are still blendet, sometimes i got flickering edges, sometime jerky Motion or a significant loss in sharpness.
That's why i'm always encode Videos like this interlaced (MPEG2).
TheLaminatorX
18th June 2003, 18:47
Thanks Bach! I'll give those settings a try on the whole video. Kika, I'd encode them interlaced if I had a choice, but I need to fit 3-4 episodes on a CD, so MPEG2 wouldn't help me much; thanks for your thoughts though.
TheLaminatorX
18th June 2003, 21:46
Er...which plug-in uses dgbob? Also, is there any documentation on deBlend?
sh0dan
18th June 2003, 21:48
Just search.
TheLaminatorX
18th June 2003, 21:48
Ok, I found dgbob, thanks to Mr. Graft!
TheLaminatorX
18th June 2003, 21:54
OK...sorry about the numerous posts, but when I run this script:
LoadPlugin("D:\PROGRA~2\GORDIA~1\repal.dll")
LoadPlugin("D:\PROGRA~2\GORDIA~1\dgbob.dll")
LoadPlugin("D:\PROGRA~2\GORDIA~1\deblend.dll")
avisource("clip.avi")
dgbob(1)
deblend(20,1)
repal()
I get an error saying DGBob needs YUY2 data. Bach, how did you load my clip with AVISynth? Did you convert it first? How do I convert to YUY2 data? Thanks in advance :)
Ok, so right now, I'm just encoding the untouched MPEG2 to HuffyUV, and then running it through the AviSynth filters...is there a more elegant way to do this? Or am I stuck because MPEG is YUV12? (Is it?)
neuron2
19th June 2003, 00:06
Use CovertToYUY2(interlaced=true) before DGBob() to convert to YUY2.
I just had a brainstorm for reducing artifacts that can occur with DGBob() [as well as SmoothDeinterlace()] when a pixel change is localized to the current field and does not appear in the previous and following fields. This happens surprisingly often with moderate to fast movements, so if the idea works, there should be a good improvement in quality. I will test it tonight and report on it in the DGBob() thread.
neuron2
19th June 2003, 02:58
Get the new version of DGBob(). You won't regret it!
TheLaminatorX
19th June 2003, 22:48
Thanks! I'll try it out!
neuron2
19th June 2003, 23:29
Originally posted by TheLaminatorX
Thanks! I'll try it out! BTW, the new version accepts YV12, so you won't need the convert call anymore.
TheLaminatorX
23rd June 2003, 01:14
Thanks a lot neuron2! Your new filter is NICE. :)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.