PDA

View Full Version : LoadPlugin() causes slowdown?


Northpack
6th January 2002, 03:18
Hello,

I did a test encoding, with a small clip and used Avisynth for frameserving to CCE 2.5. Initially I used the TemporalSmoother from mpeg2dec.dll and the encoding speed turned out arround 0.8x on my Athlon 1200, 512 2-2-2 machine, which disappointed me a little.

LoadPlugin("D:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("E:\STARSHIP_TROOPERS\DVD2AVI_Project_file.d2v")
TemporalSmoother(2,1)
BilinearResize(480,432)
AddBorders(0,72,0,72)

~0.8x with CCE 2.50

Then, I removed the smoothing filter, but there was very little difference: it made the process approximately 0.2 faster.

LoadPlugin("D:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("E:\STARSHIP_TROOPERS\DVD2AVI_Project_file.d2v")
BilinearResize(480,432)
AddBorders(0,72,0,72)

~1.0x with CCE 2.50

But this was realy weird: I removed only the first line, which I realy didn't expected to have any big impact in speed for it self. But here's what I got:

mpeg2source("E:\STARSHIP_TROOPERS\DVD2AVI_Project_file.d2v")
BilinearResize(480,432)
AddBorders(0,72,0,72)

~2.5x with CCE 2.50

Now is this strange? A slowdown of 1.5x just because of the loaded mpeg2dec.dll - without using ANY filter from it? Is this normally?

Northpack

kdiddy
6th January 2002, 05:04
By taking the mpeg2dec.dll plugin out..you want be able to translate mpeg2 video sources...I dont know if you d2v is a project file on a mpeg2 source or an avi source.

Schultz
6th January 2002, 11:34
Actually look at the output of the video it is probably all black or something because there is no mpeg2source command without loading the mpeg2dec.dll file. easiest way to tell is load in VirtualDub and you will probably get an error mpeg2source is not a valid command.

Kedirekin
6th January 2002, 15:55
I agree. It's insanely fast because it is no longer reading the video source - it's just 'frame serving' an internal error message.

Northpack
8th January 2002, 21:16
Of course, you guys are right. Please excuse my stupidity - I know that these kind of postings must be annoying... I realy wasn't aware about what mpeg2dec.dll actually does, thought it would be just some kind of a filter collection. Next time I make sure what I am working with, before making a fool of myself! :o

Thanks,
Northpack

Coentjo
8th January 2002, 23:07
After creating an .avs script trying playing it through the Windows mediaplayer. If the script is correct you'll see the movie you are trying to encode (slower than normally of course sinde all filters etc. are in effect). If the script is wrong you'll see the errormeesage avisynth generates displayed by the windows mediaplayer.

When the script is correct continue with the the encoding proces with CCE

gabest
9th January 2002, 11:50
Btw, I think that nearly real-time svcd creation isn't that bad at all.