View Full Version : Why is avisnyth 2.5 soo slow using CCE 2.67?
Octagon
27th June 2003, 06:12
When I dont use avisynth in CCE and I just use an avi file I can encode it using two pass Vbr at 5.5 speed. I have a XP 2500 overclocked and 1 GB of 333 PC 3200 Ram(Corsair). I have the new abit board also. When I use avisynth and load the same avi using an AVS in cce it encodes at 1.40. The script only contains:
AVISource("C:\DragonDrive\Dragon_drive_-_10.avi")
AddBorders(20,20,20,20)
BicubicResize(720,480)
WHEn I run this same AvS file into the new Tmpeg I can encode at 35 min. Using CQVbr 2000-2100. Motion estimate at low and using the NTSC dvd template. Is the culprit Avisynth. Avisynth wont even use all of the availiable ram. Just 500 mb of about 1 Gb available. Any sugestions?
SETMEMORYMAX doesn't help either.
digitalman
1st July 2003, 14:57
Basically the AddBorders and BicubicResize are slowing it down. Try bilinear resize instead.
sh0dan
1st July 2003, 18:42
Try using
AVISource("C:\DragonDrive\Dragon_drive_-_10.avi",pixel_type="yuy2")
or ending the script with converttoyuy2().
DDogg
2nd July 2003, 17:13
Octagon, I think Sh0dan called that one exactly right as your script may have forced some external codec to do the color conversion which could be WAY slow. It is hard to know as you did not mention the full version number of CCE (last two digits). Also, did you install the light version of ffVFW that comes with Avisynth 2.52? Both of these have an effect on the color conversion.
I hope you will try his suggestion, provide the additional information and post your speed results. I am contemplating upgrading to a similar system and would be very interested in the results.
digitalman
11th July 2003, 18:00
I have tried the demo of 2.67.11 and it seems to encode in YV12. I did not need to add the converttoyuy2() in the script. I do not have any external converters installed like FFVFW. I uninstalled it because it caused issues with DVD Workshop. Does encoding in YV12 slow it down considerably?
Wilbert
11th July 2003, 18:27
It doesn't encode in YV12, meaning it doesn't filter in YV12. You have probably other YV12 codecs on your system (like XviD or DivX). You can easily check that by opening the avi in vdubmod.
digitalman
11th July 2003, 19:46
I still need the converttoyuy2() line in a demo of CCE 2.66 on the same PC. If it has something to do with external codecs, I do not understand why the converttoyuy2() is still needed on the same PC for 2.66. So something must have changed in 2.67?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.