LinuxQuestions.org
Help answer threads with 0 replies.
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 01-16-2008, 10:21 AM   #1
harsha101087
Member
 
Registered: Nov 2007
Distribution: Opensuse 11.0 , Fedora 9 , Ubuntu 8.04
Posts: 54

Rep: Reputation: 15
Unhappy mplayer and kaffeine not able to play .rm and .rmvb files


Hi...Everybody...
I have installed mplayer and kaffeine and the required codecs for them to work properly.....but mplayer and kaffeine are unable to play the video format of .rm and .rmvb files....
Plzz help me..
Waiting for your reply..
harsha...

The codes r following :-
Code:
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     T5250  @ 1.50GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Movie - 011 - Bio Broly.rmvb.
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
[real] Audio stream found, -aid 0
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
[real] Video stream found, -vid 1
Stream mimetype: logical-fileinfo
VIDEO:  [RV40]  400x300  24bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name: DBZ - Movie 11 - Bio Broly
 author: (DBZ-Media.nl-encodes) - Anakin
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib/codecs/drvc.so: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: drvc.so, /usr/lib/codecs/drvc.so, /usr/lib/win32/drvc.so, /usr/local/lib/win32/drvc.so
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
Win32 LoadLibrary failed to load: drvc.dll, /usr/lib/codecs/drvc.dll, /usr/lib/win32/drvc.dll, /usr/local/lib/win32/drvc.dll
Error loading dll
ERROR: Could not open required DirectShow codec drvc.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib/codecs/drv4.so.6.0: cannot open shared object file: No such file or directory
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
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
Win32 LoadLibrary failed to load: drv43260.dll, /usr/lib/codecs/drv43260.dll, /usr/lib/win32/drv43260.dll, /usr/local/lib/win32/drv43260.dll
Error loading dll
ERROR: Could not open required DirectShow codec drv43260.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: drvc.bundle/Contents/MacOS/drvc, /usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc, /usr/lib/win32/drvc.bundle/Contents/MacOS/drvc, /usr/local/lib/win32/drvc.bundle/Contents/MacOS/drvc
Error loading dll
ERROR: Could not open required DirectShow codec drvc.bundle/Contents/MacOS/drvc.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x30345652.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 22050 Hz, 2 ch, s16le, 20.7 kbit/2.93% (ratio: 2583->88200)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
AO: [alsa] 22050Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
Code:
A Problem occur while loading a library or a decoder : drvc.so
 
Old 01-17-2008, 04:23 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
MPlayer has been unable to load the codec needed. You have already been given advise about this, vis:

Quote:
Error: /usr/lib/codecs/drvc.so: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: drvc.so, /usr/lib/codecs/drvc.so, /usr/lib/win32/drvc.so, /usr/local/lib/win32/drvc.so
Error loading dll
ERROR: Could not open required DirectShow codec drvc.so.
Read the RealVideo section of the DOCS!
... did you read the realvideo section of the mplayer DOCS?
... did you check where drvc.so is?

Last edited by Simon Bridge; 01-17-2008 at 04:24 AM.
 
Old 01-17-2008, 11:48 PM   #3
harsha101087
Member
 
Registered: Nov 2007
Distribution: Opensuse 11.0 , Fedora 9 , Ubuntu 8.04
Posts: 54

Original Poster
Rep: Reputation: 15
HI...
I have checked about the drvc.so ......
It's present in /etc/win32/drc.so....
I don't why....it's reporting like that......
I was also informed by selinux..that....this thing is blocked....i'll paste the result of the next time.....
Thanking you....
 
Old 01-18-2008, 12:29 AM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Try putting drc.so in /usr/lib/codecs

In fact I don't think you should have any codecs in /etc/...

Last edited by dive; 01-18-2008 at 12:31 AM.
 
Old 01-18-2008, 02:59 AM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Code:
simon@indigo-prime:~$ locate win32
/usr/lib/ruby/1.8/dl/win32.rb
/usr/lib/win32
/usr/include/SDL/SDL_config_win32.h
Yep... should not be under /etc ... how did you install the win32 codecs?

Check that you have /usr/lib/win32 directory... if not, then move the /etc one to this location. If something needs codecs in /etc/win32, you can create a link.
 
Old 01-18-2008, 03:42 AM   #6
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
Wink why don't you download and install Real Player ?

why don't you download and install REalPlayer ?

It's free,i use it in Fedora to play mp3 and REal Videos alongside with Mplayer ,Kaffeine and Vlc and by this way i've never,never,never experienced any sound or video codecs problems and i've never spent hours in resolving them.
 
Old 01-18-2008, 07:39 AM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
RealPlayer is not free.
http://www.gnu.org/philosophy/free-sw.html
http://www.itworld.com/AppDev/350/LWD010523vcontrol4/

Besides, why install additional, proprietary, redundant, software to perform a task that is already covered with an existing application? Add to this that, since a codec that RealPlayer needs is misplaced, Realplayer (linux version) can reasonably be expected to have the same problem.

Installing Realplayer is unlikely to solve OPs problem, but will certainly make matters worse.

Wherever we can, we should be using free formats anyway.
http://www.gnu.org/philosophy/why-au...t-matters.html
 
Old 01-19-2008, 08:52 PM   #8
harsha101087
Member
 
Registered: Nov 2007
Distribution: Opensuse 11.0 , Fedora 9 , Ubuntu 8.04
Posts: 54

Original Poster
Rep: Reputation: 15
Yeah...I am sorry...
The codecs are in :- /usr/lib/win32.....

Code:
Summary
    SELinux is preventing kaffeine from loading /usr/lib/win32/drv3.so.6.0 which
    requires text relocation.

Detailed Description
    The kaffeine application attempted to load /usr/lib/win32/drv3.so.6.0 which
    requires text relocation.  This is a potential security problem. Most
    libraries do not need this permission. Libraries are sometimes coded
    incorrectly and request this permission.  The
    http://people.redhat.com/drepper/selinux-mem.html web page explains how to
    remove this requirement.  You can configure SELinux temporarily to allow
    /usr/lib/win32/drv3.so.6.0 to use relocation as a workaround, until the
    library is fixed. Please file a
    http://bugzilla.redhat.com/bugzilla/enter_bug.cgi against this package.

Allowing Access
    If you trust /usr/lib/win32/drv3.so.6.0 to run correctly, you can change the
    file context to textrel_shlib_t. "chcon -t textrel_shlib_t
    /usr/lib/win32/drv3.so.6.0" You must also change the default file context
    files on the system in order to preserve them even on a full relabel.
    "semanage fcontext -a -t textrel_shlib_t /usr/lib/win32/drv3.so.6.0"

    The following command will allow this access:
    chcon -t textrel_shlib_t /usr/lib/win32/drv3.so.6.0

Additional Information        

Source Context                system_u:system_r:unconfined_t:s0-s0:c0.c1023
Target Context                system_u:object_r:lib_t:s0
Target Objects                /usr/lib/win32/drv3.so.6.0 [ file ]
Affected RPM Packages         
Policy RPM                    selinux-policy-3.0.8-44.fc8
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   plugins.allow_execmod
Host Name                     localhost.localdomain
Platform                      Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP
                              Tue Oct 30 13:05:10 EDT 2007 i686 i686
Alert Count                   1
First Seen                    Sun 20 Jan 2008 08:21:19 AM IST
Last Seen                     Sun 20 Jan 2008 08:21:19 AM IST
Local ID                      15bf6104-5a04-4cb9-b92e-b8c2281206ee
Line Numbers                  

Raw Audit Messages            

avc: denied { execmod } for comm=kaffeine dev=sda5
path=/usr/lib/win32/drv3.so.6.0 pid=4007
scontext=system_u:system_r:unconfined_t:s0-s0:c0.c1023 tclass=file
tcontext=system_u:object_r:lib_t:s0
This is what i got when i tried to play .rm and .rmvb files in kaffeine.....and the abt the real player ....i have installed using the required rpm(realplayer-10.1.0.3114-20070503.i586.rpm) and as soon i play some file the .bin file gets crashed,......

I dont know what to do..Plzz help me...
 
Old 01-21-2008, 02:57 AM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
The installer did not set up SELinux contexts for you. Possibly associated with real-media DRM.
Follow the instructions under "Allowing Access" or disable SELinux.
 
Old 01-21-2008, 06:07 PM   #10
harsha101087
Member
 
Registered: Nov 2007
Distribution: Opensuse 11.0 , Fedora 9 , Ubuntu 8.04
Posts: 54

Original Poster
Rep: Reputation: 15
Many Many thanks to you Simon Bridge.....
I have tried following it and ended in messing the things.....but when i changed my selinux settings...to permissive mode....it was a miracle.....(.rmvb) and .rm files started playing in totem movie player........
Hearty thanks to you for replying to me....
Yours sincerely..
Harsha
 
Old 01-21-2008, 08:29 PM   #11
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
It is unlikely that you will actually need the high security given by selinux. But you now need to be aware, in the back of your mind, that you no longer have it. Some applications may have been written (or be written) which assume selinux is running, and are not as secure as they could be as a result.

There is still very little that can happen to you if you keep everything else buttoned up.
 
Old 03-30-2009, 05:13 AM   #12
rafemuhammed
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Angry i`m going to leave linux.....

i've wasted my valuable time to play mp3 in fedora 10.. look i`m very interested in using linux os.. but it is making me to leave the linux.. because i downloaded all the rpms and tars and done what they said.. but still it is not playing... what i do? pls give me a clear step by step installation process of any mp3 player.. i've tried kaffine,xine,amrok,mplayer.. from the net i got the idea that some players are looking /usr/lib/codecs and some others are /usr/lib/win32.. so i copied the codecs to these directories... but result is same.. i expect a nice solution for my problem.. thanx in advance....
 
Old 03-30-2009, 09:41 PM   #13
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
For enabling restricted media playback in fedora 10, see
http://www.mjmwired.net/resources/mj...a-f10.html#mp3

... pick a media player (the different players are just front-ends for a related set af systems, so it matters very little what you choose.) Recommend you use Rhythmbox for Gnome or Amarok for KDE. Enabling the restricted codecs is a matter of entering a single line in a terminal.

Also see:
http://www.fedorafaq.org/

Quote:
Originally Posted by rafemuhammed View Post
i've wasted my valuable time to play mp3 in fedora 10..
Or, indeed, at all ... mp3 is a nasty nasty codec. Presumably you have some reason for not converting to a free codec?
http://www.vorbis.com/faq/
http://news.bbc.co.uk/2/hi/technology/5312696.stm
http://en.wikipedia.org/wiki/Free_file_format

Quote:
look i`m very interested in using linux os.. but it is making me to leave the linux..
Good luck.
If you are seriously interested in getting this going, then we can help.
If you want to give up your freedoms in return for an audio codec, then I can only say "please value your freedom more highly".
http://www.gnu.org/philosophy/your-f...-software.html

Quote:
because i downloaded all the rpms and tars and done what they said..
... it sounds like you are using the Windows methodology to install software ... this is where you need a feature, search the web for the feature, download a third party program and follow the install instructions.

This is a common misconception. Fedora uses repositories as the primary means to manage software. You install capabilities by connecting to a supporting repository with the yum tool.

Last edited by Simon Bridge; 03-30-2009 at 09:48 PM.
 
  


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
Mplayer wont play rmvb? aaaaaabbs Debian 2 08-21-2007 10:52 PM
How to Play rmvb/rm/rv files in M-Player me4linux Linux - Software 1 05-15-2007 05:27 PM
no video when mplayer play rmvb asert Linux - Software 0 11-25-2006 02:24 AM
How to play rmvb files with Mplayer ufosnorkis Linux - Software 6 10-19-2006 10:48 PM
How can I play rmvb,rm with Kaffeine and other players? homesp Mandriva 3 05-06-2005 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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