#258617 - 21/06/2005 11:20
Re: ASF stream ripper for Linux?
[Re: tonyc]
|
carpal tunnel
Registered: 13/07/2000
Posts: 4184
Loc: Cambridge, England
|
Quote: I'd like something that goes right from ASF to WAV, MP3, or whatever.
ASF files are WMA files. If you rename them, the car-player might well be able to play them anyway. Otherwise, if you don't mind transcoding losses, can't you just pipe mplayer's output straight into Lame?
Peter
|
Top
|
|
|
|
#258618 - 21/06/2005 11:22
Re: ASF stream ripper for Linux?
[Re: tonyc]
|
carpal tunnel
Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
|
I've used Kaffeine under KDE which allowed me to record a show that was in ASF format. It saved it as a WMA file so as peter says it should play on the empeg.
_________________________
Cheers,
Andy M
|
Top
|
|
|
|
#258620 - 21/06/2005 12:37
Re: ASF stream ripper for Linux?
[Re: tonyc]
|
carpal tunnel
Registered: 13/07/2000
Posts: 4184
Loc: Cambridge, England
|
Quote: The software I want would function like streamripper does for Shoutcast, that is, listen to live streams, and save them as some kind of audio format on disk. WMV would be fine for my purposes.
Ah, sorry, that wasn't the bit I thought you were having trouble with. Depending on the exact stream format, mplayer is probably still the answer though: mplayer <mms: URL> -dumpstream -dumpfile <outfile>. Not sure how you tell it to only record for a certain duration though -- I got bored of the manpage after the first forty screens.
Peter
|
Top
|
|
|
|
#258623 - 21/06/2005 15:43
Re: ASF stream ripper for Linux?
[Re: tonyc]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14547
Loc: Canada
|
No need for a PIDfile.. just have the script that launches it also terminate it.
For example, here (attached) is my bash script I use to record CBC radio, or any other stream.
Eg. save_stream.sh -seconds 20 cbc1
Cheers
Attachments
258219-save_stream.sh (316 downloads)
|
Top
|
|
|
|
#258624 - 21/06/2005 17:05
Re: ASF stream ripper for Linux?
[Re: mlord]
|
carpal tunnel
Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
|
Nice, shame I can't use it with dvbradio (what I used to record Brads NIN stuff) as there are no command line options that do anything usefull. I just set it recording and stuck a killall -s 9 dvbradio in my crontab at the desired time.
_________________________
Cheers,
Andy M
|
Top
|
|
|
|
#258625 - 21/06/2005 17:14
Re: ASF stream ripper for Linux?
[Re: andym]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14547
Loc: Canada
|
Do you mplayer with the DVB stuff (it apparently supports it)?
|
Top
|
|
|
|
#258626 - 21/06/2005 17:26
Re: ASF stream ripper for Linux?
[Re: mlord]
|
carpal tunnel
Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
|
Might have to have a look. I'm supposed to be recording another show for him tonight.
_________________________
Cheers,
Andy M
|
Top
|
|
|
|
|
|