Streaming WMV using WVX is not working

Posted on 2007-03-19
Last Modified: 2013-12-07
I am attempting to stream large .WMV file using .WVX file. I've embedded the WMP into the page like this:

<object id="MediaPlayer" width="400" height="300" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase=",4,7,1112">
<param name="autoStart" value="True">
<param name="filename" value="">
<param name="ShowControls" value="True">
<param name="AutoRewind" value="True">
<param name="ShowStatusBar" value="True">
<embed type="video/x-ms-wvx" src="" name="MediaPlayer" width="400" height="300" autostart="true">
===== the url for the above-referenced page in case you would like to see the code is ==============
Then the contents of the .WVX page:

<ASX version = "3.0">
    <Ref href = "mms://" />
      <TITLE>Operation Rescue</TITLE>

I have pointing to FP.htm (on the "view the video" link).
Both test.html and FP.htm are in the website's directory, and so is FP.wvx.
The video file (Financial_Physician.wmv) is 302.6 MB and is sitting on a streaming media server elsewhere.

I'm out of my mind trying to figure out why this does not work.  Any clues, anyone?

Thank you so very much,

Question by:biffsmith
  • 4
  • 4

Expert Comment

ID: 18753444
To help you in an integral way, first I have to be assured that the link:
is working.

I can't see the link working from here, and it is the mms direct link, the streaming itself.
This is the first thing we need to check, after we have this resolved, we will approach the next things.
We will work on this one.

Author Comment

ID: 18753670
Hi and thanks -

So this link is "not working" - meaning the path is incorrect, you think?  The web server folks generated an IP address for the streaming media server - and told me to upload to that IP into a specific directory (/wms).  Yet the instructions say to configure the link as the mms: string you see: where 205.178... is the IP address of the streaming server and /474163 is the "domain ID".  They told me not to include the /wms directory in the path.

My first inclination was that I had the wrong URL to the file. It's been my gut feeling all along - but when I contact the support personnel at the server, I can't get a straight answer to "what is the absolute path to the file I uploaded".

So you're right on - and I've called them and they can't answer me - so I opened a support ticket to find the absolute path to the file.

How utterly ridiculous is this?

Thanks for your help - and thanks for answering. As soon as they get back to me on the URL, I'll post an addendum.


Expert Comment

ID: 18753978

1. Their internal IP network:

When I follow thie link to the video, the IP address of the link resolves to the private IP in their server farm.

But there is one thing interesting, they make the link work with mms (default protocol port 1755) but telling the WMP to ask port 80 to resolve the query, instead of allowing the "HTTP Streaming" feature and leave port 80 automatically redirecting the querys to the Windows Media Services 9 Server.

A query to:

Give us:

2. Their virtual directories structure:

Maybe they set up /wms as a virtual directory to their C:\WMPub\WMRoot\474163 directory, where the file Financial_Phisician.wmv ought to be, (this could be the way they use to organize their streaming clients, because your domain is registered with them), but what we need is just a simple working link to the file given from the hosting provider to us, the rest will be easy to create. We don't need to know their absolute path, in fact, what we need to know is their virtual CORRECT path to the wmv file.

3. The only thing we need from them to solve this:

Ask them for a working link to the video, they can send it to you in an email, that's all that we need.
Read you soon, we are getting closer to this one,

Author Comment

ID: 18755189
Thanks, Erwin,

A telephone call again to the support department left me disappointed. The gentleman insisted that the path I had (mms:// was correct.  When I asked him to open a browser window and play the file by following that path, lo and behold it didn't work for him.  (Imagine that!)

He opened yet another "escalated ticket" to the engineering department to find out what's wrong with that folder...  He seems to think the path is correct but there's a problem with the directory.  (I did check the file permissions and they are set to 777.)

So again I wait.

I will update when I get a definitive answer.  Again, thanks for your assistance.
Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  


Author Comment

ID: 18760147
UPDATE: I finally was able to speak with a tech who actually found the problem.  It wasn't what I wanted to hear, but his explanation at least was plausible and is the reason it's not working.  The media servers there have a 50MB file size limit.  This file is 302 megs.  The path ( was correct.  I uploaded a small file there and tried it, and it works.  It wouldn't even recognize the larger file - so it was displaying as not found.

Back to the drawing board -- I just uploaded the file to a website directory called /video instead.  (And I changed its name to FP.wmv for ease of typing.)  Then I changed the .WVX file to point to it, and it's working. Not too badly, either, considering it's a 302 MB file on a non-streaming server.

I thank you for your assistance to this point... any other pointers before I call this a wrap?

*sighing at the NON-service of many customer service personnel*

Accepted Solution

streaminglinux earned 500 total points
ID: 18760562
50 MB. What can we do with 50 mb . . .
1. How much time the video takes?
2. Which is the resolution? (720x480, 640x480, 320x240)
3. Which is the bitrate? (1MBPS, 340kbps, 512kbps)

Because you can create two versions: The first, the Progressive Streaming you've already set and the second, a low bitrate version (284-320kbps) in a 400x300 or 320x240 pixeles that can be fast-forwarded and rewinded at the users will.

Well, at least you find out the reason and the Progressive works OK.
If you don't want to keep trying other ways because is to demanding or because xyz, it was a pleasure to meet you, (and I mean it)
Best regards,

Author Comment

ID: 18763856
Hi Erwin,

Good questions... excellent in fact.  And this not being my "gig" I can only answer the obvious one.  The video is 26:41.  The client gave it to me on DVD and said "here - put this on my website".

That ignorance willfully admitted, I'm now afraid of bandwidth ramifications should this thing be repeatedly viewed.  I did warn the client about it - but in true client fashion they just want me to "make it work", dismissing any other concerns.  So I am interested in offering other alternatives - yes.  But the client wants the high-res version only, because they're trying to sell it as a product to networks as a pilot for a series.

I need to learn more about this technology - and it seems like I say that a lot!  An unbelievable place, this Web.  Truly so much to learn, so little time!

Thank you, Erwin, for your time and obvious expertise.  I very much appreciate your willingness to teach.  I love being a student ;)



Expert Comment

ID: 18767650
This video takes 26:41, then, it is 1601 seconds. If we want to compress to 340kbps (331kbps in fact), we multiply 1601 x 331 = 529931 kb.  Now this is kilobits not kilobytes, so we convert it like this: 529931 kb / 8 bits = 66241.375 KB Then, we convert it to megabytes: 66241.375 / 1,024 = 64.68 MB

Then we conclude that encoding with a regular (not optimal) bitrate (340kbps), and generating a 320x240 "screen", we dont have the space to stream it from the media server of the hosting company, but, we can have a good experience if we do Progressive with a lower bitrate, at least you won't have multiple buffering when they play it.

I don't know how is playing the video, but if you want to know to encode (a very simple procedure, by the way) I will teach you, (unless you know it  already). I'm here, you know.

And last but not least, thank you for the points!

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to create a tile layout 1 39
Return data with AJAX, JQUERY and PHP 13 56
Is there an event to update the text when user types in textbox? 6 41
simplest php form 3 64
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
Viewers will learn how to turn a Live Set into a compressed Live Pack file, and how to install Live Packs. Make: File > Collect All And Save: File > Manage Files: Click Manage Project: Click Create Pack: Select save location: Install: Doub…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now