E D R , A S I H C RSS

ASX Metafile

What is ASX?

μΌμ’…μ˜ μœˆλ„μš°μ¦ˆλΈλ””μ–΄ λ©”νƒ€νŒŒμΌ. XML 슀크립트둜 μ΄λ£¨μ–΄μ Έμžˆκ³  이 λ©”νƒ€νŒŒμΌμ„ μž‘μ„±ν•¨μœΌλ‘œμ¨ ν”Œλ ˆμ΄μ–΄λΌ κ±΄λ“œλ¦¬μ§€ μ•Šκ³ λ„ λ‹€μ–‘ν•œ κΈ°λŠ₯을 μ‚¬μš©ν•  수 μžˆλ‹€.

μœˆλ„μš°μ¦ˆ λΈλ””μ–΄ λ©”νƒ€νŒŒμΌ ν™•μž₯자

  • .asf νŒŒμΌμ„ μ°Έμ‘°ν•˜λŠ” .asx 파일
  • .wmv νŒŒμΌμ„ μ°Έμ‘°ν•˜λŠ” .wvx 파일
  • .wma νŒŒμΌμ„ μ°Έμ‘°ν•˜λŠ” .wax 파일

    ν•˜μ§€λ§Œ ν•΄λ‹Ή ν™•μž₯μžκ°€ μ°Έμ‘°ν•˜λŠ” νŒŒμΌμ„ 담지 μ•Šμ•„λ„ μž¬μƒμ΄ κ°€λŠ₯ν•˜λ‹€ :) (예, .asxνŒŒμΌμ— mpg, λ‚˜ mp3νŒŒμΌμ„ 넣어도 μž¬μƒλœλ‹€)

ASX 의 기본 ꡬ쑰


~cpp 
 <ASX version = "3.0">

  <Entry>
    <Ref href = "path" />
  </Entry>

</ASX>
 

ASX 문법

XML의 문법을 λ”°λ₯΄λ©° λ‹€μŒκ³Ό 같은 elementκ°€ μžˆλ‹€. elementλ§Œμ„ 보고도 ν•΄λ‹Ή elementκ°€ 무엇을 의λΈν•˜λŠ”지 μ•Œ 수 μžˆλ‹€. (μ•½κ°„ λͺ¨ν˜Έν•  수 μžˆλŠ” 것은 μ„λͺ…을 같이 λ„£μ—ˆλ‹€)
~cpp 
    *  <ASX>: Indicates an ASX metafile.
    * <Abstract>: Provides a brief description of the media file.
    * <Title>: Title of the media file.
    * <Author>: The author's name .
    * <Copyright>: Detailed copyright information (e.g., company name and copyright year).
    * <MoreInfo href = "path of the source" / >: Adds hyperlinks to the Windows Media Player interface in order to provide additional resources on the content.
    * <Entry>: Serves a playlist of media by inserting multiple "Entry" elements in succession.
    * <Duration value = "00:00:00">: Sets the value attribute for the length of time a streaming media file is to be played.
    * <Logo href = "path of the logo source" Style = "a style" / >: Adds custom graphics to the Windows Media player by choosing either a watermark or icon style. The image formats that Windows Media Player supports are GIF, BMP, and JPEG.
          o MARK: The logo appears in the lower right corner of the video area while Windows Media Player is connecting to a server and opening a piece of content.
          o ICON: The logo appears as an icon on the display panel, next to the title of the show or clip.
    * <Banner href = "path of the banner source">: Places a banner (82 pixels Γ— 30 pixels) image at the bottom of the video display area.
    * <Ref href = "path of the source" / >: Specifies a URL for a content stream.
    * How to define the path of source:
          o Windows Media Services Server: File names will start with mms://.
          o HTTP Server: File names will start with http://.
          o Local or network drive: File names will start with file://.
          o ASX files, on the other hand, are small text files that can always sit on an HTTP server. When the browser interprets the ASX file, it access the streaming media file that is specified inside the ASX file, from the proper HTTP, mms, or file server.
    * ?sami="path of the source": Defines the path of a SAMI caption file within the <ref href> tag for media source.
 

ASX μž‘μ„± 예


~cpp 
 <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> 2000 by Your COmpany </Copyright>
  <MoreInfo href="http://www.microsoft.com/windows/windowmedia" />

  <Entry>
    <Ref href="MMS://netshow.microsoft.com/ms/sbnasfs/wtoc.asf" />
    <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> 2000 Microsoft Corporation </Copyright>
    <Logo href="http://servername/path/banner2.gif" Style="ICON" />
    <MoreInfo href="http://www.microsoft.com/windows/windowsmedia" />
    <Ref href="MMS://netshow.microsoft.com/ms/sbnasfs/wcc.asf" />
    <Ref href="http://cita.rehab.uiuc.edu/mediaplayer/mediasmaple.asf"
    ?sami="http://cita.rehab.uiuc.edu/mediaplayer/samisample.smi" />
  </Entry>

</ASX>
 

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:22:23
Processing time 0.0143 sec