LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-25-2007, 02:02 PM   #1
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Rep: Reputation: 33
Not able to play DVD smootly / how to get wma to work?


Hi

I have a couple of problems and i would appericiate any help to this.


#1
I have problem with playing DVDs in Fedora Core 6. I have installed mplayer and vlc, they both run fine and im able to play for ex. DVDs, but when a DVD is playing in either vlc or mplayer its lagging, does someone know how to fix that so the DVD is running smoothly and not lagging?

#2
I have a buddy who is using linux with the distribution elive. This distribution have built-in support so you can play netradios that is using windows media player. He thinks the distribution is crashing a little to much and may want to change to another distribution, but i he dont wanna change unless netradios with windows media player is working in the other linux distribution.

I know you can install vlc and mplayer with win32 codecs, but eventhough ive have installed it as described in the manual, i cannot get the netradios that is using windows media player to work in fedora core 6, i get no sound and the message "You need to install windows media player ..". I think i read on the net (in these forums) that these win32 codecs will pretty much only work with windows media 9 (i have no reference to this thread where i read this), so then its kind of a wonder how its working in elive. I have anyway not got it working.


Does someone know how to fix these problems?
 
Old 01-25-2007, 02:13 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
#1 make sure you are using proper display drivers for your card; the file where they are configured in is /etc/X11/xorg.conf for Fedora 6 I suppose. See section "Device" for the driver; it ought to be something different than vesa, for example ATI radeons it's radeon or if you've installed 3d drivers, fglrx. Or for nvidia cards, nv if you've got the drivers. vesa means sluggish playback. Another thing to make sure is that you have libdvdcss2 installed; I'm not sure if it affects the playback except that some movies you buy might not play in your Fedora unless you've got it installed.

#2 Find out what exactly is in the other distribution that is used to play the net radios. Then simply install that on Fedora or some other distribution and you should be fine. It's probably not a player, but a plugin or extra codec; w32codecs don't work for all players, for example Xine uses libxine-extracodecs and Gstreamer uses gstreamer-plugins-somename where somename is one of the plugin pack names, like ugly for example.
 
Old 01-25-2007, 02:15 PM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
For Fedora Core 6 also get the codecs;

Visit http://rpm.pbone.net/
Search for: mplayer-codecs-20060611-1.i386.rpm and mplayer-codecs-extras-20060611-1.i386.rpm
Download both and install; rpm -ivh mplayer-codecs*.rpm

Last edited by Lenard; 01-25-2007 at 02:18 PM.
 
Old 01-25-2007, 02:27 PM   #4
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
#1
In my device section i have "i810" since i have an intel based graphics card and i have the libdvdcss package installed.

#2
Is there any specific place i should look, like for ex. /usr/local/lib/win32 / /usr/locaL/lib/codecs ? That would be the path for the codecs (usually) with mplayer, but it might be other codecs the distribution is using and then its like trying to find gold on the screen (where should i look you know).

Quote:
Originally Posted by b0uncer
#1 make sure you are using proper display drivers for your card; the file where they are configured in is /etc/X11/xorg.conf for Fedora 6 I suppose. See section "Device" for the driver; it ought to be something different than vesa, for example ATI radeons it's radeon or if you've installed 3d drivers, fglrx. Or for nvidia cards, nv if you've got the drivers. vesa means sluggish playback. Another thing to make sure is that you have libdvdcss2 installed; I'm not sure if it affects the playback except that some movies you buy might not play in your Fedora unless you've got it installed.

#2 Find out what exactly is in the other distribution that is used to play the net radios. Then simply install that on Fedora or some other distribution and you should be fine. It's probably not a player, but a plugin or extra codec; w32codecs don't work for all players, for example Xine uses libxine-extracodecs and Gstreamer uses gstreamer-plugins-somename where somename is one of the plugin pack names, like ugly for example.
 
Old 01-25-2007, 02:29 PM   #5
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
Ill try that, but what is "mplayer-codecs-extras-20060611-1.i386.rpm", i already have the essential codec package for mplayer. Thanks for that resource.

Quote:
Originally Posted by Lenard
For Fedora Core 6 also get the codecs;

Visit http://rpm.pbone.net/
Search for: mplayer-codecs-20060611-1.i386.rpm and mplayer-codecs-extras-20060611-1.i386.rpm
Download both and install; rpm -ivh mplayer-codecs*.rpm

Last edited by hondo; 01-25-2007 at 02:36 PM.
 
Old 01-25-2007, 02:55 PM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Code:
$ rpm -qip mplayer-codecs-extra-20060611-1.i386.rpm
Name        : mplayer-codecs-extra         Relocations: (not relocatable)
Version     : 20060611                          Vendor: (none)
Release     : 1                             Build Date: Sun 22 Oct 2006 12:14:49 PM EDT
Install Date: (not installed)               Build Host: Aspire5000
Group       : Applications/Multimedia       Source RPM: mplayer-codecs-20060611-1.src.rpm
Size        : 9366925                          License: proprietary
Signature   : (none)
URL         : http://www.mplayerhq.hu/design7/codecs.html
Summary     : MPlayer non-essential codecs package
Description :
MPlayer non-essential codecs package. Contains additional binary codecs
supported by MPlayer.
 
Old 01-25-2007, 03:02 PM   #7
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
Lenard: I got this message when searching at the site: "Your query mplayer-codecs-extras-20060611-1.i386.rpm did not match any entry in database". I also tried the other radiobuttons to see if i found it that way, but didnt. Not in google either.

The other package requires this (and i have 1.0rc1 installed which should be higher?):
mplayer >= 1.0pre7

Quote:
Originally Posted by Lenard
For Fedora Core 6 also get the codecs;

Visit http://rpm.pbone.net/
Search for: mplayer-codecs-20060611-1.i386.rpm and mplayer-codecs-extras-20060611-1.i386.rpm
Download both and install; rpm -ivh mplayer-codecs*.rpm
I have been searching on the net for a while now and found out that i think its that DMA is not turned on the DVD-rom or something wrong with the codecs and i have checked that DMA is turned off on the DVD-rom, so its probably that. I have tried to turn DMA on by using the "hdparm" command, but i only get an "Operation not permitted" error message. I looked at a guide here on linuxquestions and havent got the time to read through it yet, but seems like the same problem.

Does someone know how to easily turn on DMA on a DVD-rom drive without having to recompile the linux kernel? If im way off here, then please tell me

Last edited by hondo; 01-25-2007 at 04:30 PM.
 
Old 01-25-2007, 06:15 PM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Sorry my mistake it is actually mplayer-codecs-extra-20060611-1.i386.rpm

As far as the DMA issue, if your having a problem with the DVD drive and DMA then your mostly likely having a problem with DMA on the IDE buses in general. What hardware do you have, check the output (as root) /sbin/hdaprm -tT /dev/hda (if this is one of the possible drives), for example;

Code:
[lenard@Aspire5000 ~]$ sudo /sbin/hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   798 MB in  2.00 seconds = 398.26 MB/sec
 Timing buffered disk reads:   86 MB in  3.06 seconds =  28.11 MB/sec
Actually this really is an ATA/ATAPI/IDE drive on an Acer Aspire 5000WLMi notebook, but with the new kernels (like that latest at Fedora Development) the ATA/ATAPI?IDE drives now SCSI(pata) devices, this fixes a number of issues with some hardware and DMA issues.
 
Old 01-26-2007, 05:30 PM   #9
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
I have mplayer version 1.0rc1, the latest version and when im trying to install the rpm package named "mplayer-codecs-extra" im getting this error:
"Missing Dependency: mplayer >= 1.0pre7 is needed by package mplayer-codecs-extra"
I dont understand why im getting this error when i have an mplayer version that is higher than 1.0pre7.

The output from hdparm was:
Code:
/sbin/hdparm -tT /dev/hdc

/dev/hdc:
read() failed: Input/output error
 Timing buffered disk reads:  read() failed: Input/output error
BLKFLSBUF failed: Function not implemented
I have been looking for more information about this problem, i have seen that other people having this problem has compiled in support for their chipsets. I have an intel chipset, i guess its "ICH7" that is the chipset i need support for, i take this information from the results of this command:
/sbin/lspci -v | grep -i ide
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01) (prog-if 80 [Master])

I have checked the kernel configuration and saw that i could add support for this chipset, but i also saw that it already was marked, so i dont know if it would make any difference.

So, the two questions on the first post is still not answered with working solutions. Where do i go from here, it should be easy to get a simple DVD to play smoothly in linux shouldnt it? Getting a little tired of this, i only want to play a DVD here! I understand why some people think linux is a little too tricky sometimes.

However, does someone have any solutions/any more tips/guidelines or whatever...would really appericate help so i can fix these problems

Quote:
Originally Posted by Lenard
Sorry my mistake it is actually mplayer-codecs-extra-20060611-1.i386.rpm

As far as the DMA issue, if your having a problem with the DVD drive and DMA then your mostly likely having a problem with DMA on the IDE buses in general. What hardware do you have, check the output (as root) /sbin/hdaprm -tT /dev/hda (if this is one of the possible drives), for example;

Code:
[lenard@Aspire5000 ~]$ sudo /sbin/hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   798 MB in  2.00 seconds = 398.26 MB/sec
 Timing buffered disk reads:   86 MB in  3.06 seconds =  28.11 MB/sec
Actually this really is an ATA/ATAPI/IDE drive on an Acer Aspire 5000WLMi notebook, but with the new kernels (like that latest at Fedora Development) the ATA/ATAPI?IDE drives now SCSI(pata) devices, this fixes a number of issues with some hardware and DMA issues.
 
Old 01-26-2007, 06:57 PM   #10
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
Update: The second problem is solved.
New update: The first problem has now been solved.

All problems solved.

Last edited by hondo; 01-26-2007 at 07:39 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I play .wma with DRM or convert to mp3? fakie_flip Linux - Software 11 03-18-2007 10:01 AM
how to play wma files serafimg Ubuntu 6 12-30-2006 02:17 PM
need a simple way to play WMA files... Riddick SUSE / openSUSE 6 12-30-2006 10:51 AM
How to Play .wma Audio Files asimarif Linux - Newbie 1 05-04-2006 08:45 PM
I can't play wma in Linux!!!!! thuongkiet82 Linux - Software 14 04-22-2004 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration