About mplayer playing RM and rmvb (MAC)

Source: Internet
Author: User

From: http://bloodrhythm.blog.163.com/blog/static/4740540620079140715377? Fromdm & fromsearch & isfromsearchengine = Yes

How to Use mplayer to play RM and rmvb files in Mac OS

1. Software preparation:
Mplayer ([url] http://www.macupdate.com/info.php/id/18580/mplayer#/url])
RealPlayer ([url] http://www.macupdate.com/info.php/id/8428/realplayer#/url])
Rp9codec www1.mplayerhq. hu/mplayer/releases/codecs/essential-macosx-x86-20060611.zip
2. Installation: If RealPlayer has been installed on the machine, delete it first!
Then install mplayer.
Then install rp9codec
3. Click Go On the finder toolbar, select go to folder, and enter/usr/local/lib/codecs/To Go To The codecs folder.

4. Open the codecs folder and delete all the files in it to the recycle bin. (Note: before deleting files in this folder, you need to return to the previous directory to modify the folder permissions)

5. after the latest version of RealPlayer is installed with the image. right-click the app to display the package content and right-click RealPlayer. APP/contents/frameworks/hxclientkit. copy all files in the framework/helixplugins/codecs/folder.

6. copy the files in the copied codecs folder to/usr/local/lib/codecs/

7. Change the permissions of the modified codecs folder to the original one.

8. Right-click mplayer. app, display the package content, and open the info. plist file in the contents folder in the notebook.
<String> RM </string>
<String> RM </string>
<String> rmvb </string>
<String> rmvb </string>
Copy and paste it to the original pile of <string>, close and save.

9. End. Now you can directly use mplayer to play the RM/rmvb file without installing RealPlayer. The RM/rmvb file icon is also the default video file icon of mpalyer, rather than the blank icon.

PS; if only rp9codec is installed, you can also use mplayer to play RM/rmvb. However, it seems that the image and sound may not be synchronized for files encoded with RM10, you can solve this problem by copying the latest codec file in RealPlayer and replacing the old codec file in rp9codec!

Mplayer installation requires three packages: main program, skin, and codecs. Download www. mplayerhq. Hu from the official mplayer website.

SRC: MPlayer-1.0rc1.tar.bz2
Skin: Blue-1.4.tar.bz2
Codecs: all-20061022.tar.bz2
Put it in the/usr/software/mplayer directory.
Install the encoding package first. The mplayer encoding package must be installed in/usr/lib/codecs/or/usr/local/lib/Win32.
[Root @ localhost/] # cd/usr/software/mplayer
[Root @ localhost mplayer] # tar vjxf all-20061022.tar.bz2
[Root @ localhost mplayer] # CD all-20061022
[Root @ localhost all-20061022] # Cp */usr/lib/codecs
 
  
Install the mplayer main program
[Root @ localhost mplayer] # tar vjxf MPlayer-1.0rc1.tar.bz2
[Root @ localhost mplayer] # cd MPlayer-1.0rc1
[Root @ localhost MPlayer-1.0rc1] #./configure -- enable-Gui
 
[Root @ localhost MPlayer-1.0rc1] # Make
[Root @ localhost MPlayer-1.0rc1] # make install
If the preceding settings are correct, no errors will occur here. Now mplayer has been installed in your Linux system. The installation of the skin is the graphical interface.
Then return to the original directory.
[Root @ localhost MPlayer-1.0rc1] # CD ..
[Root @ localhost mplayer] # Bzip2-CD Blue-1.4.tar.bz2 tar xvf-C/usr/share/mplayer/skin/
[Root @ localhost mplayer] # mv/usr/share/mplayer/skin/Blue // usr/share/mplayer/skin/default/
Here we have installed the blue skin and set it as the default one. After installation, you can also find the skin of various mplayers, you can modify the skin on the mplayer interface without unzipping and put it under/usr/share/mplayer/skin.
  
  
After the installation, we start mplayer. the following error may occur:
"New_face faild. Maybe the font path is wrong. Please supply the text font file .(~ /. Mplayer/subfont. TTF )."
At this time, we use the built-in font to replace.
[Root @ localhost mplayer] # cd/usr/share/fonts/zh_cn/TrueType/
Copy a font file to the. mplayer/directory of the current user directory.
Mplayer play rmvb, RM No image only sound
Set SELinux.
Chcon-T textrel_shlib_t/usr/lib/codecs/drvc. So
Chcon-T textrel_shlib_t/usr/lib/codecs/drv4.so. 6.0
(You can solve the problem of not opening the required DirectShow codecs: drv4.so. 6.0)

Play RM, rmvb, and pop-up: Error: cannot open the required DirectShow decoder: drvc. So, but it can be released. To eliminate this annoying stuff, you can execute the following:

CD/usr/lib/codecs/
LDD drvc. So
Output result:
Linux-gate.so.1 => (0xffffe000)
Libstdc ++. so.5 => not found
Libc. so.6 =>/lib/libc. so.6 (0xb7dd1000)
/Lib/ld-linux.so.2 (0x80000000)
You have to find it online or from other systems CP libstdc ++. so.5.0.6 to/usr/lib
Then ln-s libstdc ++. so.5.0.6 libstdc ++. so.5 and then execute ldconfig


From: http://bbs.weiphone.com/read-htm-tid-345445.html

Mac

I. Playing rmvb.In general, real's support for rmvb format in MacOSX has not been very good. In Versions later than 10, rmvb with a large stream playback frequency will not be smooth. I have never used x86 Mac, and I don't know what the effect is. If you want to test the functions, you can try some scenarios with sea and lake.
The advantage of playing rmvb with mplayer is that it is smoother than RealPlayer. But the problem is also obvious:
"It is best not to drag and drop files in real time, because many rmvb files will cause audio and video non-sync results. However, in my experiments, most of the non-synchronization caused by drag and drop usually disappears after playing for a period of time (about 4 or 5 minutes. However, before proceeding to the following sections, we recommend that users with low requirements use RealOne Player to play rmvb videos. After all, it is the most smooth Mac platform that plays rmvb videos ."
(The final version of RealOne Player is v9.0 build9.0.0.297-D. The official version has stopped the development of this player, but the decoder is updated. The official website has been downloaded, but it is difficult to find the webpage. I browsed it some times before, but I did not find what I wanted today. If you are interested, you can post it. Thank you ..)
Okay. Start the text. For the problem of playing rmvb with mplayer, it is generally said that the real decoding package provided by mplayer is to be downloaded. Actually not all. Not to mention that the version of the real9 package is too low, that is, playing the current release of rmvb will have some strange and strange problems. If you have RealPlayer, why do you want to download the old version? Right-click RealPlayer. app and choose "show Package content"> "Contents/frameworks/hxclientkit. Framework/helixplugins/codecs" to display the decoder. We only need to copy them to the mplayer decoder folder.
Note: mplayer OSX 1.0 is slightly different from mplayer OSX 2.0.

Steps:1. Go to RealPlayer. APP player (my version is v10.1.0) directory, right-click RealPlayer. app -- display Package content -- go to contents/frameworks/hxclientkit. the framework/helixplugins/codecs directory contains 12 packages. --- Select All (command + a) -- copy (command + C ).
2. Go to the desktop and create a new folder named "codecs" (lower-case letters, and you are using mplayer1.0) or "mplayer" (lower-case letters, in mplayer 2.0), paste the 12 packages you just copied to the new folder.
3. In the finder, select "go to"-"Go to folder"-input:/usr/local/lib/-And click "go ".
4. Drag the codecs or mplayer directory on the desktop to the open lib directory (remind me again that the mplayer1.0 version is the codecs folder and the mplayer 2.0 version is the mplayer folder). If a permission error is prompted, select "authentication" and enter the user password as prompted.
5. Now, you can use mplayer to play the rmvb file. However, you may need to right-click the rmvb file and choose the open mode as mplayer; you can also drag and drop the rmvb file to the playback list or directly associate the rmvb file with mplayer to open the file. You can also modify the contents/info. plist file in the mplayer package and add rmvb to the cfbundle typeextensions file. Now, mplayer fully supports RM and rmvb.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.