Windows Media Player 9 & 10 on Linux with Wine PDF Print E-mail
Written by Tom Wickline   
Wednesday, 26 September 2007 02:49

I'm aware there are many open source multimedia tools that will play most audio and video formats on Linux these days but many people have come to like Windows Media player over the years. And while Xine and Mplayer will play most .WMV .WMA files, both of these players use Windows codecs that are copied into your /usr/lib/win32 directory. So if your currently happy using the closed source Windows Media codecs why not use the player as well.

About Windows Media Player 9

Windows Media Player allows you to play audio and video files locally stored and streamed from the Internet. It includes a visualizer, a jukebox, a media guide, an Internet radio tuner, and CD burner.

tom@tom:~$ winecfg
wine: creating configuration directory '/home/tom/.wine'...
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
wine: '/home/tom/.wine' created successfully.

Now select the Audio tab and set your audio driver, I use OSS and set Hardware Acceleration to "Emulation" If you want to run Wine in a virtual desktop now is a good time to select the Graphics tab and set the size of your preference.

At this time we also need to set quartz.dll and devenum.dll to "Native" this is done in the libraries tab, after you have done this select apply and then ok.

Now you will need to get a native windows quartz and devenum dll and place them in .wine/drive_c/windows/system32 and register the dlls with:

tom@tom:~$ regsvr32 "C:\windows\system32\quartz.dll"
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
Successfully registered DLL C:\windows\system32\quartz.dll
tom@tom:~$ regsvr32 "C:\windows\system32\devenum.dll"
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
Successfully registered DLL C:\windows\system32\devenum.dll
tom@tom:~$

Now we need to install some codecs for Windows Media Player and a good choice is to install "K-Lite Codec Pack" I install the full version, because the installer will let you choose each component, but if you want you can grab one of the other packages.

About: K-Lite Codec Pack

K-Lite Codec Pack is a collection of codecs and related tools. Codecs are required to encode and/or decode (play) audio and video. The K-Lite Codec Pack is designed as a user-friendly solution for playing all your movie files. With the K-Lite Codec Pack you should be able to play 99% of all the movies that you download from the Internet.

Features of K-Lite Codec Pack 3.4.5 FULL version :

• Player :
- Media Player Classic [version 6.4.9.1]
• FFDShow :
- FFDShow [rev. 1475]
- extra plugins
- FFDShow VFW interface
• DirectShow video filters :
- XviD [version 1.1.3]
- DivX [version 6.6.1.1]
- On2 VP6 [version 6.4.2.0]
- On2 VP7 [version 7.0.10.0]
- MPEG-1 / MPEG-2 (Cyberlink) [version 6.0.0.3402]
- MPEG-1 / MPEG-2 (DScaler5) [version 0.0.8.0]
- MPEG-1 / MPEG-2 (Gabest) [version 1.0.0.3]
- MPEG-1 / MPEG-2 (MainConcept) [version 1.0.0.78]
- MPEG-1 / MPEG-2 (Ligos) [version 4.0.0.77]
• VFW video codecs :
- XviD [version 1.2.0-dev build 2006-11-08]
- DivX Pro [version 6.6.1.1]
- x264 [rev. 655]
- Windows Media 9 VCM [version 9.0.1.1184]
- On2 VP6 [version 6.4.2.0] [Encoding]
- On2 VP7 [version 7.0.10.0] [Encoding]
- Intel Indeo [version 5.2562.15.54]
- Intel Indeo [version 4.51.16.2]
- Intel Indeo [version 3.24.15.03]
- Intel I.263 [version 2.55.1.16]
- huffyuv [version 2.1.1 CCE Patch 0.2.5]
- I420 (Helix) [version 1.2]
- YV12 (Helix) [version 1.2]
• DirectShow audio filters :
- MP3 (Fraunhofer) [version 1.9.0.311]
- AC3/DTS/LPCM/MP1/MP2 (AC3Filter) [version 1.30b]
- MP1/MP2 (MainConcept) [version 1.0.0.78]
- Vorbis (CoreVorbis) [version 1.1.0.79]
- AAC (CoreAAC) [version 1.2.0.575]
- MusePack [version 1.0.0.3]
- Monkey's Audio [version 1.00]
- WavPack (CoreWavPack) [version 1.1.0]
- FLAC (illiminable) [version 0.73.1936]
• ACM audio codecs :
- MP3 (Fraunhofer) [version 3.4.0.0]
- MP3 (LAME) [version 3.97]
- AC3 (ffcHandler) [version 1.3.1]
- Vorbis [version 0.0.3.6]
- DivX ;) Audio [version 4.2.0.0]
• DirectShow source filters :
- AVI splitter (Gabest) [version 1.0.0.7]
- AVI splitter (Haali Media Splitter) [version 1.7.121.0]
- MP4 splitter (Haali Media Splitter) [version 1.7.121.0]
- MP4 splitter (Gabest) [version 1.0.0.3]
- Matroska splitter (Haali Media Splitter) [version 1.7.121.0]
- Matroska splitter (Gabest) [version 1.0.2.9]
- Ogg splitter (Haali Media Splitter) [version 1.7.121.0]
- Ogg splitter (Gabest) [version 1.0.0.0]
- FLV splitter (Gabest) [version 1.0.0.1]
- MPEG TS splitter (Haali Media Splitter) [version 1.7.121.0]
- MPEG PS splitter (Cyberlink) [version 1.0.0.4528]
- MPEG PS splitter (Gabest) [version 1.0.0.3]
- MPEG PS splitter (Haali Media Splitter) [version 1.7.121.0]
- MPEG PS splitter (MainConcept) [version 1.0.1.20]
- MPEG PS splitter (Elecard) [version 1.0.31.51211]
- MPEG PS splitter (Ligos) [version 4.0.0.77]
- MP3 Source (DCoder) [version 1.3]
- AC3/DTS Source (AC3File) [version 0.4b]
- SHOUTcast Source [version 1.0.0.1]
- AAC parser (Orban) [version 1.0.27]
• DirectShow subtitle filter :
- DirectVobSub (a.k.a. VSFilter) [version 2.37 + fixes]
• Encoding tools :
- LAME CLI and DLL [version 3.97]
- LameDropXPd [version 3.97]
- OggDropXPd [version 1.8.9 aoTuVb5]
• Tools :
- GSpot Codec Information Appliance [version 2.70a]
- VobSubStrip [version 0.11]
- GraphEdit [build 041201]
- MMCompView [version 1.10]
- AVI Fixed [version 2.0b1]
- FourCC Changer
- Bitrate Calculator

Now that the codec pack is downloaded lets install it

tom@tom:~$ wine klcodec345f.exe
fixme:reg:GetNativeSystemInfo (0x34fea0) using GetSystemInfo()
fixme:process:IsWow64Process (0xffffffff 0x34fe9c) stub!





























I'm now starting to drift.... ;) This is suppose to be about Windows Media Player right?

OK lets head over to the Windows Media Download Center and get Windows Media Player 9 Series (for Windows 98 SE, Me, and 2000)

Don't..... DO NOT install it at this point!

Download and install Microsoft XML Parser (MSXML) and set msxml3 as native, if you dont know the steps to install Microsoft XML Parser refer to this past post.

you will also need to install a native jscript.dll and register it.

tom@tom:~$ regsvr32 "C:\windows\system32\jscript.dll"
Successfully registered DLL C:\windows\system32\jscript.dll
tom@tom:~$

Now lets install windows Media Player 9

tom@tom:~$ wine mpsetup.exe
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
fixme:process:IsWow64Process (0xffffffff 0x33e13c) stub!
fixme:advapi:ParseStringSidToSid String constant not supported: L"DG"













We now need to install MSCAT32.dll and change the version from win2k to winxp and the install should finish.











If you try to set the options/preferences in the player noting will happen, to get around this after the install has completed and the player has run for the first time go back to winecfg and set the version to Windows 98 and install dcom98.exe and then run Windows Media Player in Windows 98 mode and the options/preferences should work.



























What works
Playback,Installer, Skin Chooser, Skins, Visualizations

What does not
Internet Features

If you would like to help improve Windows Media Player 9 please submit bug reports and join in the discussion at the Wine Application DataBase, Windows Media Player 9 entry.

About Windows Media Player 10

Windows Media Player 10.0 includes everything offered by version 9.0 as well as there Digital Media Mall, which gathers several online media stores and services within the player.

Go back to Windows Media Download Center and download version 10.

The only thing I had to do was run $ winecfg and change the emulated Windows version from windows 98 to Windows XP and the player installed without any errors.



















(THE IMAGE BELOW IS A HOOT) :D













What works
Playback, Media Guide,Installer, Skin Chooser, Skins, Visualizations

What does not
Internet Features, Some of the menus have problems

If you would like to help improve Windows Media Player 10 please submit bug reports and join in the discussion at the Wine Application DataBase, Windows Media Player 10 entry.

About Windows Media Player 11

Windows Media Player adds a lot of useful features, succeeding in many ways as a competitor to iTunes. some of the new features include tree-style file directory, a simple search box, a rating system that lets you rate your music. Windows Media Player 11 also has the ability to sign up with paid music and video services without the need to register. This will allow you to browse various sites and compare prices and services.

Go back to Windows Media Download Center and download version 11.

As you will see I could not get Windows Media Player 11 to install at this time, just after agreeing to the EULA the installer abruptly quites and thus far Ive not made much progress past this point. In the future I will certainly try Windows Media Player 11 again to see if the install progresses.





What works
Nothing yet.

If you would like to help improve Windows Media Player 11 please submit bug reports and join in the discussion at the Wine Application DataBase, Windows Media Player 11 entry.


Some Notes

When I installed IE with IEs4Linux and then installed WMP 9 the plugin worked in IE.
Microsoft has released a WMP plugin for FireFox, I could try to install FF and then WMP and see if the plugin works.
Here is a good site for dll files :D

***Feedback, corrections, a better way of doing this... is welcome*** 
Del.icio.us     Digg This!     Furl     Google     Seed Newsvine     Reddit     Slashdot     Stumble It!     Technorati     Yahoo MyWeb

Comments
Add New Search RSS
about
buzdack 2008-11-23 09:40:07

Thanx a lot. It works !!!!!!!!!
f
f 2008-12-19 06:18:07

your instructions make no sense where is step one?
Tom Wickline 2008-12-23 20:08:37

read the post everything is their.....
md5sums for dlls
Dee Ellel 2009-01-20 09:58:28

Could you provide a list of md5sums or sha1sums for the relevant dlls?
WMP11
Dee Ellel 2009-01-20 11:25:16

Oh yeah, see http://bugs.winehq.org/show_bug.cgi?id=10219

" ;The easiest way to go is to have
the installer extract its payload to some temp directory with "wmp11-windowsxp-x86-enu.exe"
/C" commandline.
...
Then you would run "wmfdist11" and "wmp11" from that
directory."

Installed here (with hangs during install), but I'd tried to install WMP10 before
and I now get an error "The file has a version number 11.0.5271.5145 where 10.0.0.3802 was
expected" So I guess killing the installer to get it to finish meant that the install didn't
work properly.
Internal Error
FirewolfX-7 2009-01-25 08:17:21

I get Internal Error for both 9 and 10 what did I do wrong? I run 1.0.1 for now but I will update
wine in the future for games.
Cem ÜNAL 2009-03-17 03:32:10

I install windows media player 10 on pardus linux 2008.2 ( wine-1.1.8 )
But it does not work. I take
this bug http://paste.linux-sevenler.org/index.php?id=32087
So where are the basic instructions Stupid
kalimirch 2009-04-26 20:14:33

Nice article, apreciate your efforts. Now how I launch wmplayer? If I dont find the answer in the
next 5 mins, I'm uninstalling wine ...
Common Sense
Fsalim 2009-07-03 01:45:51

yo kalimirch, you seemed to be just the most ignorant person I have ever seen. "how I launch
wmplayer?"; are you fu**ing retarded? i bet you cannot even uninstall wine if you do not know
how to launch wmplayer,.
Write comment
Name:
Email:
 
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
Text:

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 

Bordeaux Progress

Bordeaux [1.6]
[100%]


Latest Comments

Most Comments

Stats

Statistics

Members : 2
Content : 427
Content View Hits : 831533
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday1272
mod_vvisit_counterYesterday1687
mod_vvisit_counterThis week10138
mod_vvisit_counterThis month6449
mod_vvisit_counterAll625669