LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mplayer and kaffeine not able to play .rm and .rmvb files (https://www.linuxquestions.org/questions/linux-software-2/mplayer-and-kaffeine-not-able-to-play-rm-and-rmvb-files-614005/)

harsha101087 01-16-2008 10:21 AM

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


Simon Bridge 01-17-2008 04:23 AM

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?

harsha101087 01-17-2008 11:48 PM

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....

dive 01-18-2008 12:29 AM

Try putting drc.so in /usr/lib/codecs

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

Simon Bridge 01-18-2008 02:59 AM

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.

DOTT.EVARISTI 01-18-2008 03:42 AM

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.

Simon Bridge 01-18-2008 07:39 AM

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

harsha101087 01-19-2008 08:52 PM

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...

Simon Bridge 01-21-2008 02:57 AM

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.

harsha101087 01-21-2008 06:07 PM

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

Simon Bridge 01-21-2008 08:29 PM

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.

rafemuhammed 03-30-2009 05:13 AM

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....

Simon Bridge 03-30-2009 09:41 PM

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 (Post 3492334)
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.


All times are GMT -5. The time now is 12:41 AM.