Import Formats

84.4.5.93 VIZRTVME

Import Scope
The VIZRTVME function allows importing from an XML file all contained data intended to enrich video files imported through Etere Active Sync. It's worth mentioning that fields imported into Etere by this function includes the following ones:
ETERE
VIZRTVME

Field - Code¹
Type : string
Description : Asset code
Source tag in XML : <atom:id>urn:vme:default:asset:2101307300000017821</atom:id>
Field - Title
Type : string
Description : Description
Source tag in XML : <atom:title>Vanguarda - test ID</atom:title>
Field - Dur²
Type : integer
Description : Duration
Source tag in XML : <value>VANSER</value>
Field - Type³
Type : string
Description : Content type
Source tag in XML : <media:content type="application/mxf" url="http://vmevanguarda:1080/hr1/2013/07/30/2101307300000017821/mxf-op1a-mpeg-mpeg2-pcm/6a15c7644b828c55853d4fbc627524df.mxf#mob=2101307300000364707&amp;indexmob=2101307300000364807" fileSize="3891760" bitrate="50000000" framerate="29.97" samplingrate="48" channels="4" width="1920" height="1080" duration="0.501" isDefault="1"/>
¹ : The code is taken from the last colon (:) onwards.
² : The duration is expected to be in [seconds].[milliseconds] format
³ : The type is automatically created using the first 4 characters whenever it doesn't exist in Etere
Sample file to import
In order to be imported into Etere, the file must meet the following structure:
<?xml version="1.0" encoding="UTF-8"?>
<atom:entry type="application/atom+xml;type=entry;apitype=METADATA.ImportExport" xmlns:media="http://search.yahoo.com/mrss/" xmlns:atom="http://www.w3.org/2005/Atom">
  <atom:title>Vanguarda - test ID</atom:title>
 <atom:id>urn:vme:default:asset:2101307300000017821</atom:id>
  <atom:link rel="overlay-timeline" href="http://vmevanguarda/api/asset/item/2101307300000017821/overlay"/>
  <atom:link rel="describedby" type="application/vnd.vizrt.payload+xml">
    <atom:inline>
        <payload model="http://vmevanguarda/api/metadata/form/vanguardaitem/current" xmlns="http://www.vizrt.com/types">
          <field name="asset.title">
              <value>Vanguarda - test ID</value>
          </field>
          <field name="vanguarda.filename">
              <value>myfilename</value>
          </field>
          <field name="asset.alternativeTitle">
              <value>More information about this asset.</value>
          </field>
          <field name="asset.category">
              <value>VANSER</value>
              <origin id="urn:vme:default:dictionary:category:testing migration" href="http://vmevanguarda/api/metadata/dictionary/~category/VANSER"/>
          </field>
          <field name="asset.synopsis">
              <value>Sinopse of this item, more informatio can be stored here.</value>
          </field>
          <field name="asset.rightsCode">
              <value>G</value>
              <origin id="urn:vme:default:dictionary:rights:G" href="http://vmevanguarda/api/metadata/dictionary/~rights/G"/>
          </field>
          <field name="vanguarda.city">
              <value>APRECIDA</value>
              <origin id="urn:vme:default:dictionary:city:ubatuba" href="http://vmevanguarda/api/metadata/dictionary/~city/APRECIDA"/>
          </field>
          <field name="asset.rightsUri">  <value>http://vmevanguarda/vms/#ItemPlace:2101305100000000321</value>
          </field>
          <field name="asset.description">
              <value>More decription can be provided here also as free text.</value>
          </field>
          <field name="vanguarda.date">
              <value>2013-07-31</value>
          </field>
          <field name="asset.department">
              <value>Jornalismo</value>
              <origin id="urn:vme:default:dictionary:department:Jornalismo" href="http://vmevanguarda/api/metadata/dictionary/~department/Jornalismo"/>
          </field>
          <field name="vanguarda.freeText">
              <value>More Free text can be provided here, as a 3rd field for free text.</value>
          </field>
          <field name="vanguarda.source">
              <value>REDE GLOBO SAO PAULO</value>
              <origin id="urn:vme:default:dictionary:source:ZE RICARDO" href="http://vmevanguarda/api/metadata/dictionary/~source/REDE%20GLOBO%20SAO%20PAULO"/>
          </field>
          <field name="asset.locationName">
              <value>Localização</value>
          </field>
          <field name="asset.materialType">
              <value>PG</value>
              <origin id="urn:vme:default:dictionary:materialtype:PG" href="http://vmevanguarda/api/metadata/dictionary/~materialtype/PG"/>
          </field>
          <field name="vanguarda.creator">
              <value>he Equipe which worked on this asset. As free text.</value>
          </field>
          <field name="vanguarda.contributor">
              <value>Contributors information can be stored here. Ass free text.</value>
          </field>
          <field name="asset.publisherName">
              <value>Editor de Imagem</value>
          </field>
          <field name="asset.retentionPolicy">
              <value>keep</value>
              <origin id="urn:vme:default:dictionary:retentionpolicy:keep" href="http://vmevanguarda/api/metadata/dictionary/~retentionpolicy/keep"/>
          </field>
          <field name="asset.retentionDate">
              <value/>
          </field>
        </payload>
    </atom:inline>
  </atom:link>
  <atom:content type="application/mxf" src="myfilename.mxf"/>
  <atom:author>
 <atom:name>DAEMON+exportd</atom:name>
  </atom:author>
  <media:group>
    <media:content type="video/mp4" url="http://vmevanguarda:1080/lr1/2013/07/30/2101307300000017821/qt-cont-mpeg-h264-aac/6a15c7644b828c55853d4fbc627524df.mp4#mob=2101307300000365107" fileSize="62700" framerate="29.97" samplingrate="48" channels="2" width="640" height="360" duration="0.501"/>
    <media:content type="application/mxf" url="http://vmevanguarda:1080/hr1/2013/07/30/2101307300000017821/mxf-op1a-mpeg-mpeg2-pcm/6a15c7644b828c55853d4fbc627524df.mxf#mob=2101307300000364707&amp;indexmob=2101307300000364807" fileSize="3891760" bitrate="50000000" framerate="29.97" samplingrate="48" channels="4" width="1920" height="1080" duration="0.501" isDefault="1"/>
    <media:content type="audio/mpeg" url="http://vmevanguarda:1080/lraud1/2013/07/30/2101307300000017821/mpeg-ps-mp2/6a15c7644b828c55853d4fbc627524df_1.mp2#mob=2101307300000365407" fileSize="8192" bitrate="112000" samplingrate="48" channels="1" duration="0.454"/>
    <media:content type="audio/mpeg" url="http://vmevanguarda:1080/lraud1/2013/07/30/2101307300000017821/mpeg-ps-mp2/6a15c7644b828c55853d4fbc627524df_2.mp2#mob=2101307300000365507" fileSize="8192" bitrate="112000" samplingrate="48" channels="1" duration="0.454"/>
    <media:content type="audio/mpeg" url="http://vmevanguarda:1080/lraud1/2013/07/30/2101307300000017821/mpeg-ps-mp2/6a15c7644b828c55853d4fbc627524df_3.mp2#mob=2101307300000365607" fileSize="8192" bitrate="112000" samplingrate="48" channels="1" duration="0.454"/>
    <media:content type="audio/mpeg" url="http://vmevanguarda:1080/lraud1/2013/07/30/2101307300000017821/mpeg-ps-mp2/6a15c7644b828c55853d4fbc627524df_4.mp2#mob=2101307300000365707" fileSize="8192" bitrate="112000" samplingrate="48" channels="1" duration="0.454"/>
    <media:content type="application/vnd.vizrt.ardok" url="http://vmevanguarda:1080/kf1/2013/07/30/2101307300000017821/ardok-index/6a15c7644b828c55853d4fbc627524df.data#mob=2101307300000365307&amp;indexmob=2101307300000365207" fileSize="44776" width="192" height="108"/>
  </media:group>
</atom:entry>