Streaming wmv files behind an Apache Server

Streaming wmv files behind an Apache Server

Post by Pete » Thu, 19 Dec 2002 15:02:49



Hello all,

First, my apologies if this is not the correct group to ask this
question, but I'm just a WMS newbie going through the newsgroups
without finding a correct answer to my problem.

My setup is as follows:

Internet
  ||
Apache Server (hosting index.html) (named web-server on the LAN)
  ||
WMS Server running on Windows 2000 Server (hosting the *.asx files as
well as *.wmv content)

I have created a bunch of  *.wmv files (not *, just in case anyone
cares) and placed them on 'D:\media' directory on my WMS Server.
Created the corresponding *.asx files using the WMS On Demand Wizard
with the following format:

<asx version = "3.0">
  <title>Dec132002-01</title>
  <entry>
    <ref href = "mms://WEB-SERVER/media/video-01.wmv"/>
  </entry>
</asx>

First question: is it ok to have the *.asx files pointing to
web-server' name instead of to the WMS Server's IP Address?

Created a Home Unicast Publishing Point pointing to 'D:\media'.

I created an index page using UltraDev with links to my *.asx files on
the WMS Server and placed it on my Apache Server. The links I created
with UltraDev created are pointing to:

file://web-server/D/Media/moms-house01.asx

Are these links ok?  Aren't they suppose to be linked to something
like mms://?

If I point Media Player to 'mms://WEB-SERVER/media/video-01.wmv' on a
PC on the LAN, video starts streaming after a few secs. I know it's
streaming because if I just unplug the NIC cable, the video stops :)

If I open any *asx file either on the WMS Server or on a PC on the
LAN, video starts streaming.

If I open index.html (on the Apache Server) on any pc on the LAN on
Internet Explorer and click on the links pointing to my *.asx files,
video starts buffering and after a few second it starts streaming.

Problem starts when I try to access my content from a PC outside the
LAN. I can open index.html on the Apache Server (BTW, I have my own
registered domain name) but when I click on any link to my *.asx
files, I just get a 'This page can not be displayed' error page from
the web browser. I have tried from 3 different PCs to make sure it
wasn't a client pc issue. I thought that this might be due to the
*.asx files linking to a Netbios name (web-server in my case) so I
manually edited the *.asx files and point them to 192.168.1.100 (the
web-server's internal IP address) instead of the Netbios name
'web-server'. No change, I still can't access the content from
outside.

Now, logic tells me that just as Netbios names are not routable on the
Internet, neither are private IP addresses, so I must be doing
something wrong because when I click on a link on index.html it tries
either to connect to 'mms://web-server' or to 'mms://192.168.1.100'
(after I manually edited the files) which in either case are not
routable. Or is this ok as the index.html page from my Apache Server
is actually serving content from the WMS Server on the LAN?

Do I necessarily need a global IP address for the Media Server (I have
only one IP Address assigned to my Apache Server)

Do I need to have IIS installed on the WMS Server even though I only
need to serve Media Content?

Is there a faster utility to generate the *.asx files than the one
included in the Media Server (On Demand Wizard)?

Can someone explain me how to dynamically generate *.asx files using
ASP as shown in MS KB article 184396? Where do I insert that piece of
code in an ASP page?

In any case, I have read that I'd be better off having two servers if
I need to distribute content. One hosting the index page and taking
care of user authentication and the other (the WMS Server) hosting the
*.asx and *.wmv files exclusively. Is this right?

Any help will be gratefully appreciated,

Cheers,

Peter

 
 
 

Streaming wmv files behind an Apache Server

Post by Hoyasoft Suppor » Thu, 19 Dec 2002 16:53:33


 Do I need to have IIS installed on the WMS Server even though I only
Quote:> need to serve Media Content?

No.

Quote:> how to dynamically generate *.asx files using ASP

Insert at the begining of the output page.
Response.ContentType="video/x-ms-asf"
Response.addheader("Content-disposition","inline; filename=" & filename &
".asx")
Response.Write( ......)

Hope this will help.

Tech Support from
www.hoyasoft.com


Quote:> Hello all,

> First, my apologies if this is not the correct group to ask this
> question, but I'm just a WMS newbie going through the newsgroups
> without finding a correct answer to my problem.

> My setup is as follows:

> Internet
>   ||
> Apache Server (hosting index.html) (named web-server on the LAN)
>   ||
> WMS Server running on Windows 2000 Server (hosting the *.asx files as
> well as *.wmv content)

> I have created a bunch of  *.wmv files (not *, just in case anyone
> cares) and placed them on 'D:\media' directory on my WMS Server.
> Created the corresponding *.asx files using the WMS On Demand Wizard
> with the following format:

> <asx version = "3.0">
>   <title>Dec132002-01</title>
>   <entry>
>     <ref href = "mms://WEB-SERVER/media/video-01.wmv"/>
>   </entry>
> </asx>

> First question: is it ok to have the *.asx files pointing to
> 'web-server' name instead of to the WMS Server's IP Address?

> Created a Home Unicast Publishing Point pointing to 'D:\media'.

> I created an index page using UltraDev with links to my *.asx files on
> the WMS Server and placed it on my Apache Server. The links I created
> with UltraDev created are pointing to:

> file://web-server/D/Media/moms-house01.asx

> Are these links ok?  Aren't they suppose to be linked to something
> like mms://?

> If I point Media Player to 'mms://WEB-SERVER/media/video-01.wmv' on a
> PC on the LAN, video starts streaming after a few secs. I know it's
> streaming because if I just unplug the NIC cable, the video stops :)

> If I open any *asx file either on the WMS Server or on a PC on the
> LAN, video starts streaming.

> If I open index.html (on the Apache Server) on any pc on the LAN on
> Internet Explorer and click on the links pointing to my *.asx files,
> video starts buffering and after a few second it starts streaming.

> Problem starts when I try to access my content from a PC outside the
> LAN. I can open index.html on the Apache Server (BTW, I have my own
> registered domain name) but when I click on any link to my *.asx
> files, I just get a 'This page can not be displayed' error page from
> the web browser. I have tried from 3 different PCs to make sure it
> wasn't a client pc issue. I thought that this might be due to the
> *.asx files linking to a Netbios name (web-server in my case) so I
> manually edited the *.asx files and point them to 192.168.1.100 (the
> web-server's internal IP address) instead of the Netbios name
> 'web-server'. No change, I still can't access the content from
> outside.

> Now, logic tells me that just as Netbios names are not routable on the
> Internet, neither are private IP addresses, so I must be doing
> something wrong because when I click on a link on index.html it tries
> either to connect to 'mms://web-server' or to 'mms://192.168.1.100'
> (after I manually edited the files) which in either case are not
> routable. Or is this ok as the index.html page from my Apache Server
> is actually serving content from the WMS Server on the LAN?

> Do I necessarily need a global IP address for the Media Server (I have
> only one IP Address assigned to my Apache Server)

> Do I need to have IIS installed on the WMS Server even though I only
> need to serve Media Content?

> Is there a faster utility to generate the *.asx files than the one
> included in the Media Server (On Demand Wizard)?

> Can someone explain me how to dynamically generate *.asx files using
> ASP as shown in MS KB article 184396? Where do I insert that piece of
> code in an ASP page?

> In any case, I have read that I'd be better off having two servers if
> I need to distribute content. One hosting the index page and taking
> care of user authentication and the other (the WMS Server) hosting the
> *.asx and *.wmv files exclusively. Is this right?

> Any help will be gratefully appreciated,

> Cheers,

> Peter


 
 
 

Streaming wmv files behind an Apache Server

Post by Pete » Thu, 19 Dec 2002 19:27:58


???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????..????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????>??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????>
 
 
 

Streaming wmv files behind an Apache Server

Post by Pete » Thu, 19 Dec 2002 19:36:04


????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????..????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????>??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????>
 
 
 

Streaming wmv files behind an Apache Server

Post by Pete » Thu, 19 Dec 2002 22:27:17


????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????`??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????.???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
 
 
 

Streaming wmv files behind an Apache Server

Post by Pete » Thu, 19 Dec 2002 22:56:40


???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????..????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????>??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????>
 
 
 

Streaming wmv files behind an Apache Server

Post by Pete » Thu, 19 Dec 2002 23:24:12


I tried posting my new findings below through Microsoft's newsgroups
but all I kept getting were question marks. Sorry about that.

================================================================

Hello again,

I'm responding to my own email with a few 'extras'.

I read through ngs and found some more info that I wasn't aware of.

First, I'm only using one public IP address, and I've found multiple
postings of people like me, who unsuccesfully tried to link the *.asx
files to a Netbios name (mms://netbios_name/path_to_asx/*.asx). Dumb
me. I'm now aware that I must correct this otherwise client pcs will
never find the streams, but, if I only have one routable IP address,
which IP am I supposed to asign to my WMS Server *.asx files?

Second, I run a firewall on the same machine hosting my Apache Server
and did not open/redirected the appropiate ports. Dumb me again. I
have opened TCP/UDP 1755 and forwarded them to my WMS Server so that
it can serve the WMS content. Do I need to forward port 80 at all to
the WMS Server? because if I do so, the client PCs won't find
index.html (located on the Apache Server), or is it ok just to open it
so that http streaming (outbound) can reach pc clients behind a
nat/firewall?

Any help or ideas will be appreciated

Peter

>-----Original Message-----
> Do I need to have IIS installed on the WMS Server even though I only
>> need to serve Media Content?
>No.

>> how to dynamically generate *.asx files using ASP
>Insert at the begining of the output page.
>Response.ContentType="video/x-ms-asf"
>Response.addheader("Content-disposition","inline; filename=" &
filename &
>".asx")
>Response.Write( ......)

>Hope this will help.

>Tech Support from
>www.hoyasoft.com



>> Hello all,

>> First, my apologies if this is not the correct group to ask this
>> question, but I'm just a WMS newbie going through the newsgroups
>> without finding a correct answer to my problem.

>> My setup is as follows:

>> Internet
>>   ||
>> Apache Server (hosting index.html) (named web-server on the LAN)
>>   ||
>> WMS Server running on Windows 2000 Server (hosting the *.asx files
as
>> well as *.wmv content)

>> I have created a bunch of  *.wmv files (not *, just in case
anyone
>> cares) and placed them on 'D:\media' directory on my WMS Server.
>> Created the corresponding *.asx files using the WMS On Demand
Wizard
>> with the following format:

>> <asx version = "3.0">
>>   <title>Dec132002-01</title>
>>   <entry>
>>     <ref href = "mms://WEB-SERVER/media/video-01.wmv"/>
>>   </entry>
>> </asx>

>> First question: is it ok to have the *.asx files pointing to
>> 'web-server' name instead of to the WMS Server's IP Address?

>> Created a Home Unicast Publishing Point pointing to 'D:\media'.

>> I created an index page using UltraDev with links to my *.asx files
on
>> the WMS Server and placed it on my Apache Server. The links I
created
>> with UltraDev created are pointing to:

>> file://web-server/D/Media/moms-house01.asx

>> Are these links ok?  Aren't they suppose to be linked to something
>> like mms://?

>> If I point Media Player to 'mms://WEB-SERVER/media/video-01.wmv' on
a
>> PC on the LAN, video starts streaming after a few secs. I know it's
>> streaming because if I just unplug the NIC cable, the video stops
:)

>> If I open any *asx file either on the WMS Server or on a PC on the
>> LAN, video starts streaming.

>> If I open index.html (on the Apache Server) on any pc on the LAN on
>> Internet Explorer and click on the links pointing to my *.asx
files,
>> video starts buffering and after a few second it starts streaming.

>> Problem starts when I try to access my content from a PC outside
the
>> LAN. I can open index.html on the Apache Server (BTW, I have my own
>> registered domain name) but when I click on any link to my *.asx
>> files, I just get a 'This page can not be displayed' error page
from
>> the web browser. I have tried from 3 different PCs to make sure it
>> wasn't a client pc issue. I thought that this might be due to the
>> *.asx files linking to a Netbios name (web-server in my case) so I
>> manually edited the *.asx files and point them to 192.168.1.100
(the
>> web-server's internal IP address) instead of the Netbios name
>> 'web-server'. No change, I still can't access the content from
>> outside.

>> Now, logic tells me that just as Netbios names are not routable on
the
>> Internet, neither are private IP addresses, so I must be doing
>> something wrong because when I click on a link on index.html it
tries
>> either to connect to 'mms://web-server' or to 'mms://192.168.1.100'
>> (after I manually edited the files) which in either case are not
>> routable. Or is this ok as the index.html page from my Apache
Server
>> is actually serving content from the WMS Server on the LAN?

>> Do I necessarily need a global IP address for the Media Server (I
have
>> only one IP Address assigned to my Apache Server)

>> Do I need to have IIS installed on the WMS Server even though I
only
>> need to serve Media Content?

>> Is there a faster utility to generate the *.asx files than the one
>> included in the Media Server (On Demand Wizard)?

>> Can someone explain me how to dynamically generate *.asx files
using
>> ASP as shown in MS KB article 184396? Where do I insert that piece
of
>> code in an ASP page?

>> In any case, I have read that I'd be better off having two servers
if
>> I need to distribute content. One hosting the index page and taking
>> care of user authentication and the other (the WMS Server) hosting
the
>> *.asx and *.wmv files exclusively. Is this right?

>> Any help will be gratefully appreciated,

>> Cheers,

>> Peter

 
 
 

1. Media Player 7 won't play .wmv streams from behind firewall

All,

In Win98 I'm testing my public website from behind the Lucent firewall.  The
website has a mixture of .avi (MP4 Codec) files and .wmv (streaming media)
files.  The avi files play fine using Media Player 7 without having to specify a
proxy server in the MP options (although it's annoying that MP7 does not
indicate the % download completion as did MP Version 6).

When I try to access the .wmv video, however, I can only get it to work behind
the firewall using MP6.   In MP6
configuration I have to set the protocol to HTTP and then specify the proxy
machine. (I cannot select "Use Browser Proxy settings" even though the browser
is configured with the same proxy!).  But when configure the options similarly
for MP 7 it always comes back with "cannot connect to server."   I've tried
other config options on MP7 but can never get it to work behind the firewall.
Any ideas on how I can get MP7 to work?

I tried the suggestion posted to this newsgroup of loading the patch
http://download.microsoft.com/download/winmediatech40/Update/26558/NT....
(although I believe that patch must be for Win2000, not Win98).  After
installing the patch I still cannot get MP7 to play .wmv files from behind the
firewall on Win98.  Is there a similar patch for Win98?

Thanks,
Eugene Beer

2. Y2K and JDK version of VM

3. What is the source code for streaming Windows .wmv files from my web server.

4. DISK BOOT FAILURE; Insert system disk and press enter...

5. Media Server can't stream WMV files!!!

6. %logonserver% and WallPaper

7. Cannot Stream WMV file in Media Server

8. multi user windows media player

9. How do I decompress wmv stream not from file or network, but from my own stream?

10. Is there any software can convert DVD files to wmv,asf...etc stream files

11. Apache 2.0.44 Server on WinXP Pro, behind a firewall

12. General Question: Apache on Multiple servers behind single IP