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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-11-2008, 02:50 PM
|
#1
|
Member
Registered: Jul 2007
Location: WI, USA
Distribution: Debian, Lenny
Posts: 111
Rep:
|
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.
|
|
|
02-11-2008, 02:53 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
02-11-2008, 02:58 PM
|
#3
|
Member
Registered: Jul 2007
Location: WI, USA
Distribution: Debian, Lenny
Posts: 111
Original Poster
Rep:
|
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.
|
|
|
11-20-2008, 11:21 AM
|
#4
|
LQ Newbie
Registered: Nov 2008
Posts: 9
Rep:
|
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.
|
|
|
11-20-2008, 05:41 PM
|
#5
|
Member
Registered: Jul 2007
Location: WI, USA
Distribution: Debian, Lenny
Posts: 111
Original Poster
Rep:
|
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!
|
|
|
11-21-2008, 12:39 AM
|
#6
|
LQ Newbie
Registered: Nov 2008
Posts: 9
Rep:
|
You're welcome! 
|
|
|
All times are GMT -5. The time now is 04:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|