LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2007, 03:07 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
Live stream audio capture


Hello Friends,

I want to download one RM song from internet, but they are not giving download facility.

So i decided to Capture it from my Soundcard, In Windows world one Tool called "Total Recorder" is there. BUt that is $$, And I am using openSUSE 10.2, Debian 3.1. But really i want to do it in Linux.

Is there any tool/program to save the Audio Packets pass through my *Sound Card*..?

I tried drakice and arecord, but both are recording through my mic.

So the tool has to capture and save while playing the audio in the internet.

Thanks
 
Old 03-12-2007, 04:07 AM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
mplayer -dumpstream your.url.rm -novideo -dumpfile playfile.rm

I am not sure whether you can record and listen to the stream at the same time. However, as long as the buffer is filled, you can play the playfile.rm while recording goes on. If you start playing the file 60 seconds after recording you should be fine.

jlinkels
 
Old 03-12-2007, 07:29 AM   #3
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
thx

yeah, But i don't have the Real stream media URL, Because when i click in the website songs, it automatically opens the new windows and plays it..

IS there any way to get Link for that RM file?

Or else, While my Speaker plays it, how to Capture it???
Thanks
 
Old 03-12-2007, 07:58 AM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Yeah, the intention of rm is definitely not that you are able to record the streams :-)

Most succes I have had to view the source of whatever popped up. Usually an application on your computer starts up and is passed a parameter which contains the url of the stream. The url can also be a small text file containing the url.

Can you post an example of a link you are trying to play?

jlinkels
 
Old 03-12-2007, 08:07 AM   #5
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
Yeah..

Go to this site click any song and play it, A new window will open after u press play.

http://www.dishant.com/album/Nama-Shivaya-(tamil).html

In that small new window uses an realplay, to Stream the RM file and play it.

So, i no way i can find the URL from where the stream comes..Can u ?

But i got some clue,

http://www.dishant.com/sharemailsong.php?songid=24918

Does that link will work.

Thanks
 
Old 03-12-2007, 08:43 AM   #6
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
Hello,

the url of the real stream can be found with the method jlinkels explained and then dumped with the mplayer command.
The stream url of the 1st song for example is rtsp://69.13.37.214/jukebox/3646/24918.rm
 
Old 03-12-2007, 08:48 AM   #7
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
Oh,

Can you please show me , how u got that link.?

I still strugling to get it.Thanks
 
Old 03-12-2007, 08:55 AM   #8
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
When I clicked "play selected" another window popped up with the title "Hindi Music Movie Songs - Dishant.com - Bollywood Tamil Telugu Malayalam...etc ". This window is built up with frames. You have to make the source visible of the pane which contains the play, pause etc. buttons.

In Opera you can do that by right-clicking somewhere in that pane and say Frame | View Source. If you have a different browser, find out how to do this, every browser is able to do so.

When you view this source, somewhere there is this code snippet:

Code:
	 <OBJECT ID="RVOCX" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH=0 HEIGHT=0>
	 <PARAM NAME="SRC" VALUE="http://www.dishant.com/jukebox/playselected1736.ram"> 
    	<PARAM NAME="CONTROLS" VALUE="InfoVolumePanel,PositionField,PositionSlider">
		<PARAM NAME="AUTOSTART" VALUE="TRUE">
		<PARAM NAME="LOOP" VALUE="">
		<PARAM NAME="SHUFFLE" VALUE="">
You see the name if this file:
VALUE="http://www.dishant.com/jukebox/playselected1736.ram"

Get this text file with wget:

Code:
wget VALUE="http://www.dishant.com/jukebox/playselected1736.ram
Open it, and you'll find in this file:
Code:
rtsp://69.13.37.214/jukebox/3646/24918.rm?title="Hara Hara Sivane"&author="Nama Shivaya (tamil)"&copyright="2006
You only need the part in front of the "?". All the rest is additional information.

So, this works and plays Hindi music:
Code:
mplayer rtsp://69.13.37.214/jukebox/3646/24918.rm
Now you can catch the stream as I described in my earlier post.

jlinkels
 
Old 03-12-2007, 09:00 AM   #9
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
if you are using firefox/iceweasel just right click on the flash popup window and choose "site information" or similar (freely translated as I have german browser). Then choose the 'links' tab and you see the url of the ram file, which contains the stream url (http://www.dishant.com/jukebox/playselected25259.ram for the 1st song). You can download that with wget or directly open the url in realplayer, then choose in the first menu 'show clip information' (freely translated) and there is the stream url.
 
Old 03-12-2007, 09:02 AM   #10
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
oh, jlinkels was faster
 
Old 03-12-2007, 12:13 PM   #11
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
Thanks,

I used both opera and firefox,

In opera, I can open Frame -> View source but i don't have the field you told.
Look at this file ,..http://rootshell.be/~navaladi/jukepcd.html

Please view it using vim/gedit.


And in Firefox 2.0 If i right/left click nothing is coming, I mean, no menu is opening for site information.

Thanks
 
Old 03-12-2007, 12:50 PM   #12
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
don't click directly on the flash content. Right click slightly below it in the empty field, the normal context menu will pop up.
 
Old 03-12-2007, 01:16 PM   #13
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
almatic - I clicked everywhere, but i don't get.

Can u pls locate the exact place, I mean near to Pause || Play or || Foreward or || Nearer to any known place.

I tried many times, its not coming up.

Thanks
 
Old 03-12-2007, 02:03 PM   #14
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67

you are joking me, right ?
look at this pic
http://freenet-homepage.de/dateigarage/kde43.png
I have clicked on the place marked with an red X for the context menu, but it works everywhere in the space I marked red
 
Old 03-13-2007, 01:11 AM   #15
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
Almatic Please i am not joking, look at the images u will understand.

http://rootshell.be/~navaladi/snapshot2.png
http://rootshell.be/~navaladi/snapshot3.png
http://rootshell.be/~navaladi/snapshot4.png
http://rootshell.be/~navaladi/snapshot5.png
http://rootshell.be/~navaladi/snapshot6.png

The context menu appears -> Links But i don't get the "ram" file URL.

I have also tested this in debian, mandriva both have problem. I have tested in opera, konqueror also

The ram file is not appearing in Links section, where i am going wrong.?

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
recording from a live broadcasting stream? firedude Linux - Desktop 3 06-15-2007 01:54 AM
how to capture internet stream? jpgeerets Linux - Software 4 03-07-2007 08:15 AM
Real-Time Multiple Stream Video Capture Notwerk Linux - Software 2 09-21-2006 02:43 PM
Live TV Stream Screener Linux - Software 0 07-02-2006 10:17 PM
Creating a live video stream little_penguin Linux - Software 1 08-12-2005 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration