Quantcast Avisynth: is Avisynth 2.5 Faster? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
03-07-2003, 08:21 AM
digitalize digitalize is offline
Free Member
 
Join Date: Dec 2002
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
With AviSynth 2.5 filters, has anyone noticed an increase in speed?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-07-2003, 12:45 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by digitalize
With AviSynth 2.5 filters, has anyone noticed an increase in speed?
It's supposed to be up to 35% faster, but I assume this is without any filtering. When we stack up our filter chain, I'm sure the overall encoding speed will sink just like if you use 2.07

-kwag
Reply With Quote
  #3  
03-08-2003, 12:17 PM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
You'll get the big speed increase only when you convert the DVD to DivX or XviD with VirtualDubMod and fast recompress enabled. This way you'll do no colorspace conversions, it goes straight from YV12 to YV12. When doing KVCDs, there's a different path, I think it goes YV12->RGB24->YV12.

If TMPGEnc would encode in YV12 colorspace, the speed increase would be huge
Reply With Quote
  #4  
03-10-2003, 08:36 AM
digitalize digitalize is offline
Free Member
 
Join Date: Dec 2002
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
I downloaded and did a test with the trial version of CCE using Avisynth 2.5. I only used LegalClip and FaeryDust as the filters. The speed using 2.07 was .15, using 2.5 it averaged at about .22 and got as high as .26. So a definite speed increase. I wish TMPGEnc would add in a display of speed like CCE.
Reply With Quote
  #5  
03-19-2003, 11:18 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Not all filters are optimized for YV12 yet. You should at least be able to reach the same speeds as 2.0, by converting your material to YUY2 colorspace, if that's your destination format anyway.

I'm currently working with Donald Graft on optimizing the decomb package for YV12. Currently all code is unoptimized, and this is probably one of the most used filters.


(wow - 1st post!)
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #6  
03-19-2003, 11:34 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Welcome sh0dan

-kwag
Reply With Quote
  #7  
03-19-2003, 01:12 PM
alfredini alfredini is offline
Free Member
 
Join Date: Dec 2002
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
oh yes. Welcome sh0dan. What a pleasure
Reply With Quote
  #8  
03-19-2003, 08:33 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
hi sh0dan..

suprise to see you here. I'm glad you found a place here too he he..

Anyways, back to post..

I have question for ya w/ respect to Donald Graft's great decomb.dll
filter.. first, I'm glad you're re-working it. Thanks' (and Donald too.

Are there any plans to optimize it's Interlace detection ?? ?? ??
I've ben processing LOTS of IVTC type projects in my encodes and I still
see those blastid lines - rats !!
I say, ..I notice them when a scene changes. The pic:
* gets distored PRIOR to scene change (you notice blochy'ness) and,
* the next frame after scene change, you see the left-over Interlace - rats !!

If I try and tweak the settings, I loose some detail (too much for my taste)
and/or, the video becomes too software or blurry - rats again !!
I had some thoughts to throw around, but sometimes asking such questions over at
d9 is like asking for a sledge hammer. It's nice and convenient to ask you such
questions here Anyways.. I will continue of course, to use the decomb.dll filter
in my AVS projects that require IVTC.

Ok, one more.. I would love to see some work, for broken IVTC processes
handled better ie, ST-NG is shot on Film 24, then Teleined to 29.970, however,
the pattern is not your usual 3,2 3,2 3,2..

It's more like 3,2 3,2 3,2 3,2 3,2 3,2 2,2 3,2.. and somewhat repeats.
Would be nice for a feature like decomb(pattern=3,2,7,2) where the 7 is the
repeat position where the 3,2 breaks down to a 2,2
and the x,x,x,2 would be the amount of Interlace. Since we already know
our source's pattern, it would probably be more accurate to intervent manually ??

The above filter syntax would be just for those broken IVTC processes.
I have other issues, but this is probably not the place for such questions
at this time..

Anyways..
In adition to kvcd templates and things, I also dabble in the divX field
of encodes, cause its just plain fun and it's a part of my hobby to try new ideas.
That's why I'm here at KVCD and loving every minute of it !! ..sorry
Kwag.. didn't mean to kiss your ZZ. Anyways.. i'm glad you're here
too, and hope to beat on you some he he.. I mean, hope to see you more often
here he he..

Have a good evening all.
-vhelp
ps: i've noticed that the AVIsynth Area is mising a MOD.
Reply With Quote
  #9  
03-20-2003, 05:14 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
I wasn't aware that there was such a large AviSynth user base here, so I haven't dropped by before now. I see a lot of people are still using the old 2.0 line - let's get something done about that.

I let Donald do the basic algorithm, and I just optimize it. I have some proposals for how chroma is handled, but the basic algorithm remains in control of Donald - decomb is quite complex, and I would probably break more things by trying to re-code stuff.

On the other hand I'm sure Donald can help you detecting these cases you describe. Drop by the doom9 forums, or direct him here.
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #10  
03-21-2003, 02:50 AM
VILLA21 VILLA21 is offline
Free Member
 
Join Date: Oct 2002
Location: Greece
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by sh0dan
I wasn't aware that there was such a large AviSynth user base here, so I haven't dropped by before now. I see a lot of people are still using the old 2.0 line - let's get something done about that.

I let Donald do the basic algorithm, and I just optimize it. I have some proposals for how chroma is handled, but the basic algorithm remains in control of Donald - decomb is quite complex, and I would probably break more things by trying to re-code stuff.

On the other hand I'm sure Donald can help you detecting these cases you describe. Drop by the doom9 forums, or direct him here.
Hey, nice to see Avisynth Guru in this forum often...!
__________________
The aRt oF FaLLing ApaRt
Reply With Quote
  #11  
03-21-2003, 04:43 AM
jamesp jamesp is offline
Free Member
 
Join Date: Jul 2002
Location: Chelmsford, UK
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
I'll use 2.5 when my favourite filters are ported (dust, peach etc). Does anyone know in Convolution3d is stable in 2.5 and suitable for mpeg encoding?

Jim


Quote:
Originally Posted by sh0dan
I wasn't aware that there was such a large AviSynth user base here, so I haven't dropped by before now. I see a lot of people are still using the old 2.0 line - let's get something done about that.

I let Donald do the basic algorithm, and I just optimize it. I have some proposals for how chroma is handled, but the basic algorithm remains in control of Donald - decomb is quite complex, and I would probably break more things by trying to re-code stuff.

On the other hand I'm sure Donald can help you detecting these cases you describe. Drop by the doom9 forums, or direct him here.
Reply With Quote
  #12  
03-21-2003, 04:57 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
It IS possible (by using a plugin) to use 2.0 plugins in 2.5!

This thread describes how. Of course they can only be used in YUY2 colorspace.

Anyway - plugin authors should easily be able to do a version for 2.5 - for most filters it is "only" a matter of 15-30 minutes of work, to do a native plugin for 2.5.

Convolution3D is perfectly stable for 2.5 - I have seen no bug reports.
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #13  
03-21-2003, 05:17 AM
jamesp jamesp is offline
Free Member
 
Join Date: Jul 2002
Location: Chelmsford, UK
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Well i'm converted! I'll get 2.5 installed over the weekend!

Jim

Quote:
Originally Posted by sh0dan
It IS possible (by using a plugin) to use 2.0 plugins in 2.5!

This thread describes how. Of course they can only be used in YUY2 colorspace.

Anyway - plugin authors should easily be able to do a version for 2.5 - for most filters it is "only" a matter of 15-30 minutes of work, to do a native plugin for 2.5.

Convolution3D is perfectly stable for 2.5 - I have seen no bug reports.
Reply With Quote
  #14  
03-21-2003, 08:34 AM
digitalize digitalize is offline
Free Member
 
Join Date: Dec 2002
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks sh0dan!!! Come around here more often!!!
Reply With Quote
  #15  
03-21-2003, 10:15 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
I already consider myself a regular user
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #16  
03-24-2003, 12:28 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Correct me if I'm wrong, but I think none of Sansgrip's filters have been written for 2.5 yet, right? And since he is the filter "god" for KVCDs are we ready for the switch?
Reply With Quote
  #17  
03-24-2003, 12:47 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
don't know if all the Sansgrip's filters,
but we use other filters and some of them don't be writen for 2.5!

Reply With Quote
  #18  
03-24-2003, 02:03 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by J-Wo
Correct me if I'm wrong, but I think none of Sansgrip's filters have been written for 2.5 yet, right? And since he is the filter "god" for KVCDs are we ready for the switch?
Some of SansGrip's filters are 2.5x ready. Look at the "readme" files here: http://www.jungleweb.net/~sansgrip/avisynth/

-kwag
Reply With Quote
  #19  
03-24-2003, 02:47 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Kwag. Taking a quick look at the filters it looks like NoMoSmooth and LegalClip are not 2.5 ready, and these two filters are used in your latest scripts (in fact LegalClip is like in EVERYONE'S scripts). So you're still using 2.08, right?
Reply With Quote
  #20  
03-24-2003, 02:53 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
2.0 LegaClip = 2.5 Limiter, which is now builtin.

The filter was renamed to avoid potetial conflicts.
__________________
Regards, sh0dan // VoxPod
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: AVIsynth quit wroking after install nero reload jzhao66 Avisynth Scripting 16 06-09-2005 08:53 AM
Avisynth: HQdn3d - mplayer filter ported to avisynth incredible Avisynth Scripting 1 10-25-2004 09:51 AM
Avisynth: Green pixelation artifacts on Xvid via Avisynth? rs008f Avisynth Scripting 10 03-23-2004 09:33 PM
Avisynth: Need clip filter & dust filters for avisynth nighthawk Avisynth Scripting 3 01-31-2004 12:24 PM
Avisynth: Tweaking for same compression and quality, but faster? CheronAph Avisynth Scripting 13 03-09-2003 11:56 AM




 
All times are GMT -5. The time now is 01:34 AM  —  vBulletin © Jelsoft Enterprises Ltd