View Full Version : A new version of AVSredirect.dll
dimzon
30th January 2006, 11:23
if you use the avifile api to open avs scripts, avisynth internally creates a new scriptenvironment for each opened file... so you end up with one scriptenvironment per script. That way is less efficient when you need to open a lot of scripts at the same time, but doesn't have to worry about threading issues.
Thanx a lot!
damrod
30th January 2006, 12:03
very impressive
i will check if i can use it...usually i retrieve video file info via mediainfo tool...but avs (in directshowsource mode) can give me the info no?
Inc
30th January 2006, 12:46
very impressive
i will check if i can use it...usually i retrieve video file info via mediainfo tool...but avs (in directshowsource mode) can give me the info no?
Miediainfo in case of native avs script parsing isnt that useful as the nice addons like parsing the Aspectratio out of an avifile isnt available in avs inputs as avs results in a RAW bitstream where no AR information is included.
Directshow isnt used in here, not via the new AvsRedirect.dll neither via the AviFil32 APi approach. For a simple videoinfo u dont need this dll as the AviFil32 API way (AviFileInfo and AviStreaminfo) does provide all you need except AR information (see the code examples and links in here) :)
Amnon82
3rd February 2006, 15:57
@alfixdvd:
Take a look on <Delphi> Get information of AVS using VFW or AVISYNTH_C-Port by Myrsloik (http://forum.doom9.org/showthread.php?t=87766)
Myrsloik added a sample how to use avisynth_c directly in Delphi. Also you can find some samples by me how to use vfw in Delphi. To see how avisynth_c works download the newest AutoQ2 build you can find in the cce part of this forum.
dimzon
28th February 2006, 13:28
talking about multiple clips @ one IScriptEnviroment VS one IScriptEnviroment per every clip
No restriction
Seems like when you use multiple clips @ one IScriptEnviroment they share variables!
alfixdvd
28th February 2006, 18:00
Thanks amnon82.
Dark-Cracker
15th March 2006, 10:29
Is there a sample to port the access at avisynth frame using avsredirect using vb6 or purebasic ?
Keep up the good work.
++
Inc
15th March 2006, 11:32
I have a full dll access example-Player for Purebasic on my HD at home.
Also I made a GPL'ed Purebasic Userlibrary so u can use the functionts directly in PB and link statically to your resulting Purebasic Project - so no dll is needed.
Inc
15th March 2006, 21:36
@Dark-Cracker
Here you got one Example where PB does call the dll.
In here the Imageoutput out of the avs_getvframe procedure does give you a ready rgb32 imagepointer (the needed WinAPI are Routines are inside the dll) which can be assigned directly to an imagegadget.
And ... a PB Userlibrary also including a code example.
tin3tin
10th June 2008, 14:30
Anyone tried to get this to work in http://www.autoitscript.com/ (http://www.autoitscript.com/autoit3/) yet?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.