VLC won't play .WMA files

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
tamas10
New Cone
New Cone
Posts: 1
Joined: 01 Feb 2008 20:30

VLC won't play .WMA files

Postby tamas10 » 01 Feb 2008 20:45

I have just downloaded and installed the latest VLC version on a WinXP machine. It works fine on everything I tried so far except windows .WMA audio files. These files play just fine with Windows Media Player but not with VLC. Actually, the VLC player shows on the progression-bar that it is playing, however, there is no sound. What am I missing? Is there some "switch" to turn on or are the .WMA files protected by the WMP?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC won't play .WMA files

Postby Jean-Baptiste Kempf » 01 Feb 2008 20:56

--codec dmo
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

c.pergiel
New Cone
New Cone
Posts: 1
Joined: 11 May 2008 15:49

Re: VLC won't play .WMA files

Postby c.pergiel » 11 May 2008 15:57

"If you want an answer to your question, just be specific and verbose. Don't PM."

PM? What the heck is PM?

codec dmo? Is that supposed to be an answer? Just be specific and verbose.

VLC used to work on wma files, back before I installed umpteen different software packages. It still works on most things, just not on wma files.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC won't play .WMA files

Postby VLC_help » 12 May 2008 14:10

PM is a private message, feature of this forum.
viewtopic.php?f=5&t=35859&start=75#p119933
more guidance for DMO. DMO may not work with WMP11.

ferdypanarto
New Cone
New Cone
Posts: 7
Joined: 14 May 2008 07:47

Re: VLC won't play .WMA files

Postby ferdypanarto » 14 May 2008 07:49

is the new one can play WMA?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC won't play .WMA files

Postby VLC_help » 14 May 2008 14:47

You can try nightly builds to see if they play those files that currently won't work.
http://nightlies.videolan.org/

higgshr
New Cone
New Cone
Posts: 3
Joined: 19 Aug 2008 14:18

Re: VLC won't play .WMA files

Postby higgshr » 20 Aug 2008 01:48

I am a newbie and do not have a technical bone in my body so this VLC is an adventure. I cannot play some WMV files either whilst all other files and WMV files are ok. Gleaning from the forums, troubleshooting, the WMV codec which are causing the trouble is: WMA2 - Windows Audio Media V8, WMA2 - Windows Audio Media 9. How do I fix this?

If i need to install a codec, where do i find it and how do I do this?

My dummies guide is gleaned again fom google, please correct before misadventure....
Choose Start>Control Panel and double click Add hardware, then click Next.
Click Yes, I have already connected the hardware and click Next.
Select Audio Codecs in the list of installed hardware.
If you did not have previously any audio codecs installed in the system, you should select Audio Codecs in the list of devices and click Next. This should install support for the needed sound compression schemes. Stop following this procedure at this point.
On the other hand, if you do have support for some audio codecs it is likely that you need to go on with the procedure below.
Choose Add a new hardware device at the bottom of the list and click Next.
Click Install the hardware that I manually select from a list (Advanced), and click Next.
Select Sound, video and game controllers and click Next.
Select (Standard system devices) and click Have Disk.
Click Browse in the Install From Disk dialog box and open the folder C:\Windows\System32.
You should see here mmdriver.inf. Select it and click Open.
Click OK in the Install From Disk dialog box.
If you see a warning about logo compatibility, just click Continue Anyway.

Thank you in advance, long liv VLC!

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC won't play .WMA files

Postby VLC_help » 20 Aug 2008 17:56

I don't think you can only install proper DMO because AFAIK it is tied to WMP version. So if you have latest WMP (WMP 11), you are out of luck if nightlies don't open those file. You could rollback to earlier WMP but I don't suggest it (WMP 9 should work).

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC won't play .WMA files

Postby Jean-Baptiste Kempf » 20 Aug 2008 18:39

VLC_help, have you thought about putting the WMP10 dlls in VLC plugin folder ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC won't play .WMA files

Postby VLC_help » 21 Aug 2008 17:29

AFAIK DMO filters must also be registered using regsvr32 so copying the dlls to VLC plugin folder shouldn't work.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC won't play .WMA files

Postby Jean-Baptiste Kempf » 21 Aug 2008 19:48

Are you sure about that inside VLC ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC won't play .WMA files

Postby VLC_help » 22 Aug 2008 19:13

Yep, you are right. dmo.c lists wvc1dmod.dll, wmv9dmod.dll etc. and it uses GetProcAddress so that dll trick might work.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC won't play .WMA files

Postby Jean-Baptiste Kempf » 22 Aug 2008 19:49

\o/ Have you tried ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC won't play .WMA files

Postby VLC_help » 23 Aug 2008 19:55

My bad. codec_dll decoders_table and codec_dll encoders_table aren't used by default (I emptied both tables, compiled new version and --codec dmo still works). And I should have figured that earlier, because Vista doesn't have for example wmv9dmod.dll, wvc1dmod.dll etc. at all, but DMO decoding still works. I think it uses GUID for locating the right decoder.

Most common error is can't set DMO output type which comes from SetOutputType failing.

Lotesdelere
Cone Master
Cone Master
Posts: 9975
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC won't play .WMA files

Postby Lotesdelere » 30 Aug 2008 04:23

have you thought about putting the WMP10 dlls in VLC plugin folder ?
That's a nice trick, I didn't know about that and yes it's working fine :)

But on my computer it's working only if I copy the DLL's in the main VLC folder where VLC.EXE is, it seems that they can't be loaded from the \plugins folder for some reason.

For instance, I tried with a WMVA video and this codec is not installed on my system.
This is what I got with the DLL copied in the \plugins folder:

Code: Select all

main debug: looking for decoder module: 30 candidates dmo debug: failed loading 'wmvadvd.dll' main debug: using decoder module "dummy"
But it's working fine after I copied the DLL into the main VLC folder:

Code: Select all

main debug: looking for decoder module: 30 candidates dmo debug: DMO input type set dmo debug: DMO output type set dmo debug: GetOutputSizeInfo(): bytes 73728, align 1 main debug: using decoder module "dmo"

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC won't play .WMA files

Postby Jean-Baptiste Kempf » 31 Aug 2008 03:24

Can you add this tip on the wiki and list the correct DLLs ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: VLC won't play .WMA files

Postby Arite » 31 Aug 2008 04:27

But on my computer it's working only if I copy the DLL's in the main VLC folder where VLC.EXE is, it seems that they can't be loaded from the \plugins folder for some reason.
Yes the default location for DLL's need to be in either the same directory as the *.exe, or in "C:\WINDOWS\system32".

Arite.
Don't use PMs for support questions.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC won't play .WMA files

Postby VLC_help » 31 Aug 2008 11:20

Filenames should be listed in dmo.c decoders_table and encoders_table.

Decoders:
wvc1dmod.dll
wmv9dmod.dll
wmvdmod.dll
wmsdmod.dll
wmvadvd.dll
wma9dmod.dll
wmspdmod.dll

Encoders:
wmvdmoe2.dll
wmadmoe.dll

Lotesdelere
Cone Master
Cone Master
Posts: 9975
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC won't play .WMA files

Postby Lotesdelere » 01 Sep 2008 17:32

It doesn't work with MSS2 videos for me.

For instance this video:
http://samples.mplayerhq.hu/V-codecs/MS ... speech.wmv

is playing fine in alternate players like MPC-HC (using the DMO codec which is installed on my system) and also in MPUI/MPlayer using the same trick as VLC does.

As I said the codec is installed on my system but whether I'm using the system codec or I copy the DLL into the main VLC folder it doesn't work. I got this message:

Code: Select all

main debug: looking for decoder module: 30 candidates dmo debug: found DMO: WMV Screen decoder DMO dmo debug: DMO input type set dmo error: can't set DMO output type main debug: using decoder module "dummy"
I've tried with two different versions of WMSDMOD.DLL, v9.0.0.2980 and v10.0.0.3802 and always got the same result.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC won't play .WMA files

Postby VLC_help » 02 Sep 2008 09:14

I woke the MSS2 trac ticket earlier. Same for me.
https://trac.videolan.org/vlc/ticket/750

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC won't play .WMA files

Postby Jean-Baptiste Kempf » 03 Sep 2008 01:40

Interesting
dmo error: can't set DMO output type
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC won't play .WMA files

Postby Jean-Baptiste Kempf » 03 Sep 2008 01:50

Do MMS1 work?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC won't play .WMA files

Postby VLC_help » 03 Sep 2008 12:29

I tested MSS1 support with mms://trog.ni.com/ni/webevents/gsd/introtogsd_fast.wmv and errors are the same.

Lotesdelere
Cone Master
Cone Master
Posts: 9975
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC won't play .WMA files

Postby Lotesdelere » 03 Sep 2008 14:32

Same here and same error message with MSS1 as with MSS2: "dmo error: can't set DMO output type".

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC won't play .WMA files

Postby Jean-Baptiste Kempf » 03 Sep 2008 20:30

ok, then the issue is with this dll
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 56 guests