View Full Version : Ghosts and Inverse Telecine on VirtualDub Capture!
dihelson
8th June 2003, 01:53
Hello, Friends,
I've made some nice captures from TV in NTSC using my GF-4-TI4400 (640X480) and VirtualDub 1.4.13 and HUFFYUV, then I convert to Xvid in 2-pass.
The problem is, as I capture from TV, DirecTV in this case, some movies have some kind of ghosts, double things when the camera goes from one side to the other. And I see that this could be due to Telecine. So, I'd like to know how can I make an Inverse Telecine on my capture using VirtualDub, since I have to de-interlace it also.
Indeed, the de-interlace is doing fine, but I then, have these ghosts...
VirtualDub don't have an Inverse Telecine filter, does it ?
So, how should I do ?
Thanks in advance,
Dihelson
BaronVlad
8th June 2003, 11:40
Hi,
you should use Avisynth for postprocessing (Telecide())
Just have a look into the capture guide, Avisynth part by Wilbert: http://www.doom9.org/capture/postprocessing_avisynth.html
IF you want to use VDub for postprocessing, just give the right filter a chance: http://shelob.mordor.net/dgraft/telecide.html
:)
dihelson
8th June 2003, 14:55
Originally posted by BaronVlad
Hi,
you should use Avisynth for postprocessing (Telecide())
Just have a look into the capture guide, Avisynth part by Wilbert: http://www.doom9.org/capture/postprocessing_avisynth.html
IF you want to use VDub for postprocessing, just give the right filter a chance: http://shelob.mordor.net/dgraft/telecide.html
:)
Hello, BaronVlad,
Really Thanks for answering me!
Unfortuantelly, the second (and probably easiest option - VirtualDub plug-in) didn't work yet, I am still getting Telecine. Indeed it made nothing, should I increase the threshold default?
On the other hand, I tested to open AVI file in Gknot 0.28 and used that IVTC option which is located on that preview & save aba, it worked NICE, NO TELECINE. The problem is that Gknot seems to work only with 1 AVI file. My capture was made using virtualDub and several across HDs files (splitted AVIs), so Gknot doesn't open all of them, and I haven't suffiecient space in only one HD, nor I use NTFS for capture... so my capture files is spread in manyy 2Gb files. If I could find a way to make easily an AVIsynth script for opening in Gknot, but don't, I've tried VCFtoAVS a little bit, but it worked only on the first AVI. I know that if I use AVIsynth, I could make it work, the problem is that it seems so difficult to learn to use...:(
If I only could make Gknot open several AVIs, I would solve the problem definetely.
In the mean time, I'll try to "read" some basics of AVIsynth programming...
Anyway, thanks for answering.
Let's seek some other suggestions, though.
Dihelson
BaronVlad
8th June 2003, 15:04
Hi,
to load multiple avi-segments with GKnot you should delete the last small avi file (~12KB), if you captured to huffyuv, with MJPEG I think you dont have it (not sure), go to your texteditor and write:
SegmentedAviSource("H:\capture\CAPTURE.avi")
and save it to "name.avs"
Please make sure that you change the path so it matches your files !!!
Now open GKnot and load this avs instead of the single avi - should work
VDub: Sorry, I didnt work with the filter, cause I normally use Avisynth, it is better anyway.
:)
BTW: Please keep on using segmented capture since avis bigger than 2 GB can drive you crazy !!!
BTW2: Avisynth is not that complicated. You can do much with script editors like GKnot vcf2avs and copy and paste, but it is a very powerful frameserver and worth to go a little bit into detail if you want to get good results.
EDIT:
Oh, just saw that you are using two Harddisks. In that case I think you have to use this avs:
SegmentedAviSource("H:\capture\CAPTURE.avi")+SegmentedAviSource("J:\capture\CAPTURE.avi")
Just fill in the pathes of your disks, if this doesnt work :stupid: and you have to come back again :confused:
dihelson
8th June 2003, 15:28
BaronVlad, It worked !!!
Thanks a life !!
after spenting almost 12 hours with this problem, I finally read your last message, and read the guide again.
I could notice that the problem was that I wasn't getting correct sintax with AVIscript. After examining some examples, I could try to "construct" a single line: AVIsource with segmented files.
I then, opened in Gknot, and "Voila"... It opened, then I could select Inverse Telecine. BTW, this is the only parameter I really need from Gknot, so , I'm thinking in incorporate that line Telecide in the same AVS and re-open in VirtualDub and make all the rest on it, since it has nice filters as sharpen, de-interlace, etc.. I know that AVIsynth seems to have nice filters, so, I hope to study it, and I won't need even Gknot for my captures.
Thanks a lot! A really Lot!
BTW, I finally discovered that the last 12kb AVI file was causing problems, I erased it by chance, I haven't read your new message yet, :) pure Luck! Then , when I read it, I confirmed.
BaronVlad
8th June 2003, 15:35
This may be because you dont have this capture.avi. I think you have capture.00.avi, capture.01.avi...
Please try segmentedavisource with capture.avi or avisource with capture.00.avi.
You dont have to open the avs via Avisynth in VDub, just open video file.
What is with GKnot ? Thought you wanted to go for it ? :)
BaronVlad
8th June 2003, 15:45
Did you get this message ?
BaronVlad
8th June 2003, 15:48
or better this one ?
dihelson
8th June 2003, 17:22
BaronVlad It worked!!
See my Edited message above. I was testing, so I didn't reload the thread, so, now, I saw your last messages.
I finally got rid of Telecine!
Thanks a lot, man!
Read the message!
dihelson
8th June 2003, 17:38
I Noticed that I can make this convertion with Telecide without Gknot, using this script:
LoadPlugin("C:\ARQUIV~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\ARQUIV~1\GORDIA~1\decomb.dll")
AVISource("E:\CAPTURE2.00.avi")+AVISource("G:\CAPTURE2.01.avi")+AVISource("G:\CAPTURE2.02.avi")+AVISource("K:\CAPTURE2.03.avi")+AVISource("K:\CAPTURE2.04.avi")+AVISource("K:\CAPTURE2.05.avi")+AVISource("G:\CAPTURE2.06.avi")+AVISource("G:\CAPTURE2.07.avi")+AVISource("G:\CAPTURE2.08.avi")+AVISource("K:\CAPTURE2.09.avi")+AVISource("K:\CAPTURE2.10.avi")+AVISource("K:\CAPTURE2.11.avi")+AVISource("G:\CAPTURE2.12.avi")+AVISource("G:\CAPTURE2.13.avi")+AVISource("G:\CAPTURE2.14.avi")+AVISource("K:\CAPTURE2.15.avi")+AVISource("K:\CAPTURE2.16.avi")+AVISource("K:\CAPTURE2.17.avi")+AVISource("G:\CAPTURE2.18.avi")
Trim(12391,186740)
Telecide(guide=1).Decimate(5)
This script was produced by Gknot mainly, when I choose Telecide.
As I am opening it back in VirtualDubMod, I don't know if the first line is really important or not:
"LoadPlugin("C:\ARQUIV~1\GORDIA~1\mpeg2dec3.dll") ...
I noticed that Telecide to work needs the second line:
LoadPlugin("C:\ARQUIV~1\GORDIA~1\decomb.dll")
But I don't know about the first one. mpeg2dec3.dll seems to be usefull for Gknot, no ?
Perhaps for using VirtualDub as post processing it would be useless... may be...hat do you think ?
dihelson
8th June 2003, 17:49
And since I captured from TV, I tried several crop tests, the best result was maintaining original 640X480, even in Gknot, best way was 1:1 640X480 (of course I could resize it in Gknot, but I like to maintain the best resolution, even if that needs more bitrate. The result was nice, brilliant images. That's why you don't see any crop lines on the script above.I deleted all of them.
BaronVlad
8th June 2003, 18:09
Hi dihelson,
I am happy to see that it works.
LoadPlugin("C:\ARQUIV~1\GORDIA~1\mpeg2dec3.dll")
You dont need this plugin since it is for mpeg2 encoding (mainly DVD) only and you want to encode an avi file
I noticed that Telecide to work needs the second line:
LoadPlugin("C:\ARQUIV~1\GORDIA~1\decomb.dll")
the decomb.dll is the plugin for the Telecide procedure. you have to load it otherwise avisynth does not know what it should do with your command.
The resolution thing is a very very hard nut to crack, if you like to know more about all these things you should have a look into this thread: http://forum.doom9.org/showthread.php?s=&threadid=50438 and into the preface of our capture guide.
But please dont be scared.
:)
BTW: IMO you should go to the resolution tab in GKnot and press the little select button in the middle and then select your desired resolution, i.g. 640 * 480 NTSC.
Live long and capture ;)
dihelson
9th June 2003, 09:54
Originally posted by BaronVlad
Hi dihelson,
I am happy to see that it works.
Live long and capture ;)
Hello, BaronVlad, and everybody again.
Indeed it worked, almost perfect, but I can't call it perfect. The problem is that it seems that in this movie (I don't know if other movies this may happen), after making the entire movie using this procedure, I noticed from time to time, some dropped frames, seems that Telecide had cut too much frames on certain scenes, so, perhaps it would be interesting to analyse what exact telecine was used, in order to use exact telecide. I don't know how to do this. I read on the GUIDE that we need to know how many frames are telecined, how many are progressive, and how many are really interlaced and how.
Particularly, Using VirtualDub, does it has some way to verify how this movie is telecined ?
I think we're really near a perfect solution.
Telecide was used with this sintax:
Telecide(guide=1).Decimate(5)
May be it was too strong, may be...
Anyway, the Movie is far better than without telecide, and I think I will burn it in CDs.
Any comments are Welcomed.
jggimi
9th June 2003, 11:17
You may be interested in this tutorial (http://www.doom9.org/ivtc-tut.htm) on inverse telecine procedures. It was designed for DVD->AVI transcoding, but I think may have a lot that is applicable to your situation. Especially Hakko's PAL section, where he divides PAL telecine situations into three categories: the good, the bad, and the ugly.
fccHandler
9th June 2003, 20:45
Here's another tip:
DoubleWeave + PullDown is significantly faster than Telecide + Decimate. The only catch is that it's trickier to set up, and it won't work properly unless the 3:2 Telecine pattern is perfectly consistent throughout the movie.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.