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

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th May 2015, 19:44   #21  |  Link
jones1913
random user
 
Join Date: May 2014
Location: #Neuland
Posts: 116
Let me join the party of posting batch scripts

A half year or so ago I modified Groucho's script because I had some issues (I cant remember right now which kind of).
It ended in a complete rewrite...
My script works a bit different as the former script:

- must be started with admin rights, because it copy the .dlls to system32 or syswow64
- write direct to registry with reg.exe
- has uninstall option

I was never 100% sure about all of the registry keys but it worked for me. (tested on Win7 x64 and NT5.2 x64)

Code:
::batch script for fast switch of avisynth versions
::initial idea and work by Groucho2004 -> http://forum.doom9.org/showthread.php?p=1677076#post1677076
::modified by jones1913

@echo off
setlocal
fsutil dirty query %systemdrive% > nul
if errorlevel 1 goto :noAdmin
color 4f

::The source directory with the various avisynth versions is set to the location of this batch file.
set AVS_SRC_DIR=%~dp0

if /i %PROCESSOR_ARCHITECTURE%==x86 if not defined PROCESSOR_ARCHITEW6432 set winarch=x32

if [%1]==[] goto :menu
if /i %1==AVS257 (set avs=%1) & goto :install
if /i %1==AVS258 (set avs=%1) & goto :install
if /i %1==AVS260 (set avs=%1) & goto :install
if /i %1==AVS260_ICL (set avs=%1) & goto :install
if /i %1==AVS260_MT (set avs=%1) & goto :install
if /i %1==AVSPLUS_x86 (set avs=%1) & (set avspl=true) & goto :install
if /i %1==AVSPLUS_x64 (set avs=%1) & (set avspl=true) & goto :install
echo.
echo Unknown parameter.

:menu
echo.
echo Which AviSynth version you want to install?
echo (Or call this batch file next time directly with one of the below listed parameters.)
echo.
echo 1 = AVS257
echo 2 = AVS258
echo 3 = AVS260
echo 4 = AVS260_ICL
echo 5 = AVS260_MT
echo 6 = AVSPLUS_x86
echo 7 = AVSPLUS_x64 *
echo.
echo 8 = Uninstall AVS x86
echo 9 = Uninstall AVS x64
echo.
echo   *) AVS+ x64 can be installed in addition to one of the other versions.
echo.
set no=
set /p no=[1-9] (leave blank and [Enter] for exit): 
if [%no%]==[] goto :cancel

if %no%==1 set avs=AVS257
if %no%==2 set avs=AVS258
if %no%==3 set avs=AVS260
if %no%==4 set avs=AVS260_ICL
if %no%==5 set avs=AVS260_MT
if %no%==6 (set avs=AVSPLUS_x86) & set avspl=true
if %no%==7 (set avs=AVSPLUS_x64) & set avspl=true
if %no%==8 (set avs=AVSx86) & goto :uninstall
if %no%==9 (set avs=AVSx64) & goto :uninstall
echo.
if [%avs%]==[] (echo Invalid input...
	goto :menu)

:install
echo Installing %avs%...
echo.
if defined winarch (
	echo setup for 32bit windows system...
	echo.
	if /i %avs%==AVSPLUS_x64 ( echo Attempt to install x64 AVS on x32 Windows.
		goto :cancel )
	echo copying %avs% files to "%WINDIR%\System32"...
	copy /y "%AVS_SRC_DIR%%avs%\avisynth.dll" "%WINDIR%\System32"
	copy /y "%AVS_SRC_DIR%%avs%\devil.dll" "%WINDIR%\System32"
	if errorlevel 1 ( echo Failed to copy files to "%WINDIR%\System32"
		goto :error )
	echo.
	echo reg add "HKLM\SOFTWARE\Avisynth" /v "PluginDir2_5" /d "%AVS_SRC_DIR%%avs%\plugins"
	reg add "HKLM\SOFTWARE\Avisynth" /v "PluginDir2_5" /d "%AVS_SRC_DIR%%avs%\plugins" /f
	if errorlevel 1 ( echo Error on importing registry keys!
		goto :error )
	call :regWin
) else (
	echo setup for 64bit windows system...
	echo.
	if /i %avs%==AVSPLUS_x64 (
		echo copying %avs% files to "%WINDIR%\System32"...
		copy /y "%AVS_SRC_DIR%%avs%\avisynth.dll" "%WINDIR%\System32"
		copy /y "%AVS_SRC_DIR%%avs%\devil.dll" "%WINDIR%\System32"
		if errorlevel 1 ( echo Failed to copy files to "%WINDIR%\System32"
			goto :error )
		echo.
		echo reg add "HKLM\SOFTWARE\Avisynth" /v "PluginDir2_5" /d "%AVS_SRC_DIR%%avs%\plugins"
		reg add "HKLM\SOFTWARE\Avisynth" /v "PluginDir2_5" /d "%AVS_SRC_DIR%%avs%\plugins" /f
		if errorlevel 1 ( echo Error on importing registry keys!
			goto :error )
		call :regWin
	) else (
		echo copying %avs% files to "%WINDIR%\SysWow64"...
		echo copy /y "%AVS_SRC_DIR%%avs%\avisynth.dll" "%WINDIR%\SysWow64"
		copy /y "%AVS_SRC_DIR%%avs%\avisynth.dll" "%WINDIR%\SysWow64"
		copy /y "%AVS_SRC_DIR%%avs%\devil.dll" "%WINDIR%\SysWow64"
		if errorlevel 1 ( echo Failed to copy files to "%WINDIR%\SysWow64"
			goto :error )
		echo.
		echo reg add "HKLM\SOFTWARE\Wow6432Node\Avisynth" /v "PluginDir2_5" /d "%AVS_SRC_DIR%%avs%\plugins"
		reg add "HKLM\SOFTWARE\Wow6432Node\Avisynth" /v "PluginDir2_5" /d "%AVS_SRC_DIR%%avs%\plugins" /f
		if errorlevel 1 ( echo Error on importing registry keys!
			goto :error )
		call :regWow64
	)
)
goto :end

:regWin
echo.
echo adding more registry entries...
reg add "HKLM\SOFTWARE\Classes\AVIFile\Extensions\AVS" /ve /d "{E6D6B700-124D-11D4-86F3-DB80AFD98778}" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}" /ve /d "AviSynth" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32" /ve /d "AviSynth.dll" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32" /v "ThreadingModel" /d "Apartment" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\Media Type\Extensions\.avs" /v "Source Filter" /d "{D3588AB0-0781-11CE-B03A-0020AF0BA770}" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\.avs" /ve /d "avsfile" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\.avsi" /ve /d "avs_auto_file" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\avsfile" /ve /d "AviSynth Script" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\avsfile\DefaultIcon" /ve /d "%WINDIR%\System32\AviSynth.dll,0" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\avs_auto_file" /ve /d "AviSynth Autoload Script" /f >nul 2>&1
if defined avspl (reg add "HKLM\SOFTWARE\Classes\avs_auto_file\DefaultIcon" /ve  /d "%WINDIR%\System32\AviSynth.dll,1" /f
	) else reg add "HKLM\SOFTWARE\Classes\avs_auto_file\DefaultIcon" /ve /d "%WINDIR%\System32\AviSynth.dll,0" /f
goto :eof

:regWow64
echo.
echo adding more registry entries (wow64 mode)...
reg add "HKLM\SOFTWARE\Classes\AVIFile\Extensions\AVS" /ve /d "{E6D6B700-124D-11D4-86F3-DB80AFD98778}" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Wow6432Node\Classes\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}" /ve /d "AviSynth" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Wow6432Node\Classes\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32" /ve /d "AviSynth.dll" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Wow6432Node\Classes\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32" /v "ThreadingModel" /d "Apartment" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Wow6432Node\Classes\Media Type\Extensions\.avs" /v "Source Filter" /d "{D3588AB0-0781-11CE-B03A-0020AF0BA770}" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\.avs" /ve /d "avsfile" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\.avsi" /ve /d "avs_auto_file" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\avsfile" /ve /d "AviSynth Script" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\avsfile\DefaultIcon" /ve /d "%WINDIR%\SysWow64\AviSynth.dll,0" /f >nul 2>&1
reg add "HKLM\SOFTWARE\Classes\avs_auto_file" /ve /d "AviSynth Autoload Script" /f >nul 2>&1
if defined avspl (reg add "HKLM\SOFTWARE\Classes\avs_auto_file\DefaultIcon" /ve /d "%WINDIR%\SysWow64\AviSynth.dll,1" /f
	) else reg add "HKLM\SOFTWARE\Classes\avs_auto_file\DefaultIcon" /ve /d "%WINDIR%\SysWow64\AviSynth.dll,0" /f
goto :eof

:uninstall
echo.
echo Remove %avs% .dll and registry entries from this system?
set /p rm=[y/n]: 
if /i not [%rm%]==[y] goto :cancel
echo.
if defined winarch (
	if /i %avs%==AVSx64 ( echo Attempt to remove x64 AVS from x32 Windows.
		goto :cancel )
	echo removing %avs% files from "%WINDIR%\System32"...
	del "%WINDIR%\System32\avisynth.dll"
	del "%WINDIR%\System32\devil.dll"
	call :unregWin all
) else (
	if /i %avs%==AVSx64 (
		echo removing %avs% files from "%WINDIR%\System32"...
		del "%WINDIR%\System32\devil.dll"
		del "%WINDIR%\System32\avisynth.dll"
		if exist "%WINDIR%\SysWow64\avisynth.dll" (call :unregWin) else (
			call :unregWin all )
	) else (
		echo removing %avs% files from "%WINDIR%\SysWow64"...
		del "%WINDIR%\SysWow64\avisynth.dll"
		del "%WINDIR%\SysWow64\devil.dll"
		if exist "%WINDIR%\System32\avisynth.dll" (call :unregWow64) else (
			call :unregWow64 all )
	)
)
goto :end
	
:unregWin
echo.
echo removing registry entries...
reg delete "HKLM\SOFTWARE\Avisynth" /f
reg delete "HKLM\SOFTWARE\Classes\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}" /f
reg delete "HKLM\SOFTWARE\Classes\Media Type\Extensions\.avs" /f
if [%1]==[all] call :unregAll
goto :eof

:unregWow64
echo.
echo removing registry entries (wow64 mode)...
reg delete "HKLM\SOFTWARE\Wow6432Node\Avisynth" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Classes\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Classes\Media Type\Extensions\.avs" /f
if [%1]==[all] call :unregAll
goto :eof

:unregAll
echo.
echo removing more avs registry entries...
reg delete "HKLM\SOFTWARE\Classes\AVIFile\Extensions\AVS" /f
reg delete "HKLM\SOFTWARE\Classes\.avs" /f
reg delete "HKLM\SOFTWARE\Classes\.avsi" /f
reg delete "HKLM\SOFTWARE\Classes\avsfile" /f
reg delete "HKLM\SOFTWARE\Classes\avs_auto_file" /f
goto :eof

:noAdmin
echo This script must run with elevated privileges, so:
echo.
echo   a) right click on it, chose "run as administrator"
echo   b) or start it from within a root cmd window

:error
echo.
echo something went seriously wrong...

:cancel
echo.
echo canceled...

:end
endlocal
echo.
pause

Feel free to use parts of it or leave a comment.
__________________
BeHappy Audio Transcoder > <Doom9 forum> <Gleitz forum> <GitHub>
MP4.tool GUI for MP4Box & L-SMASH muxer > https://www.mediafire.com/folder/3i6y6cbkyhblm/MP4.tool
jones1913 is offline   Reply With Quote
Old 20th May 2015, 21:17   #22  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by jones1913 View Post
or leave a comment.
Fancy!
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 21st May 2015, 11:32   #23  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,094
There is a difference between Groucho's script and the one by jones1913 regarding the CLSID entries.

While Groucho generally uses HKEY_CLASSES_ROOT\CLSID\ (with one exception for the 64bit entries), jones1913 always uses HKLM\SOFTWARE\Classes\CLSID\ or HKLM\SOFTWARE\Wow6432Node\Classes\CLSID\

I know that these two keys point to the same values, but is one method preferable over the other one?


Cheers
manolito
manolito is offline   Reply With Quote
Old 22nd May 2015, 00:00   #24  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Originally Posted by manolito View Post
but is one method preferable over the other one?
Dont think so, the shorter one is just easier to find and probably the only reason for it.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 22nd May 2015, 01:53   #25  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by manolito View Post
I know that these two keys point to the same values, but is one method preferable over the other one?
There is some information about this on MSDN, I have not read it yet.
Anyway, I just use the keys that the standard Avisynth installer writes which are also summarized by IanB in an old thread here on Doom9.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 11th August 2015, 11:04   #26  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,998
Thanks for your new version with last AviSynth 2.6

Using your setavs.bat make a temporal $avsreg$.reg to modify the register with keys than don't match (I don't have thats keys) with my actual reg keys
Quote:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\AviSynth]
[HKEY_CURRENT_USER\SOFTWARE\Avisynth]
"plugindir2_5"="C:\\Program Files (x86)\\AviSynth 2.5\\plugins"

[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}]
[HKEY_CLASSES_ROOT\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}]
@="AviSynth"

[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32]
[HKEY_CLASSES_ROOT\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32]
@="AviSynth.dll"
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\Wow6432Node\Media Type\Extensions\.avs]
[HKEY_CLASSES_ROOT\Media Type\Extensions\.avs]
@=""
"Source Filter"="{D3588AB0-0781-11CE-B03A-0020AF0BA770}"

[HKEY_CLASSES_ROOT\avsfile] (the same)
@="AviSynth Script"

[HKEY_CLASSES_ROOT\AVIFile\Extensions\AVS] (the same)
@="{E6D6B700-124D-11D4-86F3-DB80AFD98778}"

[HKEY_CLASSES_ROOT\Wow6432Node\Media Type\Extensions\.avs] (the same)
@=""
"Source Filter"="{D3588AB0-0781-11CE-B03A-0020AF0BA770}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32]
[HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\WOW6432NODE\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\INPROCSERVER32]
@="AviSynth.dll"
"ThreadingModel"="Apartment"
I have W 7 SP1 64bits and I installed AviSynth 2.6.0.2 (the newest at that moment)

I changed between versions, without execute $avsreg$.reg, and all seems OK. Your Avisynth Info Tool 1.3.1 inform always ok.

Do you know for what the differences?
I don't want duplicate keys than don't exist in my register.
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 11th August 2015 at 11:17. Reason: correct info
tebasuna51 is offline   Reply With Quote
Old 11th August 2015, 11:16   #27  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by tebasuna51 View Post
Do you know for what the differences?
Don't know, I would have to do some research. Besides, after some testing, I recommend using jones1913 batch file from here.
Groucho2004 is offline   Reply With Quote
Old 11th August 2015, 14:13   #28  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,998
Yep, seems the jones1913 batch is coherent with my registry.

BTW, like I don't want uninstall AviSynth, only change between versions, and the registry entries are always the same for my OS 64 bits, can change without modify the registry.

Maybe only
reg add "HKLM\SOFTWARE\Wow6432Node\Avisynth" /v "PluginDir2_5" /d "%AVS_SRC_DIR%%avs%\plugins" /f
if need that. By the moment I have only a few common plugins in PluginDir2_5 and use LoadPlugin() for different ones.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 5th September 2015, 03:51   #29  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 940
Quote:
Originally Posted by jones1913 View Post
Let me join the party of posting batch scripts

...

Feel free to use parts of it or leave a comment.
Ah, cool!
Finally looked into this whole thing.

Win7 (x64) SP1

Tried 3 versions:
260_ICL10
260_MT
PLUS32

They all copied/registered files and worked with AVSmeter!
Quote:
[Script]
BlankClip()
260_ICL
Quote:
[General info]
Log file created with: AVSMeter 2.1.1 (x86)
Script file: E:\Temp\avs_version.avs
Avisynth version: AviSynth 2.60RC3 (ICL10) (2.6.0.6)
Avisynth Interface Version: 6
Avisynth.dll linker/compiler version: 6.0 (ICL 10.1)
Avisynth DLL location: C:\Windows\SysWOW64\avisynth.dll
PluginDir2_5 (HKLM, x86): C:\AVS\AVS_Ver\AVS260_ICL\plugins
260_MT
Quote:
[General info]
Log file created with: AVSMeter 2.1.1 (x86)
Script file: E:\Temp\avs_version.avs
Avisynth version: AviSynth 2.60, build:Feb 20 2015 [03:16:45] (2.6.0.5)
Avisynth Interface Version: 6
Avisynth.dll linker/compiler version: 12.0 (VC 2013)
Avisynth DLL location: C:\Windows\SysWOW64\avisynth.dll
PluginDir2_5 (HKLM, x86): C:\AVS\AVS_Ver\AVS260_MT\plugins
PLUS32
Quote:
[General info]
Log file created with: AVSMeter 2.1.1 (x86)
Script file: E:\Temp\avs_version.avs
Avisynth version: AviSynth+ 0.1 (r1825, MT, i386) (0.1.0.0)
Avisynth Interface Version: 6
Avisynth.dll linker/compiler version: 12.0 (VC 2013)
Avisynth DLL location: C:\Windows\SysWOW64\avisynth.dll
PluginDir2_5 (HKLM, x86): C:\AVS\AVS_Ver\AVSPLUS_x86\plugins
Avisynth Info Tool (1.3.1) reads it loud and clear.
Quote:
[General Info - Avisynth.dll]
Version String: AviSynth 2.60RC3 (ICL10)
File Version: 2.6.0.6
Directory: C:\Windows\SysWOW64
Timestamp: April 29, 2015, 06:50:29
MT Support: No
Loading "ducks.h264" into AvsPmod with DGdecNV_2049,
I was able to load it and scan through it using:
AVS258
AVS260
AVS260_ICL
AVS260_MT
AVSPLUS_x86

So, finally sat down and gave this a good look over.

Now it's time to play with absolutely everything.

And, then, maybe for New Years Resolution, throw in Vapoursynth.


Thanks for all the work, guys!
Only thing left is to look how to add "SVP_258"
AviSynth 2.5.8 (SVP edition)
https://www.svp-team.com/wiki/Download

Should be a walk in the park. maybe.
__________________
Win10 (x64) build 19041
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
Sparktank is offline   Reply With Quote
Old 5th September 2015, 09:38   #30  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Updated the package with a ICL avisynth.dll based on the 2.6 release.
Groucho2004 is offline   Reply With Quote
Old 6th September 2015, 13:06   #31  |  Link
jones1913
random user
 
Join Date: May 2014
Location: #Neuland
Posts: 116
Quote:
I recommend using jones1913 batch file
Quote:
Yep, seems the jones1913 batch is coherent with my registry.
Quote:
Ah, cool!
Finally looked into this whole thing.
I am pleased that you all enjoy my script.
__________________
BeHappy Audio Transcoder > <Doom9 forum> <Gleitz forum> <GitHub>
MP4.tool GUI for MP4Box & L-SMASH muxer > https://www.mediafire.com/folder/3i6y6cbkyhblm/MP4.tool
jones1913 is offline   Reply With Quote
Old 6th September 2015, 17:30   #32  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Updated the package with a new ICL DLL. Some performance issues were fixed.
Groucho2004 is offline   Reply With Quote
Old 9th September 2015, 03:13   #33  |  Link
minaust
Registered User
 
Join Date: Nov 2007
Posts: 185
Quote:
Originally Posted by Groucho2004 View Post
Updated the package with a new ICL DLL. Some performance issues were fixed.
I'd always been led to believe that Intel builds were of benefit only to users of Intel CPUs, AMD users would see no performance improvements. Happily, your ICL builds of Avisynth have most definitely shown that to be false. Thanks!
minaust is offline   Reply With Quote
Old 9th September 2015, 08:01   #34  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by minaust View Post
I'd always been led to believe that Intel builds were of benefit only to users of Intel CPUs, AMD users would see no performance improvements. Happily, your ICL builds of Avisynth have most definitely shown that to be false. Thanks!
Lots of gruesome fairy tales have been written about this issue. An objective and correct analysis was done by Agner Fog.
These issues only arise when using the automatic CPU dispatcher with the Intel compiler. Compiling for a specific instruction set which I did for avisynth.dll will bypass it.
Groucho2004 is offline   Reply With Quote
Old 21st September 2015, 17:01   #35  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Updated the ICL DLL once more. Using SSE2 optimizations yield some performance gain.
Groucho2004 is offline   Reply With Quote
Old 21st September 2015, 22:37   #36  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,094
Does that mean that it will not run on non-SSE2 CPUs any longer?

Cheers
manolito


//EDIT//
Just saw the answer in the other thread, too bad...

Last edited by manolito; 21st September 2015 at 22:40.
manolito is offline   Reply With Quote
Old 21st September 2015, 22:45   #37  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by manolito View Post
Does that mean that it will not run on non-SSE2 CPUs any longer?

Cheers
manolito


//EDIT//
Just saw the answer in the other thread, too bad...
I found a better way. Please re-download the repository. SSE CPUs are supported without sacrificing performance for newer CPUs.

Last edited by Groucho2004; 21st September 2015 at 23:15.
Groucho2004 is offline   Reply With Quote
Old 22nd September 2015, 00:53   #38  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,094
Thanks Groucho, works well...
manolito is offline   Reply With Quote
Old 14th October 2015, 20:32   #39  |  Link
minaust
Registered User
 
Join Date: Nov 2007
Posts: 185
Quote:
Originally Posted by Groucho2004 View Post
I found a better way. Please re-download the repository. SSE CPUs are supported without sacrificing performance for newer CPUs.
Just curious - I re-downloaded the repository the day you posted this. I just checked again and noticed something - the file I downloaded appeats to have a date in the file name of "AvisynthRepository_2015_09_21".

Checking back today I noticed the file name of "AvisynthRepository_2015_09_22". An apparent change of one day. Any change worthy of mention?

Thanks a lot for this.
minaust is offline   Reply With Quote
Old 14th October 2015, 21:25   #40  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by minaust View Post
Just curious - I re-downloaded the repository the day you posted this. I just checked again and noticed something - the file I downloaded appeats to have a date in the file name of "AvisynthRepository_2015_09_21".

Checking back today I noticed the file name of "AvisynthRepository_2015_09_22". An apparent change of one day. Any change worthy of mention?
I discarded the profile guided optimization in the build process of the ICL Avisynth DLL. It's performance gains were very specific to the scripts I used for profiling. In other cases it actually decreased performance.
In short - yes, you should re-download the file or just replace the ICL avisynth.dll with this one.
Groucho2004 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 23:06.


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