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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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,
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


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.

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Viewers will learn how to create and use Simpler instruments in Ableton Live. Load new Simpler into an empty MIDI track: Select a sample and drop it into sample window in Simpler: If sample is not pitched at C3, adjust tuning with Transpose para…
Viewers will learn how to use Macros for greater control over Rack parameters in Ableton Live. Group devices into a Rack by selecting them and pressing Command-G (Ctrl-G on PC): Control-click (Right Click on PC) a parameter to access pop-up menu, …

630 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