Difference between revisions of "RealPlayer"

From ArchWiki
Jump to: navigation, search
(Installation)
(Move to Category:Player.)
(27 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[Category:Audio/Video (English)]]
+
[[Category:Player]]
{{Article summary start}}
+
{{stub}}
{{Article summary text|Provides a brief overview of how to install RealPlayer to play rmvb files.}}
+
{{Article summary heading|Available in languages}}
+
{{i18n entry|English|RealPlayer11}}
+
{{Article summary heading|Related articles}}
+
{{Article summary wiki|yaourt}}
+
{{Article summary wiki|ALSA}}
+
{{Article summary end}}
+
  
==Introduction==
+
This article describes how to play .rmvb video files.
Today you can do almost everything in Linux, or specifically in ArchLinux.
+
But what do you do with your desktop or laptop? Play music? Play games? and play movies/videos?
+
Today the most popular video files are .avi and .rmvb... and of course more and more .flv and .mp4... that's another story.
+
You can easily find many applications to play .avi, but it seems no article in Arch Wiki talked about .rmvb yet.
+
Let me be the first one then, :)
+
  
 
==Installation==
 
==Installation==
Follow the article to install [http://wiki.archlinux.org/index.php/Yaourt Yaourt] and relative parts.
+
The most simple way is to install [[VLC]], which plays .rmvb now, as well as many other video format.
You will not be regret, because Yaourt can bring you many useful new options.
+
# pacman -S vlc
  
Also we assume you have installed and can use one of the editor in command line, nano or vim or vi, etc.
+
Or you can install [https://aur.archlinux.org/packages.php?ID=1590 realplayer] from the [[AUR]].
  
$> yaourt nano
+
Next, start it with:
 +
$ realplay &
  
Then let's install RealPlayer 11 Gold, the one we will use to play rmvb:
+
On the first run, a configuration wizard will set up the necessary options.
  
$> yaourt -S realplayer
 
  
Choose no to ignore edit of PKGBUILD for this time.
+
== .ram files ==
Then choose yes for download and build.
+
To play .ram files, this script is intended to replace the use of realplayer by using vlc instead : http://www.sputnick-area.net/scripts/realplay.bash
  
This would end up fail for the first time after download the rpm file, because this package is out of date, it will report the md5sum is wrong. Don't worry, let's do the next step anyway:
+
See comments inside.
  
$> cd /tmp/yaourt-tmp-master/realplayer/
+
==Conversion of RealMedia Files==
 +
As RealMedia files are not widely (nor well) supported, it may be useful to convert them to another format. [http://ffmpeg.org/ FFmpeg] can be used for this.
 +
# pacman -S ffmpeg
  
You will find RealPlayer11Gold.rpm here, let's find out the right md5sum:
+
For example, to convert the video '''foo.rm''' to an mp4 file:
 
+
ffmpeg -i foo.rm -vcodec mpeg4 -sameq -acodec libfaac -ab 94208 foo.mp4
$> md5sum RealPlayer11GOLD.rpm
+
 
+
Copy or write down the return value, just the big number, no space or file name included.
+
Then run yaourt again:
+
 
+
$> yaourt -S realplayer
+
 
+
Ok, this time choose yes for PKGBUILD, it will ask you what editor do you want to use, it's up to you, whatever you want, nano or vim or vi...
+
Then you'll easily find the md5sum in the file, just replace the exiting one with the md5sum you got for our rpm file.
+
Save the file and exit your editor.
+
 
+
Now you can continue build and install RealPlayer11, by choose yes, yes, yes...
+
 
+
Done, now start it by:
+
 
+
$> realplay
+
 
+
First time run it will start a wizard to config network etc., basically just next, next, next...
+
When it's finished, you can choose a rmvb file to play, it runs perfect on my pc, as my alsa is set up.
+
If you didn't config your sound yet, follow this article to do it: [http://wiki.archlinux.org/index.php/ALSA ALSA]
+
 
+
This should be all, you may want to add realplay in your menu, or if you are using gnome or KDE it should already in the menu.
+
I'm using fluxbox, so I just edit ~/.fluxbox/menu to add a line for it.
+
Or if you are using launchers like dmenu or bashrun, they will find realplay for you.
+
 
+
Good luck!
+

Revision as of 12:45, 14 August 2012

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:RealPlayer#)

This article describes how to play .rmvb video files.

Installation

The most simple way is to install VLC, which plays .rmvb now, as well as many other video format.

# pacman -S vlc

Or you can install realplayer from the AUR.

Next, start it with:

$ realplay &

On the first run, a configuration wizard will set up the necessary options.


.ram files

To play .ram files, this script is intended to replace the use of realplayer by using vlc instead : http://www.sputnick-area.net/scripts/realplay.bash

See comments inside.

Conversion of RealMedia Files

As RealMedia files are not widely (nor well) supported, it may be useful to convert them to another format. FFmpeg can be used for this.

# pacman -S ffmpeg

For example, to convert the video foo.rm to an mp4 file:

ffmpeg -i foo.rm -vcodec mpeg4 -sameq -acodec libfaac -ab 94208 foo.mp4