linuxnewbie.org.gif
Tuesday, 12-Dec-2000 10:38:39 EST
Newbized Help Files articles discussion board bookshelf sensei's log advertising info
Real G2 Player
Written By: Avatar

So you want to steam in some audio and video. Well, if I can do it, so can you. Here is how I did it.

System:
Mandrake 7.0 (Also RedHat 6 & 6.1, and Mandrake 6.0 & 6.1)

1. If you don't have the G2 player already, hit up this link and get it. (I picked up the RedHat 5/6 rpm)
Download RealPlayer basic version

2. Go ahead and install it.

3. On my system, the executable installed to /usr/bin/realplay. Find out where it went on yours, and keep that info handy.

Now comes the fun part. Getting it to work with Netscape. According to help file for the G2 player, it will only play real audio and real video. But, that is incorrect as you will soon find out.

4. Open up Netscape and click on "Edit" and then "Preferences."

5. On the new screen that appears, click the little arrow next to "Navigator" and then "Applications."

On the right, you should see a list of all the mime types already in the system. This is where we will be adding in the info to configure the G2 player. Now, my system didn't have any of the stuff that follows set up, but your might have a start. So, before you add anything listed below, look to see if it is already there and add/modify as needed.

6. Click the "New" button to bring up a new mime tpye.
7. Enter the follwing settings, then click the "OK" button to save them.

Description: RealMedia File
MIMEType: application/vnd.rn-realmedia
Suffixes: .rm
Application: /usr/bin/realplay %s

The description doesn't matter, but the rest does. Make sure to click the box next to "Application" to enable G2, and don't forget the "%s" part or it will just open G2 and not stream. If G2 installed somewhere other than /usr/bin/realplay, replace that part with your path. Another thing to watch is that you but the "." in front of the suffix.

8. Add all of the following using the steps 6 & 7.

Description: RealVideo File
MIMEType: video/vnd.rn-realvideo
Sufffixes: .rv
Application: /usr/bin/realplay %s

Description: RealAudio File
MIMEType: audio/vnd.rn-realaudio
Suffixes: .ra, .ram
Application: /usr/bin/realplay %s

Description: RealAudio File 2
MIMEType: audio/x-pn-realaudio
Suffixes: .ra, .ram
Application: /usr/bin/realplay %s

Now, your G2 player should work great with Navigator. But say you hop over to live365.com and want to listen to for awhile. Well, live365.com sends you am mp3 play list, not a standard stream. This is nice if you're sitting behind a firewall and your administrator has blocked streamed data. To get this up and running on you Linux box, add this last part into Netscape, again using steps 6 & 7.

Desciption: Live365
MIMEType: audio/x-scpls
Suffixes: .pls
Application: /usr/bin/realplay %s

So, now maybe you want to hop over to MP3.com and have a lsiten over there. No problem. look down the list for "MPEG Audio." Once you find it, click on it, then click on edit. Change the follwing:

MIMEType: audio/mpeg
Application: /usr/bin/realplay %s

(Click OK)

We have to add another one now. Follow step 6 & 7 to add this one in.

Desciption: MPEG Audio 2
MIMEType: audio/x-mpegurl
Suffixes: .m3u
Application: /usr/bin/realplay %s

(Click OK)

That should do it. Now the G2 player will handle all that media from the web with little or no hickups. Enjoy!


We would like to hear your feedback.

[-NHF Control Panel-]
The Linux Channel at internet.com
Linux Planet
Linux Today
Linux Central
Linuxnewbie.org
PHPBuilder
Just Linux
Linux Programming
Linux Start
BSD Today
Apache Today
Enterprise Linux Today
BSD Central
All Linux Devices
SITE DESCRIPTIONS
[-What's New-]
Order a Linuxnewbie T-Shirt
Easy Webcam NHF
Directory Navigation NHF
Installing Snort 1.6.3 on SuSE 6.x-7.x
Customizing vim
The SysVinit NHF
Installing ALSA for the VT82C686 integrated sound
USB Creative Video Blaster II for Linux
Configuring the Intellimouse Explorer in XFree86 V4+
The beginnings of a distro NHF
Getting Past Carnivore?
Getting and Installing PGP
Getting your ATI Rage 128 Working
How to create a multiple partition system
Using Fdisk
Introduction to Programming in C/C++ with Vim
Adding a Hard drive in Linux -- In five steps
Installing ALSA for the Yamaha DS-XG Sound Card
Getting your Diamond Rio Mp3 Player to work with Linux
Bash Programming Cheat Sheet
Installing NVIDIA Drivers for Mandrake
Setting up Portsentry
Hard Drive Speed Tweak for Linux
Sensei's Log
Chat room
Join: Linuxnewbie.org SETI Black Belts!
Send in your news
Click the image to add Linuxnewbie.org to your MyNetscape Page
[-LNO Newsletter-]

[-Archive-]
The beginnings of a distro NHF
Connecting to the Internet using KPPP
Getting your SBLive to work
Unreal Tournament NHF
LWE Day 2 Pictures
LWE Day 1 Pictures
The LNO FAQ!
WoW (Words of Wisdom)
Other sites news
What is Linux?
What is Linux? part deux (ups & downs)
Search newsgroups
The List
ALS Report
Feedback Form
jobs.linuxtoday.com.gif
Match: Format: Sort by:
Search:
Copyright © 1999 All Rights Reserved
[-Quick Links-]

Copyright 2000 internet.com Corp. All Rights Reserved. Legal Notices Privacy Policy

internet.com.gif