Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th January 2002, 03:18   #1  |  Link
Northpack
Registered User
 
Join Date: Dec 2001
Posts: 39
LoadPlugin() causes slowdown?

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.

Code:
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.

Code:
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:

Code:
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
Northpack is offline   Reply With Quote
Old 6th January 2002, 05:04   #2  |  Link
kdiddy
Registered User
 
Join Date: Oct 2001
Posts: 80

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.
kdiddy is offline   Reply With Quote
Old 6th January 2002, 11:34   #3  |  Link
Schultz
Registered User
 
Schultz's Avatar
 
Join Date: Oct 2001
Location: Kadena AB, Okinawa Japan
Posts: 408

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.
__________________
Schultz
Schultz is offline   Reply With Quote
Old 6th January 2002, 15:55   #4  |  Link
Kedirekin
Registered User
 
Join Date: Oct 2001
Location: Minnesota
Posts: 1,110

I agree. It's insanely fast because it is no longer reading the video source - it's just 'frame serving' an internal error message.
Kedirekin is offline   Reply With Quote
Old 8th January 2002, 21:16   #5  |  Link
Northpack
Registered User
 
Join Date: Dec 2001
Posts: 39
Oh shame...

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!

Thanks,
Northpack

Last edited by Northpack; 8th January 2002 at 21:18.
Northpack is offline   Reply With Quote
Old 8th January 2002, 23:07   #6  |  Link
Coentjo
Registered User
 
Join Date: Nov 2001
Location: Netherlands
Posts: 26

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
Coentjo is offline   Reply With Quote
Old 9th January 2002, 11:50   #7  |  Link
gabest
Registered User
 
gabest's Avatar
 
Join Date: Oct 2001
Posts: 1,459

Btw, I think that nearly real-time svcd creation isn't that bad at all.
gabest is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:04.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.