Log in

View Full Version : InverseTelecine path problem


TelemachusMH
25th February 2002, 23:29
I have been capturing and encoding the simpsons off television and making a program to help speed this along, but I found an interesting problem with either InverseTelecine.dll or how avisynth handles path names. I made this script myself:

LoadPlugin("C:\Video Rendering\Autoencoder\MPEG2DEC.dll")
LoadPlugin("C:\Video Rendering\Autoencoder\AVISynth_Spatial.dll")
LoadPlugin("C:\Video Rendering\Autoencoder\InverseTelecine.dll")
mpeg2source("C:\Video Rendering\TV Capture\Simpsons\projects\Simpsons (Sunday 9-00)\Simpsons (Sunday 9-00).mp2.d2v")
InverseTelecine(40,10,15)
SpatialnMMX(1,4,6,false,false,4,4,6,8)
vid = TemporalSmoother(5)
aud = WavSource("C:\Video Rendering\TV Capture\Simpsons\projects\Simpsons (Sunday 9-00)\SIMPSONS (SUNDAY 9-00).MP2 MPA T01 DELAY -130ms.mpa.wav")
AudioDub(vid,aud)
return trim(45,982) + trim(2432,8179) + trim(11019,14540) + trim(16176,21541)

and I made this script with GordianKnot (Minus the comments to save space and I added the trims at the end):

LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\InverseTelecine.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\Avisynth_Spatial.dll")
mpeg2source("C:\Video Rendering\TV Capture\Simpsons\projects\Simpsons (Sunday 9-00)\SIMPSONS (SUNDAY 9-00).MP2.d2v")
InverseTelecine(40,10,15)
SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
vid = TemporalSmoother(5)
aud = WavSource("C:\Video Rendering\TV Capture\Simpsons\projects\Simpsons (Sunday 9-00)\SIMPSONS (SUNDAY 9-00).MP2 MPA T01 DELAY -130ms.mpa.wav")
AudioDub(vid,aud)
return trim(45,982) + trim(2432,8179) + trim(11019,14540) + trim(16176,21541)

I found that the framerate for GKnot's avs is the correct 23.976, but the one in my script is 11.988. I couldn't find any differece in the two until I noticed that my script used full path name in the LoadPlugin() commands and GKnot used the abriviated ones. So, I copied GKnot's over mine and sure enough the framerate changed to 23.976.

My question is, is this a problem with avisynth or InverseTelecine.dll and why would it the framerate be cut in half because of this? I also wanted to just tell people of this possible bug.

Thanks for the info,
TelemachusMH

Guest
26th February 2002, 01:22
You copied the second script's paths over the first script's paths. They point to different directories. Are you *SURE* that the binaries in these two directories are identical?

TelemachusMH
26th February 2002, 07:37
yes ... they are exactly the same ... the one in the GordianKnot folder came with GKnot, and the one in the Autoencoder folder is the program that I am making. I just copied all the .dll and other files my program needs to run into one folder, just for conveinance sake. (Anyway, if it didn't copy the file right, or if it wasn't the right file, it wouldn't change the framerate.)

Roginator
26th February 2002, 09:13
I did note one other change in your post:

SpatialnMMX(1,4,6,false,false,4,4,6,8)

vs.

SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)