PDA

View Full Version : IVTC Filter idea for AVISynth


por_que2k
16th May 2002, 00:59
I've been using TMPGEnc for manual IVTC for quite a while now, and I really love how much freedom it gives you on exactly what frames you want to keep and throw out. I've tried the different auto-IVTC filters for AVISynth, since having that major encoing speed boost is really nice, but none have had satisfactory results on the anime I encode to SVCD.

Anyway, what I'm getting at is that it would be really great if someone could write a plugin for AVISynth that will interpret a TPMGEnc .tpr project file, and have AVISynth process the .d2v, through MPEG2DEC.dll, exactly the same as the .tpr would do (at least as far as IVTC goes, other filters are, at least as far as I use TMPGEnc, of little importance). This would eliminate VFAPI all together, and remove the need for the slow conversion to and from RGB color space.

Does anyone know if this would be possible/practical?

McQuaid
16th May 2002, 02:09
I was never able to master manual ivtc in tmpgenc. I'm usually pretty good at this stuff, but couldn't get the knack. Have you tried donald graft's ivtc for avisynth? I haven't caught the lastest version mismatching frames.

You could go avisynth --> vdub --> tmpgenc and dodge converting to rgb.

Any tips on how you do manual ivtc?

por_que2k
16th May 2002, 03:38
----------------
You could go avisynth --> vdub --> tmpgenc and dodge converting to rgb.
----------------

The encoding method I use requires CCE, becuase I go for the best quality posible (9 pass VBR MPEG2). Plus, encoding in TMPGenc would negate the entire speed boost, since it's so slow.

-------------------------------
Have you tried donald graft's ivtc for avisynth? I haven't caught the lastest version mismatching frames.
------------------------------

No, I havent. I'll check it out, but I encode for a group that doesnt accept even a single bad frame, so manual IVTC is pretty much the only way to go.

----------------
Any tips on how you do manual ivtc?

----------------

I'm not really proficient in it yet (I know a guy who can manually ivtc a whole 25 min episode in 5 minutes), so what I've done is have it do an auto-ivtc, then fix it's errors (Which takes an imeasurable amount of time on anime). On my next encode I'm gonna try doing it entirely manual, which is how all my encoder friends tell me to do it. They say you can get into a "groove" where you can really fly through it. Which leads to why it'd be great if that filter were writen. I could use my manual settings in a YUV-only environment, and pump it into CCE, getting awesome speed without sacrificing quality.

Kyo
16th May 2002, 04:24
You tried decomb?

y por el nick creo que hablas espaņol?
he probado este programa desde que salio
y me ha funcionado perfecto tan solo se necesita leer
la guia y listo!

hasta ahora Lain,Bebop,Trigun,FLCL,Escaflowne han salido
de maravilla! :p

por_que2k
16th May 2002, 07:36
what exactly did you say? :)

McQuaid
16th May 2002, 18:26
He's asking if you tried decomb which is donald graft's ivtc for avisynth that I was mentioning.

You should really give it a try. I have not seen one bad frame with the last version. I was never happy with tmpgenc's or vdubs autoivtc. It's nice to finally have perfect ivtc.

I have never tried it on anime though, and I know they use weird midframe telecining methods. But I believe there is mention in the decombs readme on anime and the best ways to deal with it.

por_que2k
17th May 2002, 02:48
And it doesn't nearly do as good a job as manual ivtc. It misses many interlaced frames and does very ugly deinterlacing on them :(

Note: I am a total perfectionist (And I need to be for my group) So, any de-interlaced frames that have gosting are unacceptable (I ended up with a whole bunch of those using decomb). It is possible, with all telecined source, to completely remove all interlacing without resorting to de-interlacing frames and getting horible ghosts), which is exactly what I need to do. Unfortauntely, there is no way to do this perfeclty with an automatic function... :( which is why I'd be reall great if someone wrote a plugin to interpret the TMPGEnc projects.

Also, if no one is willing to put the time and effort in, I could code it... unforuntely I don't know how to code AVISynth plugins or how to interpret .tpr's. Is there a person/site I can contact/read about that, and does anyone know if C++ can be used to code them?

western shinma
17th May 2002, 04:40
Well, it's your lucky day. There's already a plugin that does exactly what you want, it is called tprivtc: http://www.geocities.com/daxab88.

por_que2k
17th May 2002, 05:24
Thanx for the info!