LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2008, 05:21 PM   #1
cbabbage
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Rep: Reputation: 0
Video players not working


I recently installed Slackware 12.1 with KDE 3.5 as the desktop. My video card is a Radeon 9250. I installed everything on the install discs, so I have Noatun, xine, gxine multimedia players installed. Trouble is none of them will play any video files of either .avi or mpeg format. I downloaded and installed mplayer including the codec package, but that doesn't work either - every application plays the file but with a blank screen.
Obviously, I failed to install some essential library or need to configure something, but I don't know what.
Suggestions much appreciated.
 
Old 07-22-2008, 10:51 PM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
1) what is your codec path?
2) paste here your ld.so.conf
 
Old 07-22-2008, 11:13 PM   #3
jedi_sith_fears
Member
 
Registered: Jan 2008
Location: Kolkata
Distribution: Debian GNU/Linux bookworm/sid
Posts: 136
Blog Entries: 1

Rep: Reputation: 29
You need to extract mplayer codecs to /usr/share/codecs/, that is also the default path for Xine codecs, so even if you dont install mplayer, you can play most of the videos with Xine alone, and if you are compiling mplayer from source, be sure to set all mplayer codec paths to the /usr/share/codecs/ directory.
 
Old 07-23-2008, 08:31 AM   #4
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
You will also need Libdvdcss2 to play dvd's.
Also the binary codec should be installed as follows:

Quote:
unpack the codecs archives and put the contents in a directory where MPlayer
will find them. The default directory is /usr/local/lib/codecs/ (it used to be
/usr/local/lib/win32 in the past, this also works) but you can change that to
something else by passing the '--codecsdir' option to './configure'.
This comes from the Mplayer website.
Hope this helps...
Regards.
The trooper.
 
Old 07-23-2008, 12:49 PM   #5
smoked kipper
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware,Slamd64
Posts: 81

Rep: Reputation: 15
Sounds to me more like an X problem.

Quote:
- every application plays the file but with a blank screen.
If mplayer can't find the codec it shouldn't even start, just bail with an error message. If it *plays* but you have no image, this points to a problem with X.

Make sure you have the XVideo entension (this should be enabled by default). Check this with

xdpyinfo | grep XVideo

Check your X log file (/var/log/Xorg.0.log) for error messages.
 
Old 07-23-2008, 05:18 PM   #6
cbabbage
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks, I'll try the above suggestions.

The codec path is /usr/lib/codecs and ld.so.conf is:

/usr/local/lib
/usr/i486-slackware-linux/lib
/usr/lib/qt/lib
/usr/lib/seamonkey


Cheers.
 
Old 07-25-2008, 09:26 AM   #7
smoked kipper
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware,Slamd64
Posts: 81

Rep: Reputation: 15
ld.so.conf is for linux dynamic libraries, and is use by the dynamic linker (/lib/ld-linux.so.2) when loading an executable. It has nothing to do with win32 codecs and is not related to the use of "plug-ins".
 
Old 08-03-2008, 05:20 PM   #8
cbabbage
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Just got wierder

I've been trying a lot of things to fix the problem with my video players. Codec paths seem to be fine, and I've tried all sorts of modifications to xorg.conf, without fixing the problem.
Then, while mucking around, I found how to play any video. First, I try to open a video in Konqueror, with the usual result, a blank screen. BUT - if while that is playing unsuccessfully, I open up Noatun, I can play any video successfully in Noatun; but only while the other is playing unsuccessfully!
It works the other way around, starting one video in Noatun I can play any other video in Konqueror. I haven't finished trying all the players yet but I think gxine also works in this fashion.
I'm stumped. Anybody got any suggestions as to what is going on?
 
Old 08-04-2008, 05:20 AM   #9
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
Quote:
Originally Posted by cbabbage View Post
Thanks, I'll try the above suggestions.

The codec path is /usr/lib/codecs and ld.so.conf is:

/usr/local/lib
/usr/i486-slackware-linux/lib
/usr/lib/qt/lib
/usr/lib/seamonkey


Cheers.
----lets try this way----------

edit your ld.so.conf become like this, i just add one top line

-------------
/usr/lib
/usr/local/lib
/usr/i486-slackware-linux/lib
/usr/lib/qt/lib
/usr/lib/seamonkey
------------

save the file then run /sbin/ldconfig as root the try play again
 
Old 08-04-2008, 10:18 AM   #10
smoked kipper
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware,Slamd64
Posts: 81

Rep: Reputation: 15
You don't need /usr/lib in ld.so.conf, /usr/lib is searched automatically.
 
Old 08-12-2008, 05:11 PM   #11
cbabbage
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Well I fixed the problem using the brute force approach - reinstalling the operating system. Now the video players are working fine. Obviously some configuration thing went wrong the first time around.
 
  


Reply

Tags
video player



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
video players are not working muvva_srikanthreddy SUSE / openSUSE 1 07-15-2007 06:49 PM
Help!! Video players not working lightkuragari Slackware 2 01-31-2005 03:46 PM
Help about Video Players.. explosive Linux - Software 0 08-29-2004 12:34 AM
Video players gabebster Linux - Software 2 07-23-2003 12:21 PM
Video Players help Mack Linux - Software 2 01-12-2003 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:00 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