Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-28-2008, 10:02 AM
|
#1
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561
Rep:
|
How to record a stream and start a new outputXXX.avi/mp3 for each new stream title ?
How to record a stream and start a new outputXXX.avi/mp3 for each new stream title ?
thanks
|
|
|
06-29-2008, 02:38 AM
|
#2
|
LQ Newbie
Registered: Mar 2007
Posts: 20
Rep:
|
FrenchNoob,
I use mplayer to capture record radio streams regularly. I have a script for each stream I want to capture, and use crontab to execute the scripts. The scripts write unique file names based on the current date.
The syntax is:
/usr/bin/mplayer <url> -ao pcm:file=outfile.wav -vc dummy -vo null -quiet
As you might have guessed, this dumps the stream to a WAV. Each script uses LAME to convert to MP3.
A quick Google search shows that a combination of the -ao and -vo switches are required to record a multimedia stream to an AVI file. I have never recorded video, so I can't help you there.
Hope this helps at least a little.
Regards,
opc
|
|
|
06-29-2008, 06:43 AM
|
#3
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561
Original Poster
Rep:
|
thx I ll look
--
mplayer -vo null -vc dummy -dumpstream 'http://streaming.radionomy.com:8000/Retro-House-Belgium-' -dumpfile techno-radio-one-hour-only.mp3
mencoder movie.wmv -o movie.avi -ovc lavc -oac mp3lame -lameopts vbr=2:q=3
|
|
|
08-04-2008, 06:33 AM
|
#4
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561
Original Poster
Rep:
|
Quote:
Originally Posted by opc
FrenchNoob,
I use mplayer to capture record radio streams regularly. I have a script for each stream I want to capture, and use crontab to execute the scripts. The scripts write unique file names based on the current date.
The syntax is:
/usr/bin/mplayer <url> -ao pcm:file=outfile.wav -vc dummy -vo null -quiet
As you might have guessed, this dumps the stream to a WAV. Each script uses LAME to convert to MP3.
A quick Google search shows that a combination of the -ao and -vo switches are required to record a multimedia stream to an AVI file. I have never recorded video, so I can't help you there.
Hope this helps at least a little.
Regards,
opc
|
I would like to get in my :
~/music
all the new MP3 that are played...
to sort of dump the stream mp3 for my pendrive ...
can mplayer or a console mode program do the job ???
tahnks
|
|
|
08-04-2008, 06:40 AM
|
#5
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561
Original Poster
Rep:
|
I found this http://www.bitcartel.com/radiolover/ ; but a backend (console only) would be what linux needs.
|
|
|
All times are GMT -5. The time now is 10:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|