LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-21-2012, 11:01 AM   #1
g4ry
LQ Newbie
 
Registered: Dec 2012
Posts: 20

Rep: Reputation: Disabled
Streaming and recording internet radio


I've been using streamtuner from slackbuilds and streamripper to record. Now I'm using vlc and wondered if anyone knew of a way to record whilst listening through vlc?

Thanks.

Last edited by g4ry; 12-21-2012 at 11:05 AM.
 
Old 12-22-2012, 07:01 AM   #2
4Strings
Member
 
Registered: Aug 2010
Distribution: slackware-14.1
Posts: 38

Rep: Reputation: 5
Hi,

You could try by using "mplayer":
Code:
mplayer -dumpstream [url_stream]
You will get the output file "stream.dump".

Last edited by 4Strings; 12-22-2012 at 07:06 AM.
 
Old 12-22-2012, 07:37 AM   #3
slacktroll
Member
 
Registered: May 2011
Distribution: Slackware 14.0 on Thinkpad X60
Posts: 57

Rep: Reputation: 3
ffmpeg -f alsa -i plughw output.wav

note: won't work with sda-hda-intel >= AD1984 due to 1984.
 
Old 12-22-2012, 08:53 AM   #4
g4ry
LQ Newbie
 
Registered: Dec 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thanks 4Strings and slacktroll, I'll give those a go.
 
Old 12-22-2012, 12:51 PM   #5
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,047

Rep: Reputation: 170Reputation: 170
VLC will play your file locally *and* save to file out-of-the-box.

Media>Stream>Choose Source>Stream>Destination Setup>File Add>...check Display Locally

This can also be accomplished via cli using clvc.

cheers,
 
Old 12-22-2012, 02:31 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
Quote:
Originally Posted by mrclisdue View Post
VLC will play your file locally *and* save to file out-of-the-box.

Media>Stream>Choose Source>Stream>Destination Setup>File Add>...check Display Locally

This can also be accomplished via cli using clvc.

cheers,
This commandline for instance will run VLC in a curses interface (i.e. you can start it in a terminal or the Linux console) and it will record 5 minutes (300 seconds) of the stream into an output file called "streamcapture.mp3" after which VLC will stop automatically:

Code:
$ nvlc http://taper.alienbase.nl/slackware14 --sout "#duplicate{dst=std{access=file,mux=raw,dst=streamcapture.mp3}" --stop-time 300 vlc://quit
You can of course use cvlc instead of nvlc but the ncurses interface is more informational.

Eric
 
  


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 internet radio to seperate files haruko33 Linux - Software 2 09-07-2006 02:42 AM
Streaming internet radio stops after 7 minutes vdemuth Linux - Software 4 09-12-2004 03:03 AM
xmms freeze with streaming internet radio goverd Linux - Software 1 04-24-2004 11:51 AM
Streaming internet Radio Mr54mk Linux - Newbie 4 12-13-2003 08:09 PM
internet radio and recording it jetfreggel Linux - Software 3 11-18-2002 04:19 PM


All times are GMT -5. The time now is 07:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration