Log in

View Full Version : Doubts about script to convert avi 29.97 to 23.97


Talayero
28th January 2005, 04:27
Hello,

I'd like to convert a film divx 29.97 into a divx 23.97 for some ghost effect I can appreciate in my TVpal dissappears, if possible.

I thought I would use an IVTC but I put the film in a bobber and I saw 2 identical frames in a row, followed by 2 identical frames in a row. ¿That means a 2:2 pulldown?
Another thing: I see 2 identicals + 2 identicals that are blended (or blurred, I don't know the word) and then 2 identicals + 2 identicals + 2 identicals thar are clear, that's to say 4 frames not clear and 6 clear.

How can I interpret that? Reading more, I know, but I'm reading this forum for several days and need some help.

My question is: Could I write an avisynth script for virtualdubmod to create a new divx without that disgusting effect?

Before analyzing my divx I had managed to create this script, wrong, I suppose:

LoadPlugin("C:\SmoothDeinterlacer.dll")
AVISource("Q:\Comme elle respire (1999) - Pierre Salvadori.avi")
SmoothDeinterlace(doublerate=true)
ConvertToYUY2 (interlaced=true)
ConvertFPS(50)
SeparateFields()
SelectEvery(4,1,2)
Weave()
ConvertToRGB(interlaced=true)

When I loaded in virtualdubmod showed that message:
"Avisynth read error: Smoothdeinterlace only works on rgb32 and YUY2 formats".

Thanks in advance.

E-Male
28th January 2005, 05:17
try flipping line 3 and 4

manono
28th January 2005, 09:08
Hi-

How can I interpret that?

It means that some idiot deinterlaced it, rather than performing IVTC on the source, as he should have. Usually, when you see stupid stuff like that, there are other things wrong with it as well, as it was done by a total incompetent. Trash that POS. It can't be fixed.

Talayero
28th January 2005, 14:08
Thanks for answering.

Well I just want to try to fix it. Just one try or two.

That pattern: 2 identical frames in a row, followed by 2 identical frames in a row, seems to be all over the avi. And the same for 4 frames blended followed by 6 frames not blended

Knowing that, ¿could some expert please tell me what script I could apply. to try to fix it?

I'm not sure mine is good. I wrote it when I thought the avi was simply made without performing the IVTC. Flipping lines 3 & 4 has worked, but I'm not sure, for instance, if SelectEvery(4,1,2) is right.

Simply, my questions is:
If the ghost effect I see in my TV Pal is a direct consecuence of these 4 frames blended that repeat all over the avi, is there no way I could get rid of them?