I need to know how to create special .ASX files, with embedded movies.
This is a feature that I think Microsoft did not intend to provide
with it's Windows Media Player, but I have seen someone do this before
so I'm sure it is possible.
I think you need to encode the movie like an attachment in an email
file, with something like base64 encoding or other format.
ASX files for Windows Media Player are wrappers, usually used as
playlists, and are intended to contain links (http:// or true
streaming) to WMV movies on web servers which will they play
automatically.
Here is a Sample ASX file:
<ASX version="3.0">
<TITLE>Title of movie</TITLE>
<BANNER HREF=<A href="http://www.server.com/link/to/image/for/link.gif">http://www.server.com/link/to/image/for/link.gif</A>>
<ABSTRACT>I don't know what this is for</ABSTRACT>
<MOREINFO HREF="http://www.LinkToServer.com" />
</BANNER>
<ENTRY ClientSkip="NO">
<TITLE>Title</TITLE>
<AUTHOR>author</AUTHOR>
<COPYRIGHT>(c) copyright notice</COPYRIGHT>
<REF HREF="http://www.server.com/movie.wmv" />
</ENTRY>
</ASX>
So, basically, if you create a text file with the above code, and an
asx extension, it would load "movie.wmv" from the server in windows
media player, and it will use "link.gif" as a title at the bottom of
the movie which can be clicked on.
but I want the video to be embedded within the ASX file not linked to
a server download. The result might look like this:
------=_NextPart_000_001B_01C39CB4.96676270
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
iVBORw0KGgoAAAANSUhEUgAAArcAAAF
etc.??
The way it may work will probably be similar to the way outlook
express can embed images in an email, or the way Internet Explorer can
Embed images in a file (.mht file)
Information about ASX files is on the Microsoft web site somewhere.
I need to be able to give people one file, and they might not have
internet access all the time, so the movie needs to be embedded within
the ASX, rather than be linked to exernally (REF="")...
I have seen this done so I know it is possible.
This is a very important project to me, and I will be very happy if
someone can figure it out. Also, I need to be able to create new
movies and embed them myself, so I am not looking for someone to do
just one movie - I need to know how to do it.
Thanks! I home some genius out there can solve this problem.
Remember: you need to create one file, and be able to show me how to
create more files
It should be relatively easy for me to create more WMV files
have fun!
If the scope of this is bigger than $200 I am willing to pay more. |