Solved

Streaming WMV using WVX is not working

Posted on 2007-03-19
8
908 Views
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="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="autoStart" value="True">
<param name="filename" value="http://www.thefinancialphysician.com/FP.wvx">
<param name="ShowControls" value="True">
<param name="AutoRewind" value="True">
<param name="ShowStatusBar" value="True">
<embed type="video/x-ms-wvx" src="http://www.thefinancialphysician.com/FP.wvx" name="MediaPlayer" width="400" height="300" autostart="true">
</embed>
</object>
===== the url for the above-referenced page in case you would like to see the code is http://www.thefinancialphysician.com/FP.htm ==============
______________________________________________________________________________
Then the contents of the .WVX page:

<ASX version = "3.0">
<Entry>
    <Ref href = "mms://205.178.146.41/474163/Financial_Physician.wmv" />
      <TITLE>Operation Rescue</TITLE>
</Entry>
</ASX>
______________________________________________________________________________

I have http://www.thefinancialphysician.com/test.html 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,
Lynn

0
Comment
Question by:biffsmith
  • 4
  • 4
8 Comments
 
LVL 4

Expert Comment

by:streaminglinux
ID: 18753444
Lynn:
To help you in an integral way, first I have to be assured that the link:
mms://205.178.146.41/474163/Financial_Physician.wmv
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.
0
 

Author Comment

by:biffsmith
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.

Lynn
0
 
LVL 4

Expert Comment

by:streaminglinux
ID: 18753978
Lynn:

1. Their internal IP network:

When I follow thie link to the video, the 205.178.146.41 IP address of the link resolves to the private IP 10.49.34.41 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:
mms://205.178.146.41/474163/Financial_Physician.wmv

Give us:
mms://10.49.34.41:80/474163/Financial_Physician.wmv

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,
Erwin
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

Author Comment

by:biffsmith
ID: 18755189
Thanks, Erwin,

A telephone call again to the support department left me disappointed. The gentleman insisted that the path I had (mms://205.178.146.41/474163/file.wmv) 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.
Lynn
0
 

Author Comment

by:biffsmith
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 (205.178.146.41/474163/file.wmv) 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*
Lynn
0
 
LVL 4

Accepted Solution

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

Why?
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,
Erwin
0
 

Author Comment

by:biffsmith
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 ;)

Lynn

0
 
LVL 4

Expert Comment

by:streaminglinux
ID: 18767650
Lynn:
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!
Regards,
Erwin
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Are you looking to clear some space on your phone for the latest iOS 8 update? Did you switch to Spotify so you no longer need to keep music native on your phone? Run out of space for taking photos while in the middle of vacation? Sometimes the quic…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Viewers will get an overview of how to make and use Drum Racks in Ableton Live. Load new Drum Rack into empty MIDI track: Fill rack with audio samples: Re-arrange sample slots as necessary: Adjust parameters of each slot to tailor each sound a…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

786 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