Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ripping Real Audio streams
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
silentbob
Apprentice
Apprentice


Joined: 09 Nov 2003
Posts: 159
Location: UK

PostPosted: Wed Aug 18, 2004 10:28 am    Post subject: Ripping Real Audio streams Reply with quote

I would like to be able to play & record to mp3 / ogg the Real Audio streams from the BBC Radio 1 listen again feature. This is so that I can stream the excellent Essential Mixes and save them to disk so that I can listen again since the shows are only available online for 1 week after broadcast.

How do I go about this and what software do I need to emerge? I've found some useful links below and via searching the forums. I just want to know the simplest way to get this working.

Real Player 10: https://forums.gentoo.org/viewtopic.php?t=205874&start=25
Real Audio Ripping with Esound:
https://forums.gentoo.org/viewtopic.php?t=42561

Windows guide: http://swen.antville.org/stories/735413/

(Btw paid my £120 BBC license fee so it's all legit!)
Back to top
View user's profile Send private message
TenPin
Guru
Guru


Joined: 26 Aug 2002
Posts: 500
Location: Kansas City

PostPosted: Wed Aug 18, 2004 2:07 pm    Post subject: Reply with quote

mplayer -cache 128 -dumpstream -dumpfile filename.rm rtsp://blah

I tried it the other day with mplayer-1_pre5 and it works perfectly.

Then you don't even need to re-encode the stream unless you really have to use your favorite music player instead of mplayer.
_________________
For since in the wisdom of God the world by its wisdom did not know God, God was pleased to save those who believe by the foolishness of preaching.
Back to top
View user's profile Send private message
silentbob
Apprentice
Apprentice


Joined: 09 Nov 2003
Posts: 159
Location: UK

PostPosted: Wed Aug 18, 2004 11:08 pm    Post subject: Reply with quote

I'm trying to install Real Player, following this excellent HOWTO, but I've run into a problem with the emerge!
Code:
$ emerge -f realplayer
Calculating dependencies ...done!
>>> emerge (1 of 2) media-video/realplayer-8-r7 to /
!!! rp8_linux20_libc6_i386_cs2.bin not found in /usr/portage/distfiles.

!!! media-video/realplayer-8-r7 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

x86
 * Please go to http://forms.real.com/real/player/unix/unix.html
 * and download the appropriate realplayer binary installer
 * for OS type : Linux 2.x (libc6 i386)
 *
 * Download rp8_linux20_libc6_i386_cs2.bin and place it in :
 * /usr/portage/distfiles
 *
x86
 * Please note, do NOT download the rpm, just the .bin file

If I go to the specified URL (http://forms.real.com/real/player/unix/unix.html) the request times out. from the Netcraft uptime stats it looks like the site is now dead :-(

Is there anywhere I can get the required file, or is there an alternative way to get Real Player installed.
Back to top
View user's profile Send private message
silentbob
Apprentice
Apprentice


Joined: 09 Nov 2003
Posts: 159
Location: UK

PostPosted: Thu Aug 19, 2004 6:52 pm    Post subject: Reply with quote

Update: Real Player 10 is now installed, yay! So I can now play the Radio 1 streams and it even works in Firefox... I am a happy boy! (even happier when I work out how to record the streams to disk).
Edit: Forgot you need to download the ebuild since it's not in portage yet due to licensing issues.
HOWTO: http://www.slashdotdash.net/Articles/Linux/Gentoo/Audio/RealAudio/InstallRealPlayer10/

How I did it (all portage actions as root)...

1. Get the Real Player 10 ebuild (see bugzilla)
Code:
wget http://varnerfamily.org/pvarner/gentoo/realplayer-bin.ebuild.tar.gz

2. Extract ebuild to /usr/local/portage (it should extract to the media-video dir).

Note: the /usr/local/portage directory is for storing user specific ebuilds which are not overwritten when you emerge sync (ie if you were to place this ebuild in /usr/portage it will be deleted when you next emerge sync).

3. Unmask realplayer and its codecs and add ~x86 to the keywords for realplayer-bin
Code:
$ cat >> /etc/portage/package.unmask
media-video/realplayer
media-plugins/realvideo-codecs

$ cat >> /etc/portage/package.keywords
media-video/realplayer-bin ~x86

4. Download the Real Player 10 RPM.

Go to http://www.real.com/linux/ and download the .rpm file (Advanced download option)
Note: the real.com website seems to be up and down like a yo-yo for me :-(

5. Copy the .rpm to portage distfiles dir and then emerge realplayer-bin
Code:
$ cp /path/to/RealPlayer10GOLD.rpm /usr/portage/distfiles/
$ emerge realplayer-bin

6. To start just type realplay. It seems to be very snappy and has a nice gtk2 interface.


Last edited by silentbob on Thu Aug 26, 2004 12:57 pm; edited 2 times in total
Back to top
View user's profile Send private message
monkman
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 117
Location: germany / kiel

PostPosted: Thu Aug 19, 2004 8:46 pm    Post subject: Reply with quote

audacity

works fine but as said here before, you save the recorded stream as wav or ogg..... but you can normalize and edit the recorded stream as needed...
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Thu Aug 19, 2004 9:33 pm    Post subject: Reply with quote

TenPin wrote:
mplayer -cache 128 -dumpstream -dumpfile filename.rm rtsp://blah


Why would you set the cache to 128?
_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
silentbob
Apprentice
Apprentice


Joined: 09 Nov 2003
Posts: 159
Location: UK

PostPosted: Thu Aug 19, 2004 10:37 pm    Post subject: Reply with quote

I can't get mplayer to open Real Audio streams, I guess it's a plugin issue and I need to symlink the new Real Audio 10 libraries?

Anyway, my search has come across vsound which is a "A Virtual Audio Loopback Cable" and allows the recording (and simultaneous playback) of any audio stream. It seems to work nicely, apart from needing to save the temporary data to an AU format then converting it to WAV on completion. I would prefer to be able to pipe it to lame / oggc to convert it without storing the huge WAV data.
Back to top
View user's profile Send private message
smolshellz
n00b
n00b


Joined: 27 Aug 2004
Posts: 2

PostPosted: Fri Aug 27, 2004 10:43 pm    Post subject: vsound strangeness Reply with quote

hi
i used to decode realaudio with vsound.
after installing realplayer 10 vsound complains about:
/usr/bin/vsound: line 163: "http://somelocation/somefile.ram" : No such file or directory
Missing file ./vsound6262.au.

this does not happen when i use realplayer 8 ???
someone got an idea?
thx
Back to top
View user's profile Send private message
Wi1d
Apprentice
Apprentice


Joined: 15 Mar 2004
Posts: 282
Location: USA, Iowa

PostPosted: Sat Aug 28, 2004 7:54 am    Post subject: Reply with quote

smolshellz wrote:
i used to decode realaudio with vsound.
after installing realplayer 10 vsound complains about:
/usr/bin/vsound: line 163: "http://somelocation/somefile.ram" : No such file or directory
Missing file ./vsound6262.au.

Strange. I get the same problem. While I don't know why, you aren't the only one.
Back to top
View user's profile Send private message
silentbob
Apprentice
Apprentice


Joined: 09 Nov 2003
Posts: 159
Location: UK

PostPosted: Sat Aug 28, 2004 8:46 am    Post subject: Reply with quote

hmm, vsound works perfectly for me under KDE after I kill artsd.
Code:
vsound -f <output_filename>.wav -t -v -d -a 60 realplay <url_to_Real_Audio_stream>

I've ripped 2 hrs worth of stream (to 1.2Gb of raw audio) twice now without a hitch. I'm using version 0.6 of vsound, which is masked as ~x86.

You just need to stick into /etc/portage/package.keywords the following:
Code:
media-sound/vsound ~x86

Then emerge vsound as normal.

HTH :P
Back to top
View user's profile Send private message
Wi1d
Apprentice
Apprentice


Joined: 15 Mar 2004
Posts: 282
Location: USA, Iowa

PostPosted: Sat Aug 28, 2004 9:01 am    Post subject: Reply with quote

Hey thanks. I was using version 0.5. Now I can totally get rid of realplayer 8 :)
Back to top
View user's profile Send private message
lynz_addict
n00b
n00b


Joined: 31 Jan 2004
Posts: 54
Location: Singapore

PostPosted: Sun Jan 16, 2005 5:35 pm    Post subject: Reply with quote

Hi! It doesn't seem to get installed on my computer. I do all the steps. But, when I give the command for emerge, it doesn't find the realplayer-bin.
Code:
# emerge realplayer-bin
Calculating dependencies
emerge: there are no ebuilds to satisfy "realplayer-bin".


My /etc/portage/package.use file says:
Code:
# cat /etc/portage/package.keywords
sys-apps/hotplug    ~x86
sys-apps/coldplug   ~x86
media-video/realplayer-bin ~x86

=media-video/mplayer-1.0_pre6 ~x86


My /etc/portage/package.unmask file says:
Code:
# cat /etc/portage/package.unmask
media-video/realplayer
media-plugins/realvideo-codecs


I have got the ebuilds and put them in /usr/local/portage.
Code:
# ls -lR /usr/local/portage/
/usr/local/portage/:
total 4
drwxr-xr-x  3 root root  128 Jan 17 00:05 media-video
-rwxr-xr-x  1 root root 2172 Dec 21 10:38 realplayer-bin.ebuild.tar.gz

/usr/local/portage/media-video:
total 4
drwxr-xr-x  3 root root  352 Dec 21 10:35 realplayer-bin
-rwx------  1 root root 1054 Jan 17 00:05 realplayer-bin-10.0.2.608.ebuild

/usr/local/portage/media-video/realplayer-bin:
total 28
-rwxr-xr-x  1 root root    1411 Dec 21 10:35 ChangeLog
-rwxr-xr-x  1 root portage  722 Dec 21 10:35 Manifest
drwxr-xr-x  2 root root     240 Dec 21 10:35 files
-rwxr-xr-x  1 root root     224 Oct  1 12:40 metadata.xml
-rwxr-xr-x  1 root root    1136 Oct  1 12:34 realplayer-bin-10.0.0.297.ebuild
-rwxr-xr-x  1 root root    1035 Sep  2 08:30 realplayer-bin-10.0.1.366.ebuild
-rwxr-xr-x  1 root root    1031 Oct  1 12:50 realplayer-bin-10.0.1.436.ebuild
-rwxr-xr-x  1 root root    1054 Dec 21 10:29 realplayer-bin-10.0.2.608.ebuild

/usr/local/portage/media-video/realplayer-bin/files:
total 16
-rwxr-xr-x  1 root portage 70 Oct  1 12:40 digest-realplayer-bin-10.0.0.297
-rwxr-xr-x  1 root portage 73 Oct  1 12:40 digest-realplayer-bin-10.0.1.366
-rwxr-xr-x  1 root portage 66 Oct  1 12:51 digest-realplayer-bin-10.0.1.436
-rwxr-xr-x  1 root portage 85 Dec 21 10:35 digest-realplayer-bin-10.0.2.608


Any ideas what is causing the problem?
_________________
ADDictED to PoweR!
ADDictED to LiNuX !!!
Back to top
View user's profile Send private message
lynz_addict
n00b
n00b


Joined: 31 Jan 2004
Posts: 54
Location: Singapore

PostPosted: Sun Jan 16, 2005 6:40 pm    Post subject: Reply with quote

oops! forgot to put
PORTDIR_OVERLAY="/usr/local/portage/"
in /etc/make.conf.
After putting that, realplayer-bin was emerged. Now, I can use Realplayer 10.
_________________
ADDictED to PoweR!
ADDictED to LiNuX !!!
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Wed Nov 02, 2005 5:01 am    Post subject: realplayer w/o gui Reply with quote

does anyone know can i use realplayer w/o the gui? for instance if i have a system w/o X can i still use realplayer from the command line w/o it crashing?
Back to top
View user's profile Send private message
seigen
n00b
n00b


Joined: 09 Sep 2003
Posts: 15

PostPosted: Sun Jul 30, 2006 5:25 am    Post subject: Reply with quote

At times i've used realplayer with a vncserver if I have one stream i'm listening to.

Basically, you put all the programs you want to start in the ~/.vnc/xstartup and then start the server from the command line with vncserver. This can of course be done from remotely through an ssh session. You can then simply kill the server when you want to kill realplayer, or you can get finer control by opening the vnc window on another computer. It could even be a windows computer.

Alternatively, you can possibly get mplayer to play the stream without needing X.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Fri Nov 09, 2007 10:09 am    Post subject: Re: Ripping Real Audio streams Reply with quote

silentbob wrote:
I would like to be able to play & record to mp3 / ogg the Real Audio streams from the BBC Radio 1 listen again feature. This is so that I can stream the excellent Essential Mixes and save them to disk so that I can listen again since the shows are only available online for 1 week after broadcast.

How do I go about this and what software do I need to emerge? I've found some useful links below and via searching the forums. I just want to know the simplest way to get this working.

Real Player 10: https://forums.gentoo.org/viewtopic.php?t=205874&start=25
Real Audio Ripping with Esound:
https://forums.gentoo.org/viewtopic.php?t=42561

Windows guide: http://swen.antville.org/stories/735413/

(Btw paid my £120 BBC license fee so it's all legit!)


This is way old, but if your after Essential Mixes (and a shed load more from Radio 1 and the rest of the world) then point your browser to http://www.themixingbowl.org where you can get virtually ALL of the EM's via bit-torrent (providing their being seeded :wink: )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum