Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Mandriva Linux Help
Reload this Page Playing Windows Media Files in Mandriva/Mandrake Linux
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Mandriva Linux Help For help and discussion about Mandriva (formally Mandrake) Linux.

Closed Thread
 
Thread Tools Display Modes
Old 12-03-2005   #1 (permalink)
linuxuser40351
Linux Newbie
 
Join Date: Oct 2005
Location: Lakewood, WA
Posts: 112
Send a message via MSN to linuxuser40351
Playing Windows Media Files in Mandriva/Mandrake Linux

One problem that I have seen a "ton" of people have with Linux is getting their Windows media files to play, or getting DVDs to play past the first scene. Most of the time the answers posted involve compiling the source code for mplayer which can be a little confusing for people who are new to Linux. Thanks to the command line implementation of Mandriva Linux's package management system known as "urpmi" you can solve your problems in a few easy steps without having to compile anything. Just follow these steps and you will be playing your DVDs and Windows media movies in no time. Keep in mind that you do not have to use mplayer, all of these codecs also work for Kaffeine if you prefer to use it. For a few special instructions pertaining to Xine player please skip to the bottom of this article.

1) To perform these operations you need to open the command line (don't be scared it doesn't bite) and type "su". You will be prompted for the root password that you set when you installed Linux, assuming you set one. This gives you root permissions needed to perform the steps that follow.

Note:It has come to my attention that from time to time when trying to follow these steps, users are greeted with a message telling them that their urpmi database is locked. If this happens to you then you need to run these two commands in konsole (with root permissions of course):
Code:
rm -f /var/lib/urpmi/.LOCK
and
Code:
rm -f /var/lib/urpmi/.RPMLOCK
This should unlock your urpmi database, if it doesn't work right away you may need to restart your computer in order for the proper services to restart. You may also get this message even after doing this, this may occur if you try to run two installations at one time.

2) Go to this website and select your version of Mandrake/Mandriva Linux and follow the instructions to install every package listed.
Here is the website

3) If you want to use mplayer finish this step, if not skip to step 4. Run
Code:
urpmi mplayer-gui
This is the graphical user interface for mplayer. It should ask your permission to install some additional needed packages. Just agree to them, by jumping ahead to installing the gui you skip having to run individual commands to install the key program files for mplayer because it does it automatically.

4) This plugin works regardless of whether you install the mplayer gui or not. If you want to use Kaffeine or another movie player instead of mplayer then I still recommend you install the Mozilla Firefox plugin for mplayer. It allows you to view/listen to embedded media files. To do this run
Code:
urpmi mplayerplugin
This also will ask your permission to install additional packages, agree. It will install the core mplayer program files and the firefox plugin, but will not install the gui so it will not be added to your applications menu.

5) Run
Code:
urpmi win32-codecs
This installs the win32 codecs needed to play Windows media files (.wma and .wmv files), .avi files, .mov files, etc.

6) Run
Code:
urpmi libdvdcss
A lot of the time people cannot get DVDs to play past the first scene. This command installs the DVD playback package that allows you to properly watch DVD movies, assuming you have a DVD drive.

7) If you want to use your media player to view REAL media, then run
Code:
urpmi real-codecs
This installs the Real media codecs required to play REAL media. Usually they are installed to /usr/lib/real. If you want to use RealPlayer, which is still necessary for viewing embedded Real files like the ones on weather.com, then you can download the Linux version at www.realplayer.com. Scroll down for instructions on installing it.

I personally use Xine player, I like its interface better than that of mplayer. If you would like to use Xine then you need to follow these steps.

1) Run
Code:
urpmi xine-ui
This installs the graphical user interface for Xine along with the core program files. It will ask your permission to install the required packages, agree.

2) Run
Code:
urpmi xine-win32
This is the same thing as win32-codecs, but a special package that Xine player needs. All of the other packages previously mentioned are universally compatable with Kaffeine, MPlayer and Xine.

Real Player Installation Instructions
Go here and download the Linux version of Real Player, it should come as a .bin file. After it finishes downloading open the command line and direct yourself to the download location using "cd". For example if I wanted to direct myself to my home directory I would type "cd /home/marcus". In KDE you can right click the folder and go to actions, then click "Open Terminal Here" as a shortcut, which is kind of convenient if the folder's path has a space in it because cd doesn't work with path names like these as default. After you're directed to the folder type "ls" and make sure the file is there. This is what mine looks like. After making sure you're in the right place you need to enter root by typing "su". Then you need to give yourself permission to execute the file by typing:
Code:
chmod a+x filenamehere
Then to execute the file type:
Code:
./filenamehere
The installation process after this is pretty self explanatory because it guides you and prompts you as necessary, and the plugin files usually go to the default folder of /usr/lib/mozilla/plugins, unless you specify otherwise.

I have also noticed that some people want to use the tarball version of Firefox available for download instead of the pre-packaged version so that updates come from Mozilla instead of Mandriva, but your plugins don't necessarily carry over and work. The tarball version of Firefox runs right out of the box, no compiling is necessary, just extract it and run the executable named "firefox" in its folder. To get your plugins to work all you need to do is browse to /usr/lib/mozilla/plugins and copy all of the files in there into the plugins folder located in your new Firefox folder. The only plugin you don't need to copy is the one named "libnullplugin.so". Then you need to browse to the installation path of your packaged firefox installation and open its plugins folder, then copy the files from there to the plugins folder in your new Firefox folder as well. Most of the time the installation path for the pre-packaged Firefox is /usr/lib/mozilla-firefox or /usr/lib/firefox-x.x.x where x is the version of the original installation, regardless of whether is accurate or not. This should make all of your plugins work fine in your new Firefox. You may now notice that if you try to remove the pre-packaged version of Firefox with "urpme mozilla-firefox" it will warn that it will also remove the mplayerplugin package, don't worry. Even if you remove these packages, as long as the mplayerplugin files were copied into the plugins folder of your new Firefox, it will still work just fine.

I hope this helps answer this question. I have seen it arise quite often and decided it was time for an "answer all questions" sticky on the topic.
linuxuser40351 is offline  
Old 12-21-2005   #2 (permalink)
dlippiett
Just Joined!
 
Join Date: Oct 2005
Location: USA, PA
Posts: 57
Send a message via AIM to dlippiett Send a message via Yahoo to dlippiett
when i ran mandrake 9- 10.1 i used Xine with the win32 codec...i was able to urpmi the entire thing...even had it playing DRM protected windows media files <grabs the cattle branding rod an brands Bill Gates bum with Tux> most of the Xine files and codecs i was able to get from <looks it back up again since i havent been there in over a year> rpmfind.net (theres 2 or 3 others i cant think of that i used, but all were extremely easy to search through) it took me about 5 to 10minutes...and at that time my experience on mandrake/mandriva as its now called was slim to none...ive never had any one teach me any thing about computers (as of yet...tech school is calling my name to get certifications ) i learned every thing i know from my own errors/mistakes and this message board which has helped me across a couple problems i used to have...forgot that U/N and P/W tho...

EDIT: rpm.pbone.net that was about the best one i used it just hit me as im getting ready to install gentoo...go figure
__________________
Linux Registered user # 388809
AMD Athlon XP 2600+ K7VT4A pro MB, 1 gig ram, Slackware 10.1...Imac G3 400dv 512mb ram w/Debian 3.1r04...Dual AMD Athlon MP 2000's 512mb ram, fedora core 6
dlippiett is offline  
Old 01-04-2006   #3 (permalink)
ligne
Just Joined!
 
Join Date: Jan 2005
Posts: 39
Any idea what the corresponding thing in linux is for Winamp, so as to play video files? with .nsv extentions?
ligne is offline  
Old 01-22-2006   #4 (permalink)
eng_barakat
Just Joined!
 
Join Date: Jun 2005
Posts: 10
thanx too much

im testing it

molto grazia
eng_barakat is offline  
Old 01-22-2006   #5 (permalink)
eng_barakat
Just Joined!
 
Join Date: Jun 2005
Posts: 10
Red face urpmi databased is locked

hello all

sorry i try ur way here

but after some steps he says urpmi database is locked

how to open it ??????

thanx in advanced
eng_barakat is offline  
Old 01-23-2006   #6 (permalink)
linuxuser40351
Linux Newbie
 
Join Date: Oct 2005
Location: Lakewood, WA
Posts: 112
Send a message via MSN to linuxuser40351
Quote:
Originally Posted by eng_barakat
hello all

sorry i try ur way here

but after some steps he says urpmi database is locked

how to open it ??????

thanx in advanced
Here is the solution to your problem, just make sure you're in root permissions when you run those commands. I found that with a quick google search, it was the first English response I came to, if it doesn't work then you can just do what I did and google "Locked URPMI Database".
linuxuser40351 is offline  
Old 01-23-2006   #7 (permalink)
linuxuser40351
Linux Newbie
 
Join Date: Oct 2005
Location: Lakewood, WA
Posts: 112
Send a message via MSN to linuxuser40351
Quote:
Originally Posted by ligne
Any idea what the corresponding thing in linux is for Winamp, so as to play video files? with .nsv extentions?
I don't believe that format is fully supported, I did a quick google search and found someone in a forum who said so, but if you like you could run another google search for something along the lines of "NSV Codecs for Linux" and see what you can find. I've never used this format so I've never looked for codecs for it, sorry I couldn't be of more help.
linuxuser40351 is offline  
Old 01-23-2006   #8 (permalink)
linuxuser40351
Linux Newbie
 
Join Date: Oct 2005
Location: Lakewood, WA
Posts: 112
Send a message via MSN to linuxuser40351
Quote:
Originally Posted by eng_barakat
thanx too much

im testing it

molto grazia
Not a problem, always willing to help any way I can.
linuxuser40351 is offline  
Old 01-24-2006   #9 (permalink)
linuxuser40351
Linux Newbie
 
Join Date: Oct 2005
Location: Lakewood, WA
Posts: 112
Send a message via MSN to linuxuser40351
Locked URPMI Database

In response to the locked URPMI database problem I have written a small shell script available on the "Programs Download Page" of my website at http://www.marcusadams.4t.com . It will automate the removal of the folders necessary to unlock your URPMI database. I got the idea from the guy in the google link but didn't want to use somebody else's thing just in case he's touchy about that kind of thing, so I wrote my own to share with you guys.
linuxuser40351 is offline  
Old 01-31-2006   #10 (permalink)
Phrogg
Just Joined!
 
Join Date: Feb 2005
Posts: 7
Thumbs up Thank You

Hello. I followed the instructions at the top of the page to the letter and had no problems. Thanks so much. My DVDs and .wma files will play now.
Phrogg is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 07:34 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0