Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Codec Discussion > Wmv Plugin For Virtualdub


Posted by: Philiwily Feb 24 2010, 11:55 PM
I'm trying to use the VirtualDub WMV plugin (2.0) on VDub 1.9. I followed the instructions and put the plugin in the plugin folder, but anytime I import a WMV file, I get a black screen. If I export the file, it's all black, and just says missing codec. Help is greatly appreciated as this has been bugging me for ages. sad.gif

Posted by: fredgiblet Feb 25 2010, 01:58 AM
You need to grab the ffdshow codec (http://ffdshow-tryout.sourceforge.net/download.php) and go into the vfw configuration for it and set the wmv and vc-1 options from disabled to libavcodec.

Posted by: Solstice Mar 5 2010, 02:35 AM
That helped me to see the video, but now I'm having trouble with the audio: "No audio decompressor could be found to decompress the source audio format (source format tag: 0161)"

What settings do I need in order to get the audio, too?

Posted by: fredgiblet Mar 5 2010, 02:48 AM
You need to install this: http://www.afreecodec.com/codecs/0x0161/

Posted by: Solstice Mar 5 2010, 02:52 AM
I downloaded it, but I still get the error. What configuration settings do I need to use?

Posted by: fredgiblet Mar 5 2010, 03:53 AM
I think that was the wrong one, try this one: http://www.videohelp.com/tools/DivX_WMA_Audio

Posted by: Solstice Mar 5 2010, 04:00 AM
Still no...

Unless I installed it wrong...

Posted by: Jam One Mar 5 2010, 03:49 PM
...now go tell us you've got 64 bit OS...

Posted by: Solstice Mar 6 2010, 12:05 AM
I guess I should have mentioned that in the first place...

:\

Well if that's the problem, then poop.

Posted by: Philidor Apr 6 2010, 12:36 PM
So 32-bit VirtualDub on a 64-bit machine can't convert a WMV file with audio? Just making sure.

Windows Live Movie Maker produces output with WMA v2, per GSpot, so it's not an ancient hack. Some other converters can get from WMA to mp3, and I'm still hoping.

Posted by: fredgiblet Apr 6 2010, 06:23 PM
"So 32-bit VirtualDub on a 64-bit machine can't convert a WMV file with audio?"

32-bit VDub can, 64-bit VDub can't convert the audio but it can convert the video and direct stream copy the audio.

"Windows Live Movie Maker produces output with WMA v2"

Well...yes...because it's an MS product and thus has official codecs. They don't have an official codec available that uses ACM and ffdshow doesn't support it (at least not in the 64-bit version, not sure about 32-bit), the only ACM codec that I'm aware of that gives support for it is a 32-bit hack that wasn't open-sourced.

Posted by: Philidor Apr 7 2010, 11:31 PM
Too bad. Most wmv files I've encountered have wma v2 audio, and if I understand you there's no audio decoder for that format in either 32-bit or 64-bit available to VirtualDub.

Posted by: fredgiblet Apr 8 2010, 12:06 AM
QUOTE (Philidor @ Apr 7 2010, 11:31 PM)
if I understand you there's no audio decoder for that format in either 32-bit or 64-bit available to VirtualDub.

You don't, 32-bit VDub CAN handle WMA v2 with a third-party codec. There just hasn't been a 64-bit version of the codec made (to my knowledge), and since the codec wasn't open-sourced anyone looking to port it would need to reverse-engineer the whole thing. So as long as you stick with 32-bit VDub (and there's no real reason not to) you'll be fine.

Posted by: DarrellS Apr 8 2010, 09:59 AM
DivX audio codec for 32 bit Virtualdub.

Posted by: Philidor Apr 11 2010, 02:50 PM
I appreciate your help.

The problem is 0x0161 is two separate codecs. One is an ancient divx-related hack, and nothing on the web before, say, 2008/2009 is useful because they refer to getting this hack to play. The other is a newer Microsoft encoder, and that's the one VirtualDub refuses to recognize.

To obtain a file with the problem, just run any video through Windows Live Movie Maker. It'll play and the video will be handled in VirtualDub, but the sound is unrecognized.

I thought that the problem might be I'm using Shark007's codecs for Windows 7 and 64-bit, but reconfiguring and removing them doesn't help. I have the AC3 filter recommended above installed separately.

If you can play a wmv (with wma v2) movie with sound in VirtualDub, does File Information say what codec it's using?

Thanks for your patience, too.

Posted by: Jam One Apr 11 2010, 06:29 PM
""""does File Information say what codec it's using?"""""

It says literally

ACM codec (tag): Windows Media Audio V2 (0x0161)

I have no idea which of ACMs is opening it over here. All I can remember, I uninstalled fccHandler's AC3-ACM prior to getting WMA-V2 back to work.

Sorry, fccHandler! Either this codec was causing some conflicts, or other soft was not friendly to this codec, but... In Control Panel -> Audio -> Devices -> Properties opening this AC3-ACM's settings dialog always caused several other codecs to disappear from list. So, I removed it. And later on I discovered VD is able to play WMA-V2 again.

G-Spot reports quarz.dll -> msaud32.acm and msadds32.ax as being responsible for WMAudioV2.
G-Spot also shows qasf.dll -> wmadmod.dll -> quartz.dll as a decoder chain to play the files.

Posted by: DarrellS Apr 12 2010, 05:49 AM
QUOTE (Jam One @ Apr 11 2010, 11:29 AM)
""""does File Information say what codec it's using?"""""

It says literally

ACM codec (tag): Windows Media Audio V2 (0x0161)

I have no idea which of ACMs is opening it over here. All I can remember, I uninstalled  fccHandler's AC3-ACM prior to getting WMA-V2 back to work.

Sorry, fccHandler! Either this codec was causing some conflicts, or other soft was not friendly to this codec, but... In Control Panel -> Audio -> Devices -> Properties opening this AC3-ACM's settings dialog always caused several other codecs to disappear from list. So, I removed it. And later on I discovered VD is able to play WMA-V2 again.

G-Spot reports quarz.dll -> msaud32.acm and msadds32.ax as being responsible for WMAudioV2.
G-Spot also shows qasf.dll -> wmadmod.dll -> quartz.dll as a decoder chain to play the files.

fcchandler's AC3-ACM has nothing to do with WMA. If you have AC3-ACM chosen to open WMA (and other audio types) then that is your error, not fcchandler's.

Virtualdub reports wma1 and 2 audio as DivX audio and uses DivX Audio codec to decode wma1 and wma2.

On my PC, GSpot uses DMO WMAudio Decoder DMO to decode WMA. Virtualdub does not.

If you are able to open wma1 and 2 in VDub then you must have either DivX WMA Audio Codec or DivX 3.11 installed on your machine.



I assume you also need to be running Virtualdub 32 bit with all the 32 bit plugins and codecs.

Posted by: Jam One Apr 12 2010, 04:03 PM
QUOTE
you must have either DivX WMA Audio Codec or DivX 3.11 installed on your machine.

Neither.

Whatever the AC3-ACM had been chosen for, it was not the reason to "quarrel" with other codecs.
I have no idea of what was going on in my Direct Show filtergraphs, nor I am going to study it in deep right now "who was responsible for what".

...Anyways... I just answered the Philidor's question directly... I don't have mine.

WindowsMedia never was a format of my workflow, I never cared much about it, I "kinda believe" the WMA V-whatever is supposed to be supported by Windows somehow.


P.S.: Oh, one more thing for those wishing to investigate it all: I have just recalled I also reinstalled Windows Media Player 11 prior to seeing WMA-V2 in VirtualDub back again.
...So... I'll never know =)

Posted by: Philidor Apr 12 2010, 07:52 PM
Thanks for the information.

Interestingly, using a newly made Movie Maker file to avoid the DivX-related files, G-Spot gives me:

- - Type DSH
- - Function Decoder
DSH 4CC FmtTag: 0x0160
DSH Friendly Name WMAudio Decoder DMO
DSH DirectShow CLSID {2EEB4ADF-4578-4D10-BCA7-BB955F56320A}
FIL File Description Windows Media Audio Decoder
FIL Company Name Microsoft Corporation
FIL File Version 6.1.7600.16385 (win7_rtm.090713-1255)
FIL Internal Name wmadmod.dll
FIL Legal Copyright © Microsoft Corporation. All rights reserved.
FIL Original Filename wmadmod.dll
FIL Product Name Microsoft® Windows® Operating System
FIL Product Version 6.1.7600.16385
REG Driver File C:\Windows\SysWOW64\WMADMOD.DLL
REG Merit 0x00800800

The wmadmod.dll matches with the information provided.

When I try the G-Spot side, it says G-Spot is unable to render this sort of file. Try the Microsoft side.

If wma v2 plays, does the G-Spot side show an audio codec? I'd expect VirtualDub to be using something else.

Something to try to figure out.

Posted by: Jam One Apr 12 2010, 08:51 PM
I still believe it's a Windows component that opens the files:

http://img18.imagevenue.com/img.php?image=05064_msacm.msaud1_122_428lo.jpg

- Take a look at the marked WMMEDIA_SUBTYPE_WMAudioV2

My system registry has got a key under "Drivers32":
msacm.msaudio1 REG_SZ msaud32.acm

No more ACMs in sight.

So, isn't it a matter of Windows configuration ?...

By the way, have you got WMP-11 installed?

__
Update: Here's the code from my registry, just in case.
CODE

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
"msacm.msaudio1"="msaud32.acm"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc]
"msaud32.acm"="Windows Media Audio"

Posted by: Philidor Apr 12 2010, 09:39 PM
WMP-12.

No msaud32.acm in this 64-bit computer.

Nothing "msaud" in the registry that doesn't concern Audits.

Might be a (disappointing) solution.

Nothing on the GSpot side for playing the audio on your computer? Just confirming.

Posted by: Jam One Apr 13 2010, 10:30 AM
Well, I'm lacking knowledge about 64bit codecs.
A wild and obvious assumption is you need some "msaud64.acm" ... smile.gif smile.gif smile.gif

QUOTE
Nothing on the GSpot side for playing the audio on your computer?

- Do I understand you right, you're asking whether GSpot can play the audio by itself ?
If I understood you right - no, it can't be, GSpot can't play anything without OS's decoders.

---

Do you have Windows Media Encoder installed?
I have WME-9.


Posted by: Philidor Apr 13 2010, 12:14 PM
The bottom of GSpot 2.70a is called Proposed Codec Solutions and Tests. It's divided into MS and GSpot (non-MS) solutions, say ffdshow. GSpot is divided into video and audio.

I'd thought WME was incorporated into the Player, but maybe it is a way to get older files onto the computer. Thanks.

Tested. Neither the 32 nor 64-bit versions add anything useful to solve the problem. Not easy uninstallation.

May have been part of the earlier WMP installation. Can the file be pasted in if it were available?

Posted by: Jam One Apr 13 2010, 09:19 PM
QUOTE (Philidor @ Apr 13 2010, 03:14 PM)
The bottom of GSpot 2.70a is called Proposed Codec Solutions and Tests.  It's divided into MS and GSpot (non-MS) solutions, say ffdshow.  GSpot is divided into video and audio.

QUOTE
The bottom of GSpot 2.70a is called Proposed Codec Solutions and Tests.  It's divided into MS and GSpot (non-MS) solutions, say ffdshow.  GSpot is divided into video and audio.

But this info had been provided before:
qasf.dll -> wmadmod.dll -> quartz.dll

But. This is about DirectShow, not about AudioCompressionManager which is a part of VFW API.

Regarding ACMs - as I also said before - GSpot reports "quarz.dll -> msaud32.acm" as registered filters in OS to deal with WMAudio.

Posted by: Philidor Apr 13 2010, 10:01 PM
On my computer, wmadmod.dll is identified on the MS side under right click (on the working solution) / item details, but press 1 and the GSpot/A says it's unable to render. If I understand you correctly, your GSpot/A says either wmadmod.dll or msaud32.acm.

If msaud32.acm is what VirtualDub needs, I was wondering whether that could be installed by itself.

WME was worth trying because under User Data GSpot shows the audio as 9.2.

At any rate, seems now that on 64-bit Windows 7 it's easier to convert a wmv to avi/mp3 outside VirtualDub.

Posted by: Andrew03 Apr 29 2010, 02:22 PM
Hello,
I'd like to convert wmv to avi.

I can't open wmv file: http://i44.tinypic.com/2wpky2r.jpg

What is the problem?

Thank you in advance!

Posted by: Oxyandy Apr 29 2010, 02:29 PM
That is version 1.6.19 really old
try updating first, see if that helps

http://virtualdub.sourceforge.net

Posted by: Oxyandy Apr 29 2010, 02:41 PM
Also there is a WMV import plugin here
http://fcchandler.home.comcast.net/~fcchandler

as well, you may find parts of this post helpful
http://forums.virtualdub.org/index.php?act=ST&f=2&t=18541&hl=

Posted by: Andrew03 Apr 29 2010, 03:23 PM
I didn't found latest version (virtuldub mpeg2) and I can't update.
Is virtualdub 1.9.9 version good, too?

Posted by: Oxyandy Apr 29 2010, 03:25 PM
virtualdub 1.9.9
is what you want

http://downloads.sourceforge.net/project/virtualdub/virtualdub-win/1.9.9.32817/VirtualDub-1.9.9.zip?use_mirror=nchc

Posted by: Andrew03 Apr 29 2010, 03:53 PM
I installed Virtualdub 1.9.9. version and ffdshow. ffdshow was set how the picture shows.
I wanted to open wmv file while constructing ASF index block and I got this message:


VirtualDub Error

ASF: Unhandled Replicated_Data_Length 0 in packet at 104856909

Posted by: Oxyandy Apr 29 2010, 05:09 PM
that sounds like corruption in the file..
I assume is downloaded from the net...
other files open ok ?

Posted by: Andrew03 Apr 29 2010, 05:28 PM
I converted other wmv file and I played converted avi file in BSplayer but video isn't good. There isn't video, there is only audio.

Posted by: Oxyandy Apr 29 2010, 05:40 PM
Well, what codec were you using to save video as ?
I suggest Xvid (default settings)
How did original file play ?

With the corrupt file...
You could try Windows Movie Maker,
choose import video,
then drag to timeline,
then finish movie,
save to my computer,
choose save location,
show more choices,
other settings,
save as DV-AVI

then these saved files are openable in VirtualDub for further editing..

If you do not already have Windows Movie Maker,
Windows Movie Maker 2.1 (XP)
http://www.brothersoft.com/windows-movie-maker-download-76169.html

Windows Movie Maker 2.6 (VISTA +)
http://www.brothersoft.com/windows-movie-maker-download-67210.html

Posted by: Andrew03 Apr 29 2010, 06:40 PM
I use mega code pack but i also tried xvid codec. There isn't still video, just audio.

Posted by: Oxyandy Apr 30 2010, 07:52 AM
Can you provide a bit more detail, please..
It seems now you are able to open wmv files fine..
What happens next ?
Do they play ok in VirtualDub ?


Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)