[Linux-disciples] Grabbing all of a streaming video

Adam Kessel linux-disciples@bostoncoop.net
Thu, 15 Jan 2004 11:19:15 -0500


On Wed, Jan 14, 2004 at 03:27:37PM -0500, Stephen R Laniel wrote:
> I have a .ASX file -- streaming Windows Media, I think? -- that I
> want to grab the entirety of. The URL is
> http://www.microsoft.com/windowsxp/wmx/wpa300.asx
> Any idea how to grab and save the whole file? It would be helpful
> here at my job. I figured someone here would know how to do this.

I was able to save it to disk with:

mplayer -dumpstream http://207.46.249.94:80/ms/windows/wxp/prodactiv_8x6_Audio_300k.wmv?MSWMExt=.asf

In the past, for embeded quicktime movies, I've had to do:

mplayer -vo yuv2mpeg -ao pcm http://url_of_stream
cat stream.yuv | yuv2lav -o a.avi
lavaddwav a.avi audiodump.wav full.avi

But in this case the simple -dumpstream worked for me. If you want the
stream file, let me know.
-- 
Adam Kessel
http://bostoncoop.net/adam