LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-12-2007, 10:28 AM   #1
nissen
LQ Newbie
 
Registered: Nov 2004
Location: Shanghai, China
Distribution: Redhat 9
Posts: 7

Rep: Reputation: 0
Talking mplayer unable to locate the existing file "drv4.so.6.0"


hi,

i'v install mplayer on FC5 and other media decoder such as real,win32codecs. when i open a rmvb file, mplayer can play it correctly but complain "ERROR: Couldn't open required directshow codec drv4.so.6.0". well, i really hate that annoying windows.

bellow is some of the output info when playing rmvb files in command line:

[luc@localhost ~]$ mplayer -v dynastyQ
MPlayer SVN-r22817 rpm.livna.org (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1400MHz (Family: 6, Model: 9, Stepping: 5)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/luc/.mplayer/codecs.conf'
Reading /home/luc/.mplayer/codecs.conf: Can't open '/home/luc/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.

..........
..........
..........lines omitted

==========================================================================
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x40002000 sub-id: 0x01081020
opening shared obj '/usr/lib/codecs/drvc.so'
Error: /usr/lib/codecs/drvc.so: cannot restore segment prot after reloc: Permission denied
opening win32 dll 'drvc.so'
Win32 LoadLibrary failed to load: drvc.so, /usr/lib/codecs/drvc.so, /usr/lib/win32/drvc.so, /usr/local/lib/win32/drvc.so
win32 real codec handle=(nil)
Error loading dll
ERROR: Could not open required DirectShow codec drvc.so.
Read the RealVideo section of the DOCS!
VDecoder init failed
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x40002000 sub-id: 0x01081020
opening shared obj '/usr/lib/codecs/drv4.so.6.0'
Error: /usr/lib/codecs/drv4.so.6.0: cannot restore segment prot after reloc: Permission denied
opening win32 dll 'drv4.so.6.0'
Win32 LoadLibrary failed to load: drv4.so.6.0, /usr/lib/codecs/drv4.so.6.0, /usr/lib/win32/drv4.so.6.0, /usr/local/lib/win32/drv4.so.6.0
win32 real codec handle=(nil)
Error loading dll
ERROR: Could not open required DirectShow codec drv4.so.6.0.
Read the RealVideo section of the DOCS!
VDecoder init failed
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x40002000 sub-id: 0x01081020
opening win32 dll 'drv43260.dll'
win32 real codec handle=0x63410000
get_path('registry') -> '/home/luc/.mplayer/registry'
Called unk__beginthreadex
INFO: RealVideo codec init OK!
Selected video codec: [rv40win] vfm: realvid (Win32 RealPlayer 9 RV40 decoder)
..........




from the output info, here i got 2 questions:
1. i searched / for codecs.conf but nothing find. i mean i want to creat a codecs.conf manually to tell system where to locate file "drv4.so.6.0" and hope this will helpful to solve "drv4.so.6.0" problem. but i don't know the format of the codecs.conf. can anyone tell me of that?

2. although i have "drv4.so.6.0", but mplayer don't know it.

[root@localhost ~]# locate drv4.so.6.0
/home/luc/.xine/plugins/drv4.so.6.0
/usr/lib/drv4.so.6.0
/usr/lib/codecs/drv4.so.6.0
/usr/lib/real/drv4.so.6.0
/usr/lib/win32/drv4.so.6.0
/usr/lib/xine/plugins/1.1.2/drv4.so.6.0
/usr/local/lib/mplayer/drv4.so.6.0


someone tell me to use command ld and ldconfig to correlate "*.so" files. will that be helpful?if yes, how?

been slaved by windoze long time, now im newbine to linux. hope guys can help me. thanks a lot!
 
Old 06-12-2007, 01:59 PM   #2
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
I don't know what's exactly wrong here. I also got a similar situation (for a different codec).

Your best bet is to compile MPlayer and relevant related things instead of using pre-packeged things. This solved the problems for me and compiling manually is very flexible. (Eg: If you want x264 support, first compile and install x264 package, then compile MPlayer with x264 support.)
 
Old 06-15-2007, 01:48 PM   #3
nissen
LQ Newbie
 
Registered: Nov 2004
Location: Shanghai, China
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
great. what u said gives me a hint. i have never thought about difference between rpm and sourcecode style install. just as proverb said, it work, change nothing. well, it's ok except that complain windows every time i play a rmvb format file.

another thing im afraid is u have to solve dependency when installing from sourcecode. system always tells u that to install A, u have to install B first. but to install B, u have to install C, bla bla bla... kind of torture to me.

thank u to share experience!

Last edited by nissen; 06-15-2007 at 01:54 PM.
 
Old 06-27-2007, 02:31 AM   #4
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
Quote:
Originally Posted by nissen
another thing im afraid is u have to solve dependency when installing from sourcecode. system always tells u that to install A, u have to install B first. but to install B, u have to install C, bla bla bla... kind of torture to me.

thank u to share experience!


Yes, I know you have to handle dependencies manually if you choose to build from source. But there are times when it's the rmp way giving to headaches.

Installing MPlayer with rpms was no fun when I didnt have DSL. I had to look for dependency rpms for things which I didn't even want. When we build from source we can select what we want rather than a myriad of packages. (Eg: no IR remote controller support, with 3gp support). Anyway I always build MPlayer from source since I want to have x264, lavc and several other thing supported (which rpm version is not built with). I usually use MEncoder with x264 codec.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't locate object method "splitpath" via package "PACK001" at /usr/lib/perl5/5.8.8/ sajigeorge Linux - Software 1 01-11-2009 07:33 AM
Files stored on "A" disks from Linux won't show up as existing on Win. File Manager jenifer_e_church Linux - Software 4 03-21-2006 06:26 PM
An existing file in the PWD isn't displayed with "cat".. linuxharsha Linux - General 2 02-17-2004 08:11 AM
Dual boot "merge" from existing 98 & existing Linux atsmith Linux - Newbie 4 07-13-2003 04:46 PM
Can't locate object method "splitpath" via package "File::Spec" RobJohnston Linux - General 2 06-28-2003 10:59 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration