LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2008, 02:50 PM   #1
Jinouchi
Member
 
Registered: Jul 2007
Location: WI, USA
Distribution: Debian, Lenny
Posts: 111

Rep: Reputation: 19
Wget - Download streaming media?


Is there a way to use wget to download streaming videos? I can hardly ever watch them because our connection isn't fast enough, so I want to download them. I try, but all that gets downloaded is a <200B file. The files I want to dl are .wmv's. Anyone know what I'm doing wrong or if it's even possible?

Example:
Code:
$ wget http://byubwmv.byu.edu/edweek/2007/ED_Week_1202_Freeman.wmv
--14:47:21--  http://byubwmv.byu.edu/edweek/2007/ED_Week_1202_Freeman.wmv
           => `ED_Week_1202_Freeman.wmv.1'
Resolving byubwmv.byu.edu... 128.187.59.7
Connecting to byubwmv.byu.edu|128.187.59.7|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 171 [video/x-ms-wvx]

100%[====================================>] 171           --.--K/s

14:47:23 (5.55 MB/s) - `ED_Week_1202_Freeman.wmv' saved [171/171]
So then I try:
Code:
$ mtype ED_Week_1202_Freeman.wmv
[Reference]
Ref1=http://byubwmv.byu.edu/edweek/2007/ED_Week_1202_Freeman.wmv?MSWMExt=.asf
Ref2=http://128.187.59.7:80/edweek/2007/ED_Week_1202_Freeman.wmv?MSWMExt=.asf
Ty in advance for any help you can offer.
 
Old 02-11-2008, 02:53 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
well you're just not clear on what a wmv file is... it's just a playlist, and you've already shown us what's in it... download that.
 
Old 02-11-2008, 02:58 PM   #3
Jinouchi
Member
 
Registered: Jul 2007
Location: WI, USA
Distribution: Debian, Lenny
Posts: 111

Original Poster
Rep: Reputation: 19
I already tried that.
Code:
$ wget http://byubwmv.byu.edu/edweek/2007/ED_Week_1202_Freeman.wmv?MSWMExt=.asf
--14:54:03--  http://byubwmv.byu.edu/edweek/2007/ED_Week_1202_Freeman.wmv?MSWMExt=.asf
           => `ED_Week_1202_Freeman.wmv?MSWMExt=.asf'
Resolving byubwmv.byu.edu... 128.187.59.7
Connecting to byubwmv.byu.edu|128.187.59.7|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 171 [video/x-ms-wvx]

100%[====================================>] 171           --.--K/s

14:54:07 (5.23 MB/s) - `ED_Week_1202_Freeman.wmv?MSWMExt=.asf' saved [171/171]

$ mtype ED_Week_1202_Freeman.wmv?MSWMExt=.asf
[Reference]
Ref1=http://byubwmv.byu.edu/edweek/2007/ED_Week_1202_Freeman.wmv?MSWMExt=.asf
Ref2=http://128.187.59.7:80/edweek/2007/ED_Week_1202_Freeman.wmv?MSWMExt=.asf
Just does the same thing.
 
Old 11-20-2008, 11:21 AM   #4
naxa
LQ Newbie
 
Registered: Nov 2008
Posts: 9

Rep: Reputation: 0
You should change the protocol from http:// to mms:// or to mmst://.
wget doesn't support these as far as I know, so I use mplayer instead.
(http://www.mplayerhq.hu)
It can save streams instead of playing them.

Quote:
mplayer -dumpstream -dumpfile ED_Week_1202_Freeman.wmv mms://byubwmv.byu.edu/edweek/2007/ED_Week_1202_Freeman.wmv?MSWMExt=.asf
or

Quote:
mplayer -dumpstream -dumpfile ED_Week_1202_Freeman.wmv mmst://byubwmv.byu.edu/edweek/2007/ED_Week_1202_Freeman.wmv?MSWMExt=.asf
As far as I know, mms is using the 1755 port instead of 80.
Hope it works for you.

Last edited by naxa; 11-21-2008 at 12:30 AM.
 
Old 11-20-2008, 05:41 PM   #5
Jinouchi
Member
 
Registered: Jul 2007
Location: WI, USA
Distribution: Debian, Lenny
Posts: 111

Original Poster
Rep: Reputation: 19
Hey, Thanks!! That's just what I've been looking for. I use mplayer alot but I didn't know it could do that. Thanks again!
 
Old 11-21-2008, 12:39 AM   #6
naxa
LQ Newbie
 
Registered: Nov 2008
Posts: 9

Rep: Reputation: 0
You're welcome!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
streaming media dcc Linux - Newbie 1 12-20-2006 08:13 PM
streaming media how to lhrt General 1 06-04-2006 03:51 PM
media streaming berrance Linux - Software 0 01-02-2005 06:41 AM
Streaming Media ray-solomon Linux - Software 2 06-28-2003 03:25 PM
streaming media Boom Linux - Newbie 2 01-24-2003 09:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration