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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th August 2002, 14:35   #1  |  Link
mmgrover
Custom User Text:
 
Join Date: Aug 2002
Posts: 161
Decomb39 Speed?

I was just wondering if anbody else noticed a speed decrease with
Decomb39?

Using:
Telecide()
Decimate()

I was able to get about a speed of 0.800 - 0.900 in CCE using Decomb38. With Decomb39 the best I get is 0.200 max?

Any Ideas?

mike
mmgrover is offline   Reply With Quote
Old 30th August 2002, 15:46   #2  |  Link
Synth
Registered User
 
Join Date: Feb 2002
Posts: 60
Try using "SetMemoryMax(40)" in your avs script (minus quotes).

Higher values than 40 give me increased speed but suck up the system memory rather quickly.

Assumes your using avisynth 2.x series.
Synth is offline   Reply With Quote
Old 30th August 2002, 16:12   #3  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
The only explanation is the SetMemoryMax(), as Synth said. What version of Avisynth are you using?

Also, please get Decomb 3.91. It has an important fix in Decimate().
Guest is offline   Reply With Quote
Old 30th August 2002, 18:30   #4  |  Link
mmgrover
Custom User Text:
 
Join Date: Aug 2002
Posts: 161
What would be the recomended amount for SetMemoryMax() with a
machine that has 1.5 gig of ram?


I have a P4 2.2 Gig with 4 Seagate 70 SCSI drives at home.


mg
mmgrover is offline   Reply With Quote
Old 30th August 2002, 20:22   #5  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I'll let dividee handle this query. I am not familiar enough with the internals of Avisynth to answer usefully. I have mine set to 100Meg, however, as I like having a lot of frame cache.
Guest is offline   Reply With Quote
Old 30th August 2002, 21:43   #6  |  Link
dividee
Registered User
 
Join Date: Oct 2001
Location: Brussels
Posts: 358
A minimum amount of memory is needed for every script to run at full speed. With more, you gain nothing. Unless you do very complicated scripts, a few dozen MB is usually enough. But with so much memory at hand, set it at 256 MB and forget about it.
In 2.05 and future versions (and in pre-1.0b6), you don't need to use SetMemoryMax (unless you want to use less memory) as it will use much more memory by default.
__________________
dividee
dividee is offline   Reply With Quote
Old 2nd September 2002, 00:48   #7  |  Link
mmgrover
Custom User Text:
 
Join Date: Aug 2002
Posts: 161
I tried using "SetMemoryMax(100)" with AVISynth 2.05.
Viewing the avs file in MediaPlayer it looks ok, but when
the avs file is encoded with CCE, all I get is a solod black
frames with some red lines at the bottom?

mike
mmgrover is offline   Reply With Quote
Old 2nd September 2002, 01:21   #8  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Your first post implied that you were working fine with CCE.

If you remove the SetMemoryMax(), does it work OK (but slow), or has something else changed in the meantime?

Sounds like you are mixing up symptoms here and getting us all confused.
Guest is offline   Reply With Quote
Old 2nd September 2002, 03:41   #9  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
@mmgrover

I tried Decomb39 briefly and experienced similar (large) speed drops. I stepped back to the previous version. I made the assumption it was because of the Pentium specific enhancements (I'm using an Athlon TBird processor).

What type of processor are you using?

jdobbs
jdobbs is offline   Reply With Quote
Old 2nd September 2002, 03:55   #10  |  Link
int 21h
Still Laughing
 
int 21h's Avatar
 
Join Date: Oct 2001
Location: Around
Posts: 1,312
I, too, have noticed these speed problems, even with SetMemoryMax set to the recommended values. However, I am running a P4. I simply rolled back to 1b5 or whatever the heck I had before and the speed was back to normal.

However, I traced my problems back to new Avisynth.
int 21h is offline   Reply With Quote
Old 2nd September 2002, 04:20   #11  |  Link
mmgrover
Custom User Text:
 
Join Date: Aug 2002
Posts: 161
I was trying the SetMemoryMax(100) to help speed up Decomb391.
As I had stated, Decomb391 runs considerably slower than
Decomb3.8.

jdobbs, I am using a P4 2.2 gig with 1.5 gig of ram...

Trying different versions of AVISynth had no affect on the speed
of Decomb391.

I did find a filter called IVTC.

Speed results using AVISynth and Decomb -> CCE:

Decomb3.91 0.180 - 0.200
Decomb3.8 0.870 - 0.878
IVTC 1.120 - 1.200

IVTC also worked on a DVD I have called Titanic.

mike
mmgrover is offline   Reply With Quote
Old 2nd September 2002, 05:25   #12  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
This all makes no sense. There is no Pentium-specific code and I have a Palamino 1900. My tests show no slowdown from Decomb 3.8 to 3.91 and
the only change was addition of mode 2 to Decimate.

Has anyone that claims this slowdown even with SetMemoryMax() tried it with Decimate(mode=0)? Has anyone tried to isolate the "problem" to Telecide() or Decimate()? Does the slowdown occur only when serving into CCE, or when playing the AVS?

Last edited by Guest; 2nd September 2002 at 05:30.
Guest is offline   Reply With Quote
Old 2nd September 2002, 12:26   #13  |  Link
Peters
Registered User
 
Peters's Avatar
 
Join Date: Oct 2001
Location: France
Posts: 138
No speed decrease for me with the new version.
I'm just using Telecide(), encoding with Virtualdub

Avisynth 2.05, Athlon XP 1.8 ghz
Peters is offline   Reply With Quote
Old 2nd September 2002, 13:20   #14  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
@neuron2

As a test, I just ran two identical scripts on the same source. The only thing I changed is from one .DLL to the other (decomb38 and decomb39). Here are the two scripts:

------
LoadPlugin("C:\PROGRAM FILES\DVD-RIP\AVISYNTH\MPEG2DEC.DLL")
LoadPlugin("C:\PROGRAM FILES\DVD-RIP\AVISYNTH\DECOMB38.DLL")
mpeg2source("d:\image2\stng0109.d2v")
trim(0,2000)
Telecide()
Decimate(cycle=5)
BilinearResize(352,480)
ResampleAudio(44100)
------
LoadPlugin("C:\PROGRAM FILES\DVD-RIP\AVISYNTH\MPEG2DEC.DLL")
LoadPlugin("C:\PROGRAM FILES\DVD-RIP\AVISYNTH\DECOMB39.DLL")
mpeg2source("d:\image2\stng0109.d2v")
trim(0,2000)
Telecide()
Decimate(cycle=5)
BilinearResize(352,480)
ResampleAudio(44100)
------

On the first script my speed indicator was .636 on the second it was .241 -- it dropped to less than half its version 38 speed.

I'm running CCE version 2.50 on a 1.3Ghz TBird Processor on an ASUS AV7 motherboard. I have 512MB of memory, and I'm using an ATA100 60GByte hard drive. The source was NTSC (STNG Episode 9 from year 1)

Hope that helps.

jdobbs
jdobbs is offline   Reply With Quote
Old 2nd September 2002, 13:30   #15  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
The problem is definitely related to DECIMATE. If I comment that line out, the speeds are identical. If I comment out TELECIDE and only run DECIMATE the speed comparison is 1.05 to .422
jdobbs is offline   Reply With Quote
Old 2nd September 2002, 13:46   #16  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
@jdobbs

Thank you for the test results. What version of Avisynth were you running with?

Please do two things for me. PLEASE!

1. Try exactly as before but use Decimate(mode=0).

2. Try comparisons as before but not feeding into CCE, just playing the AVS.
Guest is offline   Reply With Quote
Old 2nd September 2002, 14:21   #17  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
@neuron2

AVISynth version shows at 2.0.4.0

1. Tried with decimate(mode=0) -- DECOMB38 for .628 and DECOMB39 got .640 --> pretty close.

2. It's hard to tell anything by using Media Player, so I ran the original scripts through VirtualDub converting to DIVX to take CCE out of the equation. On DECOMB38 I get 11-13fps, on DECOMB39 I get 4-6fps. Pretty much the same results.

jdobbs

Last edited by jdobbs; 2nd September 2002 at 14:24.
jdobbs is offline   Reply With Quote
Old 2nd September 2002, 14:40   #18  |  Link
dividee
Registered User
 
Join Date: Oct 2001
Location: Brussels
Posts: 358
@jdobbs:
With Avisynth 2.04 you should DEFINITELY use SetMemoryMax !
__________________
dividee
dividee is offline   Reply With Quote
Old 2nd September 2002, 14:45   #19  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
@dividee

Thanks, that must be it. I just switched to version 2.0.5.0 and the problem went away. I get virtually identical speeds using the scripts I posted above.

@neuron2

That's what I get for not staying current... I appreciate your help.

jdobbs
jdobbs is offline   Reply With Quote
Old 2nd September 2002, 15:22   #20  |  Link
WarpEnterprises
C64
 
WarpEnterprises's Avatar
 
Join Date: Apr 2002
Location: Austria
Posts: 830
Can confirm the SetMem-cause. Decimate is a quite good test for how much mem is allocated by default

Else there is identical speed no regard which settings.

Btw a good test for speed of a filter is to crop the video right afterwards to e.g. 8x8 and save this in VD as AVI uncompressed:

Decimate(mode=0, cycle=25)
Crop(0,0,8,8)
WarpEnterprises is offline   Reply With Quote
Reply


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 21:52.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.