PDA

View Full Version : Vista 64bit - VirtualDub, audio codecs


1942
22nd June 2007, 20:28
Hello!

VirtualDub (1.7.2) works fine on Vista Ultimate 64bit. But i have very few audio codecs to compress my videos with. I have installed LAME but it does not show up in the codec list. The list for MPEG Layer-3 is empty (yes i have checked "Show all formats").

Can anyone help me? Or link to never versions?

Thanks! :)

LoRd_MuldeR
22nd June 2007, 20:53
64-Bit application can not load 32-Bit DLLs.
So I guess the 64-Bit build of VirtualDub will need a 64-Bit build of the LAME ACM Codec...

1942
22nd June 2007, 23:22
Im using the 32-Bit version of VirtualDub. But still no (very few) codecs.

LoRd_MuldeR
23rd June 2007, 00:28
Download the latest LAME ACM Codec here:
http://www.rarewares.org/files/mp3/lameACM-3.98b3.zip

Unzip everything to some folder, right-click the 'LameACM.inf' and choose 'Install'.
In case it still doesn't show up in the 32-Bit version of VirtualDub, then it's some Vista specific problem I guess...

1942
23rd June 2007, 14:24
Nopp, same result :(

LoRd_MuldeR
23rd June 2007, 14:41
Maybe 64-Bit Vista doesn't like 32-Bit ACM Codecs for some reason.
I really don't know...

1942
24th June 2007, 05:50
Okay, thanks for your help Mulder! :)
I guess i just have to wait for a 64-bit driver then.

squid_80
24th June 2007, 08:41
I've said it before and I'll say it again: You can't install 32-bit software on 64-bit versions of windows by right-clicking inf files and choosing install. The inf file doesn't state that the software is 32-bit, the OS tries to install it as 64-bit and fails. Look for an exe installer.

LoRd_MuldeR
24th June 2007, 14:16
Maybe he can add it by hand with Regedit?

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
"msacm.lameacm"="LameACM.acm"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc]
"LameACM.acm"="Lame ACM MP3 Codec"

Of course the 'LameACM.acm' and 'lame_acm.xml' would have to be copied to "%WINDIR%\SYSTEM32" too...

Tagert
24th June 2007, 15:05
This info came along the lagarith codec which helped me install various 32bit codecs on windows xp x64, not sure if it's the same in Vista, but worth a try :)

"Installing the 32bit version on Windows 64
Extract all the files to a folder
Open up a command prompt (start->run: cmd)
Change directories to sysWOW64 ("cd C:\windows\syswow64")
Type the following (replace example_path with the actual path to the extracted files), then hit enter: rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 0 c:\example_path\lagarith.inf
This method can also be used for installing other 32bit codecs such as Huffyuv that install via a .inf file."

squid_80
25th June 2007, 04:36
Maybe he can add it by hand with Regedit?

NOOO, not using that info; 32-bit programs have their own section of the registry. Also nothing to do with 32-bit programs should go in %windir%\system32, all 32-bit stuff belongs in %windir%\syswow64.


The method given by Tagert should work but a lot of people seem to have trouble with it, make sure the steps are followed exactly and it should be okay.

1942
26th June 2007, 02:16
Tagert, the method you mentioned worked like a charm! :D
LAME MP3 does now show up in virtualdub, thank you

Thanks to all for their help too :)

burfadel
26th June 2007, 05:59
NOOO, not using that info; 32-bit programs have their own section of the registry. Also nothing to do with 32-bit programs should go in %windir%\system32, all 32-bit stuff belongs in %windir%\syswow64.


The method given by Tagert should work but a lot of people seem to have trouble with it, make sure the steps are followed exactly and it should be okay.

Thats very true! however some programmes just don't like being anywhere but system32 :) I assume its because of bad programming (not taking 64 bit in to account). An example of this is Shockwave. You have to install once (error appears), then copy the Marcomed folder folder from syswow64 to system32, then install again (install works and shockwave then works).

I don't use lame anymore, but I do know an old install script worked (acm showed) whereas a newer one didn't.

Here is an older script that works, but does require a manual command line as well:

First copy the following into notepad and save as lameacm.inf:
(it is a little different to some scripts)
; Lame codec
; enable MP3 compression in Windows

; Usage : right-click on this file and choose "Install" in the pop up menu

[Version]
Signature = "$CHICAGO$"
Class = MEDIA

[SourceDisksNames]
1="Lame MP3 Install Disk",, 0001

[SourceDisksFiles]
LameACM.inf=1
LameACM.acm=1
lame_acm.xml=1

[Installable.Drivers]
lameacm = 1:LameACM.acm, "msacm.lameacm", %DisplayNameWin% , , ,

[DefaultInstall]
CopyFiles = LameACM.Copy,LameACM.Copy.Inf
Updateinis = LameACM.Updateini
;addreg = LameACM.AddReg,LameACM.AddReg9x,LameACM.DoReg
addreg = LameACM.AddReg,LameACM.AddReg9x
MediaType = SOFTWARE

[DefaultInstall.ntx86]
CopyFiles = LameACM.Copy,LameACM.Copy.Inf
;addreg = LameACM.AddReg,LameACM.AddRegNT,LameACM.DoReg
addreg = LameACM.AddReg,LameACM.AddRegNT
MediaType = SOFTWARE

[Remove_LameMP3]
;AddReg = LameACM.Unregister
DelReg = LameACM.DelReg
DelFiles = LameACM.Copy,LameACM.Copy.Inf
UpdateInis = LameACM.UpdateIni

[LameACM.Copy]
LameACM.acm
lame_acm.xml

[LameACM.Copy.Inf]
LameACM.inf

[LameACM.UpdateIni]
system.ini, drivers32,,"msacm.lameacm=LameACM.acm"

[LameACM.AddReg]
HKLM, "Software\Microsoft\Windows NT\CurrentVersion\Drivers32","msacm.lameacm",,"LameACM.acm"
HKLM, "Software\Microsoft\Windows NT\CurrentVersion\Drivers.desc","LameACM.acm",,%DisplayNameWin%


[LameACM.AddReg9x]
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\msacm\msacm.lameacm,Description,,%DisplayNameWin%
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\msacm\msacm.lameacm,Driver,,LameACM.acm
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\msacm\msacm.lameacm,FriendlyName,,%DisplayNameWin%
HKLM,%UnInstallPath%,DisplayName,,%DisplayNameWin%
HKLM,%UnInstallPath%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection Remove_LameMP3 132 %17%\%InfFile%"

[LameACM.AddRegNT]
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers32","msacm.lameacm",,"LameACM.acm"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc","LameACM.acm",,%DisplayNameWin%
HKLM,%UnInstallPath%,DisplayName,,%DisplayNameWin%
HKLM,%UnInstallPath%,UninstallString,,"%11%\rundll32.exe setupapi,InstallHinfSection Remove_LameMP3 132 %17%\%InfFile%"

;[LameACM.DoReg]
;HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"Lame ACM MP3 Codec",,"%11%\regsvr32.exe /s %11%\LameCom.acm"

[LameACM.DelReg]
HKLM,"SYSTEM\CurrentControlSet\Control\MediaResources\msacm\msacm.lameacm"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc","LameACM.acm",,""
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers32","msacm.lameacm",,""
HKLM,%UnInstallPath%

;[LameACM.Unregister]
;HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup","Lame ACM MP3 Codec",,"%11%\regsvr32.exe /s /u %11%\LameCom.acm"

[DestinationDirs]
DefaultDestDir = 11 ; LDID_SYS
LameACM.Copy = 11
LameACM.Copy.Inf = 17

[Strings]
InfFile="LameACM.inf"
DisplayNameWin="Lame ACM MP3 Codec"
UnInstallPath="Software\Microsoft\Windows\CurrentVersion\Uninstall\LameACM"
MediaClassName="Media Devices"
mfgname="Steve Lhomme"



Then run this command:

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 C:\LameACM.inf

or replace c:\lameacm.inf with the correct location. c:\ is the easiest, and doesn't require quotes like longer names.

This works perfectly on x64, and it shows correctly under the control panel 'Sound and audio devices' etc etc.

burfadel
26th June 2007, 06:02
This info came along the lagarith codec which helped me install various 32bit codecs on windows xp x64, not sure if it's the same in Vista, but worth a try :)

"Installing the 32bit version on Windows 64
Extract all the files to a folder
Open up a command prompt (start->run: cmd)
Change directories to sysWOW64 ("cd C:\windows\syswow64")
Type the following (replace example_path with the actual path to the extracted files), then hit enter: rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 0 c:\example_path\lagarith.inf
This method can also be used for installing other 32bit codecs such as Huffyuv that install via a .inf file."

Some install scrips for lame don't work using that method :) also for some reason 132 works better than 0 (what does that option do, anyone know?)

foxyshadis
26th June 2007, 19:19
Describled in the chart on this MSDN page (http://msdn2.microsoft.com/En-US/library/aa376957.aspx).