Re: [SLUG] ripping a window$ media stream?

2007-07-19 Thread Steve Lindsay

On 7/19/07, Sonia Hamilton [EMAIL PROTECTED] wrote:
snip


$ mplayer http://138.25.162.211:8080 -dumpaudio -dumpfile foo

This doesn't give any errors, but mplayer won't play the file. Is this
the right way to rip using mplayer? Is there an easier way to do this
(maybe using another program)?



It works if you use -dumpstream instead of -dumpaudio. Perhaps mplayer
can't specifically separate out the audio from the stream for that
particular format?

CheersSteve
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ripping a window$ media stream?

2007-07-19 Thread David Kempe
Sonia Hamilton [EMAIL PROTECTED] wrote:
 This doesn't give any errors, but mplayer won't play the file. Is this
 the right way to rip using mplayer? Is there an easier way to do this
 (maybe using another program)?


vlc can rip streams like this and it supports windows media

dave


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ripping a window$ media stream?

2007-07-19 Thread David Gillies
Hi Sonia,

Sonia Hamilton wrote:
 I'm trying to rip a window$ media stream, looking for some
 hints... The stream is http://www.2ser.com/stream.
 
 Playing the stream using mplayer works:
 
 $ mplayer http://138.25.162.211:8080 

I use mplayer this way to rip 2SER to a wave file. Then afterwards you
can compress into whatever format you like:

mplayer -cache 512 -vc null -vo null -ao pcm:file=2ser.wav
http://138.25.162.211:8080

-- 
dave.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ripping a window$ media stream?

2007-07-19 Thread Sonia Hamilton
* On Fri, Jul 20, 2007 at 10:20:13AM +1000, David Kempe wrote:
 Sonia Hamilton [EMAIL PROTECTED] wrote:
  This doesn't give any errors, but mplayer won't play the file. Is this
  the right way to rip using mplayer? Is there an easier way to do this
  (maybe using another program)?
 
 vlc can rip streams like this and it supports windows media

I first tried mplayer so that I can script it, setup cronjobs.

Is vlc scriptable? If so, what'd be the command to rip this 'blows media
stream?

-- 
Sonia Hamilton.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ripping a window$ media stream?

2007-07-19 Thread Sonia Hamilton
* On Thu, Jul 19, 2007 at 05:32:28PM +1000, Steve Lindsay wrote:
 It works if you use -dumpstream instead of -dumpaudio. Perhaps mplayer
 can't specifically separate out the audio from the stream for that
 particular format?

Thanks, that worked! Out of interest, what format would that be coming
out as natively (I'm an audio noob)? Playing says:

 Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
 AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8003-176400)
 Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))

* On Fri, Jul 20, 2007 at 09:34:03AM +1000, David Gillies wrote:
 I use mplayer this way to rip 2SER to a wave file. Then afterwards you
 can compress into whatever format you like:
 
 mplayer -cache 512 -vc null -vo null -ao pcm:file=2ser.wav
 http://138.25.162.211:8080

Thank!!! I'll use a script like this:

 newname=${1%wav}mp3
 lame -h -m s $1 -o $newname

Any easier way to do this?

-- 
Sonia Hamilton.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ripping a window$ media stream?

2007-07-19 Thread Steve Lindsay

On 7/20/07, Sonia Hamilton [EMAIL PROTECTED] wrote:


Thanks, that worked! Out of interest, what format would that be coming
out as natively (I'm an audio noob)? Playing says:

 Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
 AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8003-176400)
 Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))



Umm I assume its DivX audio v2, which may or may not have some
relation to the windows media audio format, I'm not really sure.

Disclaimer: Technical assistance provided by Steve should not be
interpreted in any way as an endorsement by Steve of activities that
may or may not have the approval of the broadcaster.

CheersSteve
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html