Jump to content

Asx Metafile Wierdness


Recommended Posts

Is there something which interferes with linking to metafiles on here? Am I doing something wrong? Am I missing the obvious?

 

I've been playing around with some video streaming through a windows-media streaming server host. I can link from my TCH web page to the basic .wmv files on the server and they open the external media player and play fine.

 

But when I construct a metafile, a.k.a., playlist, which is an ASX file the media player doesn't open. I spent lots of time trying to figure out what I was doing wrong with the syntax and have come to the conclusion that my metafile is fine. I can launch it from windows explorer and it works fine, but if I link to it via http: on my web page it loads into the browser window and not the player.

 

I tried both ascii and binary for uploading and two differnt ftp programs. It is as if my browsers (both IE6 and NS7) won't recoginize that it is an asx file.

 

I saved someone else's asx file, which works fine on their site. I uploaded it here and linked to it on my TCH page. But when clicked, it only loaded into the browser, not the player.

 

I'm at my wit's end. Any ideas?

 

Thanks,

Bill

 

--------------

 

Here is the link:

 

<a href="http://www.austin78704.com/ReddBilly.asx" target="_blank">asx</a>

 

------------------------

 

Here is the asx file if you are interested:

 

<ASX

VERSION = "3"

PREVIEWMODE = "NO"

BANNERBAR = "AUTO"

>

<title>ReddBilly - Route 66</title>

 

<BANNER HREF="http://www.austin78704.com/images/austin78704-WMPbanner.bmp">

<ABSTRACT>Click here to see how you can stream your band.</ABSTRACT>

<MOREINFO HREF="http://www.austin78704.com" />

<!-- The text in the Abstract element displays as a

ToolTip when the mouse hovers over the banner

graphic. When a user clicks the banner, the URL

given in the MoreInfo element opens in the

browser. -->

</BANNER>

 

 

<ENTRY>

<REF HREF="http://stream1.highvault.com/wkg_austin78704_com/ReddBilly/P6281878-Root66a-1.wmv" />

<TITLE>Route 66 a</TITLE>

</ENTRY>

 

<ENTRY>

<REF HREF="http://stream1.highvault.com/wkg_austin78704_com/ReddBilly/P6281879-Root66b.wmv" />

<TITLE>Route 66 b</TITLE>

</ENTRY>

 

</ASX>

Link to post
Share on other sites

I don't think that's the problem at all.

Although your ASF file is hosted in your account, the WMV file it links to is hosted on another server: http://stream1.highvault.com/wkg_austin78704_com/ReddBilly/P6281879-Root66b.wmv.

 

Besides, you're not streaming the video, you're using HTTP, both for the ASF and for the WMV file, so the problem is not the fact that TCH's servers don't support video streaming.

 

Just as a side note, you need to use a streaming protocol to stream a video.

This is something that many people don't understand and they think they are srteaming a video just by using a file format like ASF. The video stream doesn't depend on the file format but rather on the communication protocol and HTTP is not a streaming protocol.

 

I did a quick search on google to get some more info for those who may be interested:

http://www.google.com/search?q=how+streaming+media+works

Edited by TCH-Raul
Link to post
Share on other sites

Bill

 

I always wanted to play around with Streaming Video .wmv files.

 

I put together a quickie video together using one of Windows sample .wmv files and using an .asx file so Windows media player would open.

 

There was not any problem with what I did, there was a problem when I substituted the Root 66 URL in the .asx file.

 

My test site is at, http://rjskon.com/streaming_video/.

 

I eliminated a lot of the .asx file that you posted.

 

Here is what I used,

 

<ASX version = "3.0">

<Entry>

<Ref href = "http://www.rjskon.com/streaming_video/Windows Movie Maker Sample File.wmv" />

<Banner href="http://www.rjskon.com/streaming_video/Richard's_Video.jpg">

<Abstract>Test Video By Richard</Abstract>

</Banner>

</Entry>

</ASX>

 

Richard

Link to post
Share on other sites
Just as a side note, you need to use a streaming protocol to stream a video.

This is something that many people don't understand and they think they are srteaming a video just by using a file format like ASF. The video stream doesn't depend on the file format but rather on the communication protocol and HTTP is not a streaming protocol.

 

Actually not so (this from a guy who cannot get it working :unsure: )... http: or mms: or rtsp: all work and are sanctioned by MS, but only access from different ports. mms: will be more efficient, but is blocked by some firewalls. Using http: uses port 80 which is open on most networks.

 

MS allows all transport protocols to be used to access the windows media stream. There is some negotiation between the player and the server to set a number of parameters, including the bit-rate at which to stream. Using the MS encoder you can specify several for one file.

 

The streaming server company I'm using (I'm not streaming from TCH, as you noted) says to use http: Naturally, I've tried them all :blink:

 

Richard may be on to something. I took his file and uploaded it to my page and his playlist works where mine doesn't... curiously enough, though, the blinx test playlist that I took from the MS site doesn't work either.

 

Now, what blix and my playlists have in common is a target file with dashes in the name, whereas Richards uses underscores... nah, that didn't work.

 

For some reason my asx file (and blinx's) doesn't invoke the media player, whereas Richards does.

 

OK, I got something to work. It looks like the Title tag outside the Entrys may have been the problem, though MS says that is ok.

 

This is what is working:

 

<ASX version = "3.0">

 

<BANNER HREF="http://www.austin78704.com/images/austin78704-WMPbanner.bmp">

<ABSTRACT>Click here to see how you can stream your band.</ABSTRACT>

<MOREINFO HREF="http://www.austin78704.com" />

</BANNER>

 

<ENTRY>

<REF HREF="http://stream1.highvault.com/wkg_austin78704_com/ReddBilly/P6281878Root66a.wmv" />

<TITLE>Route 66 a</TITLE>

</ENTRY>

<ENTRY>

<REF HREF="http://stream1.highvault.com/wkg_austin78704_com/ReddBilly/P6281879-Root66b.wmv" />

<TITLE>Route 66 b</TITLE>

</ENTRY>

</ASX>

 

Hmm... the Title tag works if I put it AFTER the entry tags. Though the player is ignoring the Title tags within the entry.

 

Oh, well, at least I can create a playlist that works.

 

Thanks to Richard and Raul and all. This was really driving me nuts. I appreciate your time and support.

 

Bill

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...