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 |
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 |
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 |
Quote:
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 |
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:18 PM. |