HOME

Formats
What is DVD
What is SVCD
What is VCD
What is DIVX
What is XVID

Ripping Media
SmartRipper (DVD)
Nero          (Audio)
VCDGear    (VCD)
Ripping Audio From VCD
 

Authoring
VCD
SVCD
DIVX


Editing Media

MPEG (-1 & -2)


Burning Media

Slide show using Ulead


Streaming Media
Windows
Real
Quicktime

Media Hosting
Convert VCD to RM
 


Subtitles/Captions
Windows Media
Real Media
Quicktime Media

 

Server Stuff
Installing IIS Server
Installing FTP Server
 

Advanced Tutorials

Meta Files for WM

 

WebDesign

SSI - Simplify your work

Tables - Play with them
Optimizing Your Photos
Web design Tips
Windows Vista


General
Bit Torrent - Share!
Search Engine Meta Tags
Optimize your ranking
Know About IP Addresses

Advanced Windows media meta file tags

With windows media meta files you can do much more than just inserting a URL. You can insert an ad in your presentation, or maybe a banner which you create yourself. Read on!





2005-05-15


File or Clip Properties

When creating content, you can insert file properties, such as title, author, and copyright, directly into a Windows Media file, or you can insert the properties in the Windows Media metafile that is used to link to the content. Any properties that you enter in the metafile override those contained in the Windows Media file. You can also set properties for an entire playlist that contains multiple Windows Media streams. When you play the content, some properties are displayed on the Windows Media Player user interface, and others on the Windows Media Player Properties sheet.

Here is an example of a playlist metafile that contains global playlist properties as well as properties for individual clips that are contained inside Entry elements. In this case, the properties are set using Abstract, Author, Banner, Copyright, MoreInfo, and Title elements.

<ASX version = "3.0">
   <ABSTRACT>This text will show up as a Tooltip and in the Properties
       dialog box.</ABSTRACT>
   <TITLE>Global title of the show</TITLE>
   <AUTHOR>The name of the author</AUTHOR>
   <COPYRIGHT>2003 by Your Company</COPYRIGHT>
   <MoreInfo href = "http://www.microsoft.com/windows/windowsmedia" />
   <Entry>
      <Ref href = "rtsp://ServerName/Path/FileName.wmv " />
      <Banner href="http://Servername/Path/Banner1.gif">
          <MoreInfo href ="http://www.microsoft.com/windows/windowsmedia" />
          <Abstract>This is the description for this clip.</Abstract>
      </Banner>
   </Entry>
   <Entry>
      <Title>Markers Discussion</Title>
      <Copyright>2003 Microsoft Corporation</Copyright>
      <MoreInfo href = "http://www.microsoft.com/windows/windowsmedia"></MoreInfo>
      <Ref href = "rtsp://ServerName/Path/markers_info.wmv" />
   </Entry>
</ASX>
 

The MoreInfo element adds functionality beyond simple text. In this example, MoreInfo elements add hyperlinks to the clip and show text on Windows Media Player. End users can click the text to link their browsers to Web sites that, for example, provide more information about an advertisement or music video.

With Windows Media metafile scripting, you can add Banner elements to Windows Media Player as the stream plays. With this element you can place a banner (194 pixels wide x 32 pixels high) image on the Player at the bottom of the Video and Visualization pane. You can then add a hyperlink to the banner with a MoreInfo child element.

In the example playlist, the Banner element in the first Entry element of the playlist displays an image in the banner bar of Windows Media Player just below the video display. The Banner element also contains MoreInfo and Abstract child elements that add a hyperlink and abstract text to the banner.

Ad Insertion

You can send script commands in a stream that instruct Windows Media Player to cut away from the stream and play other streams or files according to scripting in a metafile. This scripting technique can be used for inserting advertisements in a stream. For example, during a live Internet broadcast of a ball game, a script command can be sent at the beginning of every commercial break, instructing each client (Windows Media Player) to play commercials listed in its metafile. When clients finish playing the commercials, scripting in the metafile instructs each client to cut back to the live broadcast. To take it a step further, Active Server Pages (ASP pages) and server-side scripting can be used to create metafiles on-the-fly for each client. So conceivably, by using metafile scripting, ad insertion could be personalized for each end user connecting to the ball game.

Ad insertion is implemented using the Event element. The following example inserts the ad Advert.asf into the broadcast unicast stream BallGame when a client receives a script command with the Event type and the Time-Out parameter. When the ad is finished, the client resumes playing the previous entry.

<ASX VERSION="3.0">
<ENTRY>
   <REF HREF="http://sample.microsoft.com/BallGame" />
</ENTRY>
<EVENT NAME="TimeOut" WHENDONE="RESUME">
   <ENTRY CLIENTSKIP="NO">
      <REF HREF="http://Server/Content/Advert.asf" />
   </ENTRY>
</EVENT>
</ASX>
 

Playlists

Playlists are powerful and flexible. With playlists, you can schedule content to play in succession, or you can insert advertising or special-interest clips into a presentation after a specific period of time or at a specific point. Windows Media Services and Windows Media Player work together to play the clips in a playlist with minimal buffering time or interruption between clips.

The simplest playlists are created by adding multiple Entry elements to a metafile. Here's an example of a simple playlist:

<ASX version = "3.0">
<Title>Title</Title>
   <Entry>
      <Ref href = "rtsp://ServerName/Path/title1.wmv" />
   </Entry>
   <Entry>
      <Ref href = "rtsp://ServerName/Path/title2.wmv" />
   </Entry>
   <Entry>
      <Ref href = "rtsp://ServerName/Path/title3.wmv" />
   </Entry>
   <Entry>
      <Ref href = "rtsp://ServerName/Path/title4.wmv" />
   </Entry>
</ASX>

 

Article is an excerpt from Microsoft's Media page.


----------------------
Akmal Khan Sapay
Multimedia Editor
Safis Web


See Also:

Create your Windows Streaming Media

.More Sites:
VCD Help
DIVX-Digest
VCD Shop

DVD Shop
.Visitors' Corner
Submit your article
Send your Question
.Download Movies
Pirate Bay
Torrent Reactor
Live Torrents
Torrent Spy
.Dig deeper into SW
Afghanistan Site
Lagman Site


.Enter Forum


 

Contact Us | Terms & Conditions | Privacy Policy
Copy right 2005. All rights reserved by Safis Web