View Full Version : tprivtc.dll for Avisynth 2.5?
BlackMetal
19th January 2003, 09:40
Hello, this is my first post. :)
I'm not new to Doom9's forum, I visit it daily and read pretty much.
Just wanna say that Doom9's forum rocks!
Now to my post, I don't think this has been asked yet, but could someone port the 'tprivtc.dll' filter to Avisynth 2.5 or make a new similar one (maybe daxab himself)?
It's a great filter, if you wanna use your manual IVTC-project from TMPGEnc in Avisynth, without converting to a VFAPI-avi.
I'm always encoding with Avisynth 2.5 and avs2avi now, and it rocks. ;)
Keep up the good work with the forum!
Suzahara
19th January 2003, 10:03
You don't need a vfapi avi...all you need to do is:
[CODE]
LoadVFAPIPlugin("C:\program files\tmpgenc\tmpgenc.vfp","TMPG")
TMPG("C:\location\of\your.tpr")
BlackMetal
19th January 2003, 17:27
Yep, already tried that. :)
But then VdubMod says Convolution3D only supports YV12 colorspace.
So I added a ConvertToYV12(), so the script looks like this:
#
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadVFAPIplugin("C:\PROGRA~1\GORDIA~1\TMPGenc.vfp","TMPG")
LoadPlugin("C:\PROGRA~1\GORDIA~1\Convolution3DYV12.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\asharp.dll")
#
mpeg2source("C:\Temp\Unpacked\romeo.d2v")
TMPG("C:\Temp\Unpacked\romeo.tpr")
FlipVertical()
ConvertToYV12()
Convolution3D(preset="movieLQ")
asharp(1.5,4)
crop(2,60,715,357)
BilinearResize(608,256)
Now it works, but I want a plugin that reads the TMPGEnc project without converting colorspaces. :)
Zarxrax
19th January 2003, 19:05
I second that. This filter would be very useful, as I find myself using this method once again these days instead of Decomb.
Suzahara
20th January 2003, 07:27
Originally posted by BlackMetal
Yep, already tried that. :)
But then VdubMod says Convolution3D only supports YV12 colorspace.
So I added a ConvertToYV12(), so the script looks like this:
#
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadVFAPIplugin("C:\PROGRA~1\GORDIA~1\TMPGenc.vfp","TMPG")
LoadPlugin("C:\PROGRA~1\GORDIA~1\Convolution3DYV12.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\asharp.dll")
#
mpeg2source("C:\Temp\Unpacked\romeo.d2v")
TMPG("C:\Temp\Unpacked\romeo.tpr")
FlipVertical()
ConvertToYV12()
Convolution3D(preset="movieLQ")
asharp(1.5,4)
crop(2,60,715,357)
BilinearResize(608,256)
Now it works, but I want a plugin that reads the TMPGEnc project without converting colorspaces. :)
Well, that would be impossible unless you had a yv12 tpr. And unless I miss my guess, rgb is what vfapi uses (or it could be that your project is in yuy2 for tmpg?). But either way you'd have to make sure it was somehow in yv12 and not yuy2 or rgb.
BlackMetal
20th January 2003, 17:14
Well, it's from DVD, so the movie is in YV12.
And I know VFAPI uses RGB, so that's why I want the tprivtc-filter for Avisynth 2.5. ;)
Or a similar filter would also be nice, one that only reads which frames to keep and which frames to discard from the TMPGEnc-projectfile without converting colorspaces.
sh0dan
20th January 2003, 18:36
Decomb?
Zarxrax
20th January 2003, 19:43
Shodan, the reason this is important is because decomb just doesnt do a good job for me when it comes to IVTC (I only use it on anime, by the way). On pretty much everything I have used it on, there is always AT LEAST one scene where some combed lines come through, and this is not acceptible for me. I know you can do overrides now, but it just seems like to much trouble to try and do it through a text file and all. With tmpg, after about an hour of fiddling around I have IVTC that I KNOW is absolutely perfect.
The filter does not import the tpr project into your avisynth file. All it does is it reads in the tpr file which frames have been set to be discarded, then it discards those frames from whatever videosource you specify in avisynth. Therefore it doesn't matter whether the tpr project is RGB format, because the tpr isn't actually being used.
Guest
20th January 2003, 19:57
The only way I can improve Decomb is for people to send me the problematic clips. Hint hint.
BlackMetal
20th January 2003, 20:45
Sh0dan, yep I use Decomb when I don't have the time to manual IVTC, great filter by the way, neuron2.:)
But that wasn't my question. I want a filter which can read the selected fields from a tpr-file, because I like the manual way best, when I have the time to do it myself, cause I'm the non-trusting type with automatic IVTC.:D
Zarxrax
20th January 2003, 21:09
Donald, I'm posting you some clips in private message, as you requested.
Guest
21st January 2003, 05:21
I had replied earlier about the first clip but had second thoughts. I need to look some more.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.