Microsoft KB Archive/267510

= Editing Script Commands Embedded in a Media Stream =

Article ID: 267510

Article Last Modified on 11/26/2003

-

APPLIES TO


 * Microsoft Windows Media Tools 4.0
 * Microsoft Windows Media Tools 4.1
 * Microsoft Windows Media Encoder 7.0
 * Microsoft Windows Media Encoder 7.1

-



This article was previously published under Q267510



SUMMARY
When you encode a live audio or video stream, it is possible to send script commands (such as URL flips and captions) to be encoded with the stream. When you play back the stream, the commands can trigger events in a Web page or launch the browser and navigate to a Web page.

Tools such as the ASF Indexer and Asfchop.exe are only able to edit the data in the header of the ASF, WMA, and WMV files, and cannot edit embedded script commands.

An unsupported tool is now available from the Windows Media Website named the Advanced Script Indexer, which takes the script information that is embedded in the audio or video stream and places it in the header of the ASF, WMA, or WMV file, so that it can be edited.



MORE INFORMATION
When you do a live broadcast, there is no way for a player to &quot;go back&quot; and read the header of an ASF file, as it can with on-demand content. A live broadcast is similar to television in that when you tune in to the broadcast, you see the broadcast from that point, not necessarily from the beginning. This is why the scripts and markers are embedded in the ASF stream when scripts are used with a live stream.

By running this tool, you do change the header of the ASF or WMV file, which can alter the way the Multicast Stations are set up in Windows Media Services 4.0 or 4.1. Because the headers for your files are different, you may need to add a Stream Reference for each file that you edit the script information. For more information on adding stream references, please refer to the Windows Media Services Help Documentation.

Additional query words: netshow asi nschop.ocx

Keywords: kbinfo KB267510

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.