How to get ism metadata from the player

Apr 1, 2011 at 3:28 PM

Hello all,

I'm using SMFPlayer to develop our application. I'm extending som of its functionality to meet our needs.

I need to get some metadata information from the ism file on the server. The file is something like this:

 

<?xml version="1.0" encoding="utf-16"?>
<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
  <head>
    <metadata id="meta-rdf">
      <rdf:RDF xmlns:dcterms="http://purl.org/dc/terms/" xmlns:iisms="http://schemas.microsoft.com/iis/media/v4#" xmlns:wm="http://schemas.microsoft.com/windowsmedia/v11/attributes#" xmlns:ee="http://schemas.microsoft.com/expression/encoder/v4#" xmlns:eecustom="http://schemas.microsoft.com/expression/encoder/v4/custom#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
        <ee:MediaItem rdf:about="guid:bd894a01-de61-4762-9b27-0b778bc92a50">
          <ee:ID>bd894a01-de61-4762-9b27-0b778bc92a50</ee:ID>
          <ee:HasAttachedImages>False</ee:HasAttachedImages>
          <ee:HasCaptions>False</ee:HasCaptions>
          <ee:HasAudio>True</ee:HasAudio>
          <ee:HasImage>False</ee:HasImage>
          <ee:HasVideo>True</ee:HasVideo>
          <ee:IsProtected>False</ee:IsProtected>
          <ee:IsVBR>False</ee:IsVBR>
          <ee:Streams>2</ee:Streams>
          <dcterms:title>Evento de Joan</dcterms:title>
          <eecustom:MediaItem>
            <eecustom:Presenters>Joan</eecustom:Presenters>
            <eecustom:Languages>es-ES</eecustom:Languages>
            <eecustom:LogoId>1</eecustom:LogoId>
            <eecustom:LogoPicture>137807871131026100001373726882000540004482000161106220119000111582716601742062823300041036577650017714311252975000911272891150014195001419511991111681000001747368658488712371526514192328425325516710921075181169104618214125207168235192669874448252144641493753024170483549130392079138941255244222237166120241141132512381835204831579722462421220220186176161120172401121719914120912311615478886366341374610712890236218291874417613956154203132173234139721561541303418215616016812073457824410099182194236130196136190184156920970191598227138215531891092393241152138556621546947115226331764312935323011710432052201620000736978681746696130</eecustom:LogoPicture>
            <eecustom:LogoPosition>1</eecustom:LogoPosition>
          </eecustom:MediaItem>
        </ee:MediaItem>
      </rdf:RDF>
    </metadata>
    <meta name="clientManifestRelativePath" content="588061f3-ba7b-4d95-a4f3-b2603bb100f8.ismc" />
  </head>
  <body>
    <switch>
      <audio src="Encoder1.ismv" systemBitrate="192000">
        <param name="trackID" value="1" valuetype="data" />
      </audio>
      <video src="Encoder1.ismv" systemBitrate="384000">
        <param name="trackID" value="2" valuetype="data" />
      </video>
      <textstream src="Encoder1.ismv" systemBitrate="32000">
        <param name="trackID" value="3" valuetype="data" />
      </textstream>
    </switch>
  </body>
</smil>

 

 

I need the rdf metadata (eecustom data). I thought the way to get that data was similar to markers and captions:

http://msdn.microsoft.com/en-us/library/ee958034(v=vs.90).aspx

using ManifestInfo, StreamInfo, etc. But that doesn't seem to be the case.

 

Does anyone know how to retrieve this data?

Thanks,

-Sergi Díaz