Avisynth 2.5 real world performance benefits » Technical Analysis » Money Forum

Money Forum

Money Forum



ПоискПоиск   Users   Registration   Entrance
Today: 04.04.2025 - 16:46:29
Pages:  1  2  

Avisynth 2.5 real world performance benefits

Advertising


MessageAuthor

Does anyone have some real world performance benchmarks comparing processing times for Avisynth 2 to 2.5? My understanding is one of the chief benefits of sticking in the YV12 space is performance, with the secondary benefit being some minor quality improvements due to staying in a single color space. I only work with HDTV encoding, either to WMV or DVD. I did one comparison of HDTV 1080i to WMV 720p and saw almost zero performance improvement. Maybe windows media encoder is the gating factor in performance for both of these scenarios (maybe it isn't pulling frames at max avisynth+plugin capacity in either scenario). All I'm doing in avisynth is a telecide using the new decomb.dll and a lanczosresize. a 7:22 length clip took 54:25 using the old avisynth and 52:28 using the new one. Haven't tried running the same clip through tmpgenc to DVD format yet as a comparitive benchmark, but this first test made me wonder under what scenarios are people seeing real-world performance benefits of avisynth 2.5.

---------------------
I made money, the firm made money. 2/3 ain't bad.

Twisty

money-user




Statistics:
Messages: 530
Registration: 11.24.2002
11.08.22 - 06:21:29
Message # 1
RE: Avisynth 2.5 real world performance benefits

Going from DVD to Xvid in Vdubmod I got a very significant performance increase by changing to 2.5, though I cannot remember the actuall difference in time i think it was on the order of 25% but the %gain is very dependent on the filter chain so....

---------------------
no more

bags

money-user




Statistics:
Messages: 731
Registration: 10.23.2003
11.08.22 - 06:30:11
Message # 2
RE: Avisynth 2.5 real world performance benefits

The primary speedup will mostly apply if your destination supports YV12 input. Otherwise your material will still be converted to YUY2 - or even worse, RGB (as it is the case with TMPGEnc). This will be done by a video codec (DivX or XviD, XviD being the fastest). If your destination only supports YUY2 or RGB, the best way to benefit from the speedup is to convert to that colorspace before delivering it to the encoder. VirtualDubMod supports passing YV12 to XviD and DivX - I don't know if Nic's WMV-encoder does. In general it depends on the filters you are applying. Decomb has not yet been optimized for YV12 for instance, so if you'd post the script that would also help. Also there is an unresolved issue that still offers lower performance in some cases (I'm refering to the "makewriable issue"). Once this is resolved we'd be able to get even more speed.

---------------------
1992 325i "Bridget" - gone 1999 M3 - here to stay

extemporia

money-user




Statistics:
Messages: 340
Registration: 12.17.2002
11.08.22 - 06:39:15
Message # 3
RE: Avisynth 2.5 real world performance benefits

Here's my script: LoadPlugin("d:\tools\avisynth25\mpeg2dec3.dll") LoadPlugin("d:\tools\avisynth25\decomb.dll") MPEG2Source("F:\YR.d2v") Telecide(reverse=false,swap=false,firstlast=false,post=true,threshold=15,dthreshold=9,blend=true,chroma=false,y0=0,y1=0) LanczosResize(1280,720)

---------------------
Keith '73 2002 2002 Steel Gray Mcoupe

KDB

money-user




Statistics:
Messages: 54
Registration: 03.14.2003
11.08.22 - 06:49:41
Message # 4
RE: Avisynth 2.5 real world performance benefits

Before installing 2.5 I did a quick encode from a vob using no plugins other than mpeg2dec and then did the same encode using 2.5 and mpeg2dec3 I got an almost bang on the dot 20% speed increase.

---------------------
____________________________________ Mods: Remus Exhaust, H&R/Bilstein Coilovers, Borbet Type E 9,5x17 / 8x17, Momo, Custom work

BIPOLAR

money-user




Statistics:
Messages: 184
Registration: 12.21.2003
11.08.22 - 06:54:21
Message # 5
RE: Avisynth 2.5 real world performance benefits

I got 20-25% increased speed.

---------------------

eurospec#19

money-user




Statistics:
Messages: 271
Registration: 03.14.2001
11.08.22 - 06:57:51
Message # 6
RE: Avisynth 2.5 real world performance benefits

hm i didnt noticed any speed increase with avisynth2.5 with an dvd -> avi encode by using xvid and virtualdubmod. here is my .avs script: LoadPlugin("C:\PROGRA~1\AVISYNTH 2.5\PLUGINS\mpeg2dec3.dll") mpeg2source("C:\Eigene Dateien\Eigene Videos\movie.d2v") trim(140153,147269) crop(2,80,716,418) BicubicResize(640,256,0,0.5) the final .avi is in yuy2, why?

---------------------

schosports

money-user




Statistics:
Messages: 2,125
Registration: 09.30.2002
11.08.22 - 07:01:37
Message # 7
RE: Avisynth 2.5 real world performance benefits

Maybe your source is not in YV12 or you don't use a XviD supporting YV12 ( last Keopi are able to ) or you don't use "FastRecompress" in VdubMod.

---------------------

patrick S

money-user




Statistics:
Messages: 88
Registration: 09.17.2003
11.08.22 - 07:12:11
Message # 8
RE: Avisynth 2.5 real world performance benefits

@bond If you used fastrecompress in vdubmod it should be YV12. For me ffdshow shows in information field sometimes YV12 as YUY2 and sometimes as YV12 as it should.

---------------------

VahramHS

money-user




Statistics:
Messages: 2,029
Registration: 01.06.2003
11.08.22 - 07:23:07
Message # 9
RE: Avisynth 2.5 real world performance benefits

my source is the matrix dvd i used fastrecompress in vdubmod i used koepis 260103 unstable build bsplayer shows that the dvd and the avi both are "YUY2 DR-Overlay". can this be true? :(

---------------------

bebedivine

money-user




Statistics:
Messages: 543
Registration: 04.01.2003
11.08.22 - 07:27:59
Message # 10
RE: Avisynth 2.5 real world performance benefits
Rejection : Previous topicNext topic: Denoising audio in avisynth
Pages:  1  2  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants