Latest post Wed, Nov 5 2014 11:14 AM by kvolkov. 13 replies.
Page 1 of 1 (14 items)
Sort Posts: Previous Next
  • Fri, Oct 24 2014 1:46 PM

    • kvolkov
    • Not Ranked
    • Joined on Thu, Jun 4 2009
    • Posts 40
    • Points 435

    How to get all assotiations from a masterclip

    Ciao,

    assume I recorded using Capture the master clip (synthetic clip) with two resolutions and relative audio.

    How do I get mobids of device clips using masterclip mobid as a starting point?

     

    Thanks

  • Fri, Oct 24 2014 3:55 PM In reply to

    • robg
    • Top 200 Contributor
    • Joined on Fri, Nov 4 2005
    • Tewksbury, MA
    • Posts 494
    • Points 5,605
    • Avid Developer Moderator
      Avid Employee

    Re: How to get all assotiations from a masterclip

    kvolkov,

    You can do this with GetFileDetails(). Pass in the interplay id for the master clip like this:

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:typ="http://avid.com/interplay/ws/assets/types">
    <soapenv:Header>
      <!-- credentials go here -->
    </soapenv:Header>
      <soapenv:Body>
        <typ:GetFileDetails>
          <typ:InterplayURIs>
            <typ:InterplayURI>interplay://WGA?mobid=060a2b340101010101010f0013-000000-00143b14e0180b1f-060e2b347f7f-2a80</typ:InterplayURI>
          </typ:InterplayURIs>
        </typ:GetFileDetails>
      </soapenv:Body>
    </soapenv:Envelope>
    And you will get all the related file mobids like this:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <GetFileDetailsResponse xmlns="http://avid.com/interplay/ws/assets/types">
          <Results>
            <FileLocationDetails>
              <InterplayURI>interplay://WGA?mobid=060a2b340101010101010f0013-000000-00143b14e0180b1f-060e2b347f7f-2a80</InterplayURI>
              <FileLocations>
                <FileLocation>
                  <InterplayURI>interplay://WGA?filemobid=060a2b340101010101010f0013-000000-001501150e0206d1-060e2b347f7f-2a80</InterplayURI>
                  <Name>FileMobName</Name>
                  <Track>V1</Track>
                  <Status>Online</Status>
                  <FilePath>//asflock1/aspd-10/Avid MediaFiles/MXF/TM_wg5speed-10/aspd10V01B1FE018.mxf</FilePath>
                  <Type>filemob</Type>
                  <CreatedBy>Airspeed</CreatedBy>
                  <Format>DV 50</Format>
                  <Size>1271165</Size>
                </FileLocation>
                <FileLocation>
    . . .
    Hope this helps,
    - Rob 

     

  • Sat, Oct 25 2014 10:45 AM In reply to

    • kvolkov
    • Not Ranked
    • Joined on Thu, Jun 4 2009
    • Posts 40
    • Points 435

    Re: How to get all assotiations from a masterclip

    Hi Rob,

    thanks for reply.

     

    The proposed method returns filemobs of all associated media but does not return mobid of associated device clips. Those device clips can easily be found if if click on "Assotiations" in object inspector in Access. I need mobid of devices clips to use them as starting point to place STP job.

     

    Help!

  • Mon, Oct 27 2014 3:38 PM In reply to

    • robg
    • Top 200 Contributor
    • Joined on Fri, Nov 4 2005
    • Tewksbury, MA
    • Posts 494
    • Points 5,605
    • Avid Developer Moderator
      Avid Employee

    Re: How to get all assotiations from a masterclip

    kvolkov,

    You can call FindRelatives() on sequence to find all of the masterclips that it contains.

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://avid.com/interplay/ws/assets/types">

       <soapenv:Header>

          <typ:UserCredentials>

             <typ:Username>username</typ:Username>

             <typ:Password>password</typ:Password>

          </typ:UserCredentials>

       </soapenv:Header>

       <soapenv:Body>

          <typ:FindRelatives>

             <typ:InterplayURI>interplay://WGC?mobid=060a2b340101010101010f0013-000000-52618000a03b28d5-060e2b347f7f-2a80</typ:InterplayURI>

          </typ:FindRelatives>

       </soapenv:Body>

    </soapenv:Envelope>

    This will result in a list of masterclips:

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

       <soap:Body>

          <FindRelativesResponse xmlns="http://avid.com/interplay/ws/assets/types">

             <Results>

                <AssetDescription>

                   <InterplayURI>interplay://WGC?mobid=060a2b340101010101010f0013-000000-511a4e2c9e1f1dcf-060e2b347f7f-2a80</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000000-511a4e2c9e1f1dcf-060e2b347f7f-2a80</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|EF4A65FA-4B30-4319-808D-AE7D316F5DCB|*|1520|*</Attribute>

                      <Attribute Name="CFPS" Group="SYSTEM">29.97</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">nltek</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2013-02-12T09:14:04.000-0500</Attribute>

                      <Attribute Name="Display Name" Group="USER">BigSequenceClip.08</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:02:12:09</Attribute>

                      <Attribute Name="End" Group="SYSTEM">09:16:17:07</Attribute>

                      <Attribute Name="Media File Format" Group="SYSTEM">MXF</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">0</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">nearonline</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">nltek</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2013-10-18T13:37:37.000-0400</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-511a4e1a56361dcf-060e2b347f7f-2a80</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">09:14:04:28</Attribute>

                      <Attribute Name="Tape" Group="SYSTEM">Default Tape</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1-2</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                   </Attributes>

                </AssetDescription>

             </Results>

          </FindRelativesResponse>

       </soap:Body>

    </soap:Envelope>

    Cheers,

    - Rob

     

     

  • Tue, Oct 28 2014 11:09 AM In reply to

    • kvolkov
    • Not Ranked
    • Joined on Thu, Jun 4 2009
    • Posts 40
    • Points 435

    Re: How to get all assotiations from a masterclip

    Hi Rob,

    thanks for reply.

    Unfortunately FindRelatives() does not seem to help.

    My case is the following: I have synthetic masterclip created by Interplay Capture that controlled AS5000 generating high and low resolution during ingest. Therefore the synthetic masterclip has two associated device clips (one for high and one for low resolution). Those device clips can easily be found if if click on "Assotiations" in object inspector in Interplay Access. I need mobid of devices clips to use them as starting point to place STP job

    The FindRelatives(, applied on masterclip shows only sequences where it has been used but does not show any associated device clip.

    How do I get device clips from synthetic masterclip?

     

    Thanks

  • Wed, Oct 29 2014 1:50 PM In reply to

    • robg
    • Top 200 Contributor
    • Joined on Fri, Nov 4 2005
    • Tewksbury, MA
    • Posts 494
    • Points 5,605
    • Avid Developer Moderator
      Avid Employee

    Re: How to get all assotiations from a masterclip

    OK, I'll ask the developers here to see if they have any advice...

     

  • Wed, Oct 29 2014 5:55 PM In reply to

    • robg
    • Top 200 Contributor
    • Joined on Fri, Nov 4 2005
    • Tewksbury, MA
    • Posts 494
    • Points 5,605
    • Avid Developer Moderator
      Avid Employee

    Re: How to get all assotiations from a masterclip

    kvolkov,

    We are still researching this here.

    In the mean-time, would it work for you to find the associated clips by name using the search() call using the CONTAINS condition?

    - Rob

     

  • Wed, Oct 29 2014 6:34 PM In reply to

    • robg
    • Top 200 Contributor
    • Joined on Fri, Nov 4 2005
    • Tewksbury, MA
    • Posts 494
    • Points 5,605
    • Avid Developer Moderator
      Avid Employee

    Re: How to get all assotiations from a masterclip

    Also, we have a follow-up question:

    Can you use the synthetic masterclip as the starting point to place STP job?

    - Rob

     

  • Wed, Oct 29 2014 6:52 PM In reply to

    • kvolkov
    • Not Ranked
    • Joined on Thu, Jun 4 2009
    • Posts 40
    • Points 435

    Re: How to get all assotiations from a masterclip

    Hi Rob,

    The reason of non using synthetic masterclip lies in the unability of stp provider to relink to needed resolution.

    I have many clips which current resolution does not match with the stp job target resolution. The stp fails for such clips, but if you place the stp job directly on masterclip wiyh only needed resolution then  it works.

    K.

     

  • Thu, Oct 30 2014 4:32 PM In reply to

    • Vadym
    • Not Ranked
    • Joined on Thu, Apr 17 2014
    • Posts 176
    • Points 2,225
    • Avid Developer Moderator
      Avid Employee

    Re: How to get all assotiations from a masterclip

    Hi K,

    Thanks for looking into this.

    Currently STP is designed to work with composition MOBs only (sequences, shotlists) and Avid editors will not allow STP separate master clips. While Web Services do provide such possibility it is not tested and not recommended for use.

    The relink functionality is handed off to Avid editors currently and STP will not be able to do this until such functionality is implemented in Interplay.

    Capture clip to device clips associations are relink based and due to this cannot be resolved through IPWS at the moment.

    As a workaround I'd recommend to search for all clips that start with the Capture clip name. As device clips are named after Capture clip the result will contain all matching capture and device clips. Then use GetFileDetails request against all of them to "manually" associate Capture clip with device clips using FilePath property values.

    Vadym

  • Mon, Nov 3 2014 4:07 PM In reply to

    • kvolkov
    • Not Ranked
    • Joined on Thu, Jun 4 2009
    • Posts 40
    • Points 435

    Re: How to get all assotiations from a masterclip

    Ciao,

    following your, Rob's and offline exchange info I did some research and need to get your evaluation.

    Apparently the difference between synthetic masterclips created by Capture and underlying device clips lays also in 

    associated ResolutionList (you can get those by Get/Set Property in Interplay Access). The sythetic clip has four listed resolutions (two video and two audio) while each associated device clip only two (one video and one audio).

    Can this be used as search condition along with clips name? I mean I can search for clip containing "XDCAM" and NOT containing MPEG4. Tests show it works. Please advise.

    Secondly, even of the proposed by use search() is limited to clip name (and to "masterclip" condition) is it possible to set up stronger search condition, is there any mobid/sourceid or whatever id that link together synthetic masterclip and device masterclips?

    While eaiting for your feedbacks I just can say that I was able to build a query that returns one single entry that points to needed answer without any further GetFileDetails() usage- which is a mess, you'd agree...

     

    Thanks in advance,

    K.

     

  • Mon, Nov 3 2014 9:04 PM In reply to

    • Vadym
    • Not Ranked
    • Joined on Thu, Apr 17 2014
    • Posts 176
    • Points 2,225
    • Avid Developer Moderator
      Avid Employee

    Re: How to get all assotiations from a masterclip

    Hi K,

    I'd need exact requests to see what you're doing to advise.

    Anyway there are no specific relations between Capture and Device clips. The relation is established by media and Associations tab view populated with the result of MI search.

    The Resolution List for the specific MobID can be obtained by GetResolutions request, I'm not aware of the possibility to use GetAttributes for that.

    Media Format attribute (e.g. xdcam, h264, etc) belongs to a FileMobID which makes impossible to search for Media Format by the Search request. I'm not sure what are your tests that work.

    SourceID attribute belongs to MobID and you may search for it, this will return all Mobs with the same Source i.e. both Capture and Device clips. Then you may use GetResolutions/GetFileDetails to figure out the cilp you need.

    GetFileDetails request is the best way to ensure you'll STP the file you'd expect to see as the output. Fields like Name and SourceID may get duplicated potentially returning more than one search result and lead to unpredictable issues in the future.

    Thanks,

    Vadym

  • Tue, Nov 4 2014 10:29 AM In reply to

    • kvolkov
    • Not Ranked
    • Joined on Thu, Jun 4 2009
    • Posts 40
    • Points 435

    Re: How to get all assotiations from a masterclip

    Ciao Vadym,

    here is the exact requests/replies. My comments in bold.

    The following is the synthetic masterclip got by GetChildren. It has been created by Capture:

          <GetChildrenResponse xmlns="http://avid.com/interplay/ws/assets/types">

             <Results>

                <AssetDescription>

                   <InterplayURI>interplay://TG2WG?mobid=060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|A0131CC0-BEFD-420B-A498-B80998153CDD|*|295702|*</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">capture</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2014-09-26T10:48:34.000+0200</Attribute>

                      <Attribute Name="Display Name" Group="USER">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:01:18:00</Attribute>

                      <Attribute Name="End" Group="SYSTEM">10:49:02:00</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">718721</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">online</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">capture</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2014-09-26T10:49:36.000+0200</Attribute>

                      <Attribute Name="Path" Group="SYSTEM">/Catalogs/pippo/060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-5d8179d0f26b44cd-84962ae20d68-c923</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">10:47:44:00</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1-4</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                   </Attributes>

                </AssetDescription>

     

    If I perform the following search based on DisplayName only:

     

          <typ:Search>

             <typ:InterplayPathURI>interplay://TG2WG/Catalogs</typ:InterplayPathURI>

             <typ:SearchGroup Operator="AND">

                <!--Zero or more repetitions:-->

                <typ:AttributeCondition Condition="CONTAINS">

                   <typ:Attribute Group="USER" Name="Display Name">140926-1047-BO  incidente bimbo</typ:Attribute>

                </typ:AttributeCondition>

             </typ:SearchGroup>

          </typ:Search>

     

    I get a lot of results that include all device clips but also other stuff I do not want:

     

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

       <soap:Body>

          <SearchResponse xmlns="http://avid.com/interplay/ws/assets/types">

             <Results>

                <AssetDescription>

                   <InterplayURI>interplay://TG2WG?mobid=060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|A0131CC0-BEFD-420B-A498-B80998153CDD|*|295702|*</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">capture</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2014-09-26T10:48:34.000+0200</Attribute>

                      <Attribute Name="Display Name" Group="USER">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:01:18:00</Attribute>

                      <Attribute Name="End" Group="SYSTEM">10:49:02:00</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">718721</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">online</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">capture</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2014-09-26T10:49:36.000+0200</Attribute>

                      <Attribute Name="Path" Group="SYSTEM">/Catalogs/pippo/060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-5d8179d0f26b44cd-84962ae20d68-c923</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">10:47:44:00</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1-4</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                   </Attributes>

                </AssetDescription>

                <AssetDescription>

                   <InterplayURI>interplay://TG2WG?mobid=060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|A0131CC0-BEFD-420B-A498-B80998153CDD|*|300952|*</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">capture</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2014-09-26T10:48:34.000+0200</Attribute>

                      <Attribute Name="Display Name" Group="USER">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:01:18:00</Attribute>

                      <Attribute Name="End" Group="SYSTEM">10:49:02:00</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">718721</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">online</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">capture</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2014-09-26T10:49:36.000+0200</Attribute>

                      <Attribute Name="Path" Group="SYSTEM">/Catalogs/00_TELEPORT/00_CONTRIBUTI DEL GIORNO/060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-5d8179d0f26b44cd-84962ae20d68-c923</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">10:47:44:00</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1-4</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                   </Attributes>

                </AssetDescription>

                <AssetDescription>

                   <InterplayURI>interplay://TG2WG?mobid=060a2b340101010101010f0013-000001-71a7f46b571e47b8-b218445a2dc1-72d4</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000001-71a7f46b571e47b8-b218445a2dc1-72d4</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|A0131CC0-BEFD-420B-A498-B80998153CDD|*|301470|*</Attribute>

                      <Attribute Name="CaptureMasterClipMobID" Group="USER">060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">airspeed</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2014-09-26T10:47:58.000+0200</Attribute>

                      <Attribute Name="Display Name" Group="USER">140926-1047-BO  incidente bimbo.1a</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:01:23:13</Attribute>

                      <Attribute Name="End" Group="SYSTEM">10:49:03:08</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">76347</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">online</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">airspeed</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2014-09-26T10:49:15.000+0200</Attribute>

                      <Attribute Name="Path" Group="SYSTEM">/Catalogs/SXRDNIPSAS002/060a2b340101010101010f0013-000001-71a7f46b571e47b8-b218445a2dc1-72d4</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-5d8179d0f26b44cd-84962ae20d68-c923</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">10:47:39:20</Attribute>

                      <Attribute Name="Tape" Group="SYSTEM">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Tape" Group="USER">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1,3</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                      <Attribute Name="Video ID" Group="USER">140926-10DmHwje8aROXzSs-DaO4GwW</Attribute>

                   </Attributes>

                </AssetDescription>

                <AssetDescription>

                   <InterplayURI>interplay://TG2WG?mobid=060a2b340101010101010f0013-000000-71a7f46b571e47b8-b218445a2dc1-72d4</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000000-71a7f46b571e47b8-b218445a2dc1-72d4</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|A0131CC0-BEFD-420B-A498-B80998153CDD|*|812278|*</Attribute>

                      <Attribute Name="CaptureMasterClipMobID" Group="USER">060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">airspeed</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2014-09-26T10:47:58.000+0200</Attribute>

                      <Attribute Name="Display Name" Group="USER">140926-1047-BO  incidente bimbo.1a</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:01:23:13</Attribute>

                      <Attribute Name="End" Group="SYSTEM">10:49:03:08</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">607951</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">online</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">airspeed</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2014-09-26T10:49:15.000+0200</Attribute>

                      <Attribute Name="Path" Group="SYSTEM">/Catalogs/SXRDNIPSAS002/060a2b340101010101010f0013-000000-71a7f46b571e47b8-b218445a2dc1-72d4</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-5d8179d0f26b44cd-84962ae20d68-c923</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">10:47:39:20</Attribute>

                      <Attribute Name="Tape" Group="SYSTEM">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Tape" Group="USER">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1-4</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                      <Attribute Name="Video ID" Group="USER">140926-10DmHwje8aROXzSs-DaO4GwW</Attribute>

                   </Attributes>

                </AssetDescription>

             </Results>

          </SearchResponse>

       </soap:Body>

    </soap:Envelope>


    But if I restrict the seach as follows, using ResolutionCondition and only 1 result:       <typ:Search>          <typ:InterplayPathURI>interplay://TG2WG/Catalogs</typ:InterplayPathURI>          <typ:SearchGroup Operator='AND'>             <!--Zero or more repetitions:-->             <typ:AttributeCondition Condition="CONTAINS">                <typ:Attribute Group="USER" Name="Display Name">40926-1047-BO  incidente bimbo</typ:Attribute>             </typ:AttributeCondition>             <typ:AttributeCondition Condition="EQUALS">                <typ:Attribute Name="Type" Group="SYSTEM">masterclip</typ:Attribute>             </typ:AttributeCondition>             <typ:ResolutionCondition Resolution="XDCAM-HD 50mbps 1080i 50" Condition="EQUALS"/>             <typ:ResolutionCondition Resolution="PCM" Condition="EQUALS"/>             <typ:ResolutionCondition Resolution="H.264 800Kbps Proxy 1080i 25" Condition="NOT_EQUALS"/>          <!--Optional:-->          <typ:MaxResults>1</typ:MaxResults>          <!--Optional:-->          <typ:Extension>             <!--You may enter ANY elements at this point-->          </typ:Extension>          <!--You may enter ANY elements at this point-->           </typ:SearchGroup>       </typ:Search>

     

    Then I get directly the needed deviceclip:

     

    <SearchResponse xmlns="http://avid.com/interplay/ws/assets/types">

             <Results>

                <AssetDescription>

                   <InterplayURI>interplay://TG2WG?mobid=060a2b340101010101010f0013-000000-71a7f46b571e47b8-b218445a2dc1-72d4</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000000-71a7f46b571e47b8-b218445a2dc1-72d4</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|A0131CC0-BEFD-420B-A498-B80998153CDD|*|812278|*</Attribute>

                      <Attribute Name="CaptureMasterClipMobID" Group="USER">060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">airspeed</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2014-09-26T10:47:58.000+0200</Attribute>

                      <Attribute Name="Display Name" Group="USER">140926-1047-BO  incidente bimbo.1a</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:01:23:13</Attribute>

                      <Attribute Name="End" Group="SYSTEM">10:49:03:08</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">607951</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">online</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">airspeed</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2014-09-26T10:49:15.000+0200</Attribute>

                      <Attribute Name="Path" Group="SYSTEM">/Catalogs/SXRDNIPSAS002/060a2b340101010101010f0013-000000-71a7f46b571e47b8-b218445a2dc1-72d4</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-5d8179d0f26b44cd-84962ae20d68-c923</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">10:47:39:20</Attribute>

                      <Attribute Name="Tape" Group="SYSTEM">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Tape" Group="USER">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1-4</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                      <Attribute Name="Video ID" Group="USER">140926-10DmHwje8aROXzSs-DaO4GwW</Attribute>

                   </Attributes>

                </AssetDescription>

             </Results>

          </SearchResponse>

     

    As far as I understand the search based on clip name and even on source id does not guarantee the uniqeness of the result and you propose to identify device clip by matching the fiilemob of the required resolution in synthetic clip and all found device clips. Correct?

     

    Thanks

     

  • Wed, Nov 5 2014 11:14 AM In reply to

    • kvolkov
    • Not Ranked
    • Joined on Thu, Jun 4 2009
    • Posts 40
    • Points 435

    Re: How to get all assotiations from a masterclip

    Ciao Vadym,

    I'm just repeating the post, there was a network error when I posted it previously.

    Here is the exact requests/replies. My comments in bold.

    The following is the synthetic masterclip got by GetChildren. It has been created by Capture:

          <GetChildrenResponse xmlns="http://avid.com/interplay/ws/assets/types">

             <Results>

                <AssetDescription>

                   <InterplayURI>interplay://TG2WG?mobid=060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|A0131CC0-BEFD-420B-A498-B80998153CDD|*|295702|*</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">capture</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2014-09-26T10:48:34.000+0200</Attribute>

                      <Attribute Name="Display Name" Group="USER">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:01:18:00</Attribute>

                      <Attribute Name="End" Group="SYSTEM">10:49:02:00</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">718721</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">online</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">capture</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2014-09-26T10:49:36.000+0200</Attribute>

                      <Attribute Name="Path" Group="SYSTEM">/Catalogs/pippo/060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-5d8179d0f26b44cd-84962ae20d68-c923</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">10:47:44:00</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1-4</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                   </Attributes>

                </AssetDescription>

     

    If I perform the following search based on DisplayName only:

     

          <typ:Search>

             <typ:InterplayPathURI>interplay://TG2WG/Catalogs</typ:InterplayPathURI>

             <typ:SearchGroup Operator="AND">

                <!--Zero or more repetitions:-->

                <typ:AttributeCondition Condition="CONTAINS">

                   <typ:Attribute Group="USER" Name="Display Name">140926-1047-BO  incidente bimbo</typ:Attribute>

                </typ:AttributeCondition>

             </typ:SearchGroup>

          </typ:Search>

     

    I get a lot of results that include all device clips but also other stuff I do not want:

     

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

       <soap:Body>

          <SearchResponse xmlns="http://avid.com/interplay/ws/assets/types">

             <Results>

                <AssetDescription>

                   <InterplayURI>interplay://TG2WG?mobid=060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|A0131CC0-BEFD-420B-A498-B80998153CDD|*|295702|*</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">capture</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2014-09-26T10:48:34.000+0200</Attribute>

                      <Attribute Name="Display Name" Group="USER">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:01:18:00</Attribute>

                      <Attribute Name="End" Group="SYSTEM">10:49:02:00</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">718721</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">online</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">capture</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2014-09-26T10:49:36.000+0200</Attribute>

                      <Attribute Name="Path" Group="SYSTEM">/Catalogs/pippo/060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-5d8179d0f26b44cd-84962ae20d68-c923</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">10:47:44:00</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1-4</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                   </Attributes>

                </AssetDescription>

                <AssetDescription>

                   <InterplayURI>interplay://TG2WG?mobid=060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|A0131CC0-BEFD-420B-A498-B80998153CDD|*|300952|*</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">capture</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2014-09-26T10:48:34.000+0200</Attribute>

                      <Attribute Name="Display Name" Group="USER">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:01:18:00</Attribute>

                      <Attribute Name="End" Group="SYSTEM">10:49:02:00</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">718721</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">online</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">capture</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2014-09-26T10:49:36.000+0200</Attribute>

                      <Attribute Name="Path" Group="SYSTEM">/Catalogs/00_TELEPORT/00_CONTRIBUTI DEL GIORNO/060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-5d8179d0f26b44cd-84962ae20d68-c923</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">10:47:44:00</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1-4</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                   </Attributes>

                </AssetDescription>

                <AssetDescription>

                   <InterplayURI>interplay://TG2WG?mobid=060a2b340101010101010f0013-000001-71a7f46b571e47b8-b218445a2dc1-72d4</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000001-71a7f46b571e47b8-b218445a2dc1-72d4</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|A0131CC0-BEFD-420B-A498-B80998153CDD|*|301470|*</Attribute>

                      <Attribute Name="CaptureMasterClipMobID" Group="USER">060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">airspeed</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2014-09-26T10:47:58.000+0200</Attribute>

                      <Attribute Name="Display Name" Group="USER">140926-1047-BO  incidente bimbo.1a</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:01:23:13</Attribute>

                      <Attribute Name="End" Group="SYSTEM">10:49:03:08</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">76347</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">online</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">airspeed</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2014-09-26T10:49:15.000+0200</Attribute>

                      <Attribute Name="Path" Group="SYSTEM">/Catalogs/SXRDNIPSAS002/060a2b340101010101010f0013-000001-71a7f46b571e47b8-b218445a2dc1-72d4</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-5d8179d0f26b44cd-84962ae20d68-c923</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">10:47:39:20</Attribute>

                      <Attribute Name="Tape" Group="SYSTEM">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Tape" Group="USER">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1,3</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                      <Attribute Name="Video ID" Group="USER">140926-10DmHwje8aROXzSs-DaO4GwW</Attribute>

                   </Attributes>

                </AssetDescription>

                <AssetDescription>

                   <InterplayURI>interplay://TG2WG?mobid=060a2b340101010101010f0013-000000-71a7f46b571e47b8-b218445a2dc1-72d4</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000000-71a7f46b571e47b8-b218445a2dc1-72d4</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|A0131CC0-BEFD-420B-A498-B80998153CDD|*|812278|*</Attribute>

                      <Attribute Name="CaptureMasterClipMobID" Group="USER">060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">airspeed</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2014-09-26T10:47:58.000+0200</Attribute>

                      <Attribute Name="Display Name" Group="USER">140926-1047-BO  incidente bimbo.1a</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:01:23:13</Attribute>

                      <Attribute Name="End" Group="SYSTEM">10:49:03:08</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">607951</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">online</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">airspeed</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2014-09-26T10:49:15.000+0200</Attribute>

                      <Attribute Name="Path" Group="SYSTEM">/Catalogs/SXRDNIPSAS002/060a2b340101010101010f0013-000000-71a7f46b571e47b8-b218445a2dc1-72d4</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-5d8179d0f26b44cd-84962ae20d68-c923</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">10:47:39:20</Attribute>

                      <Attribute Name="Tape" Group="SYSTEM">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Tape" Group="USER">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1-4</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                      <Attribute Name="Video ID" Group="USER">140926-10DmHwje8aROXzSs-DaO4GwW</Attribute>

                   </Attributes>

                </AssetDescription>

             </Results>

          </SearchResponse>

       </soap:Body>

    </soap:Envelope>


    But if I restrict the seach as follows, using ResolutionCondition and only 1 result:      

    <typ:Search>          <typ:InterplayPathURI>interplay://TG2WG/Catalogs</typ:InterplayPathURI>          <typ:SearchGroup Operator='AND'>             <!--Zero or more repetitions:-->            <typ:AttributeCondition Condition="CONTAINS">                <typ:Attribute Group="USER" Name="Display Name">40926-1047-BO  incidente bimbo</typ:Attribute>             </typ:AttributeCondition>             <typ:AttributeCondition Condition="EQUALS">                <typ:Attribute Name="Type" Group="SYSTEM">masterclip</typ:Attribute>             </typ:AttributeCondition>             <typ:ResolutionCondition Resolution="XDCAM-HD 50mbps 1080i 50" Condition="EQUALS"/>             <typ:ResolutionCondition Resolution="PCM" Condition="EQUALS"/>             <typ:ResolutionCondition Resolution="H.264 800Kbps Proxy 1080i 25" Condition="NOT_EQUALS"/>          <!--Optional:-->          <typ:MaxResults>1</typ:MaxResults>          <!--Optional:-->          <typ:Extension>             <!--You may enter ANY elements at this point-->          </typ:Extension>          <!--You may enter ANY elements at this point-->           </typ:SearchGroup>       </typ:Search>

     

    Then I get directly the needed deviceclip:

     

    <SearchResponse xmlns="http://avid.com/interplay/ws/assets/types">

             <Results>

                <AssetDescription>

                   <InterplayURI>interplay://TG2WG?mobid=060a2b340101010101010f0013-000000-71a7f46b571e47b8-b218445a2dc1-72d4</InterplayURI>

                   <Attributes>

                      <Attribute Name="MOB ID" Group="SYSTEM">060a2b340101010101010f0013-000000-71a7f46b571e47b8-b218445a2dc1-72d4</Attribute>

                      <Attribute Name="Moniker" Group="SYSTEM">1|A0131CC0-BEFD-420B-A498-B80998153CDD|*|812278|*</Attribute>

                      <Attribute Name="CaptureMasterClipMobID" Group="USER">060a2b340101010101010f0013-000000-549848e4998a403e-95fcb5f99c28-2cfc</Attribute>

                      <Attribute Name="Created By" Group="SYSTEM">airspeed</Attribute>

                      <Attribute Name="Creation Date" Group="SYSTEM">2014-09-26T10:47:58.000+0200</Attribute>

                      <Attribute Name="Display Name" Group="USER">140926-1047-BO  incidente bimbo.1a</Attribute>

                      <Attribute Name="Duration" Group="SYSTEM">00:01:23:13</Attribute>

                      <Attribute Name="End" Group="SYSTEM">10:49:03:08</Attribute>

                      <Attribute Name="Media Size" Group="SYSTEM">607951</Attribute>

                      <Attribute Name="Media Status" Group="SYSTEM">online</Attribute>

                      <Attribute Name="Modified By" Group="SYSTEM">airspeed</Attribute>

                      <Attribute Name="Modified Date" Group="SYSTEM">2014-09-26T10:49:15.000+0200</Attribute>

                      <Attribute Name="Path" Group="SYSTEM">/Catalogs/SXRDNIPSAS002/060a2b340101010101010f0013-000000-71a7f46b571e47b8-b218445a2dc1-72d4</Attribute>

                      <Attribute Name="Source ID" Group="SYSTEM">060a2b340101010101010f0013-000000-5d8179d0f26b44cd-84962ae20d68-c923</Attribute>

                      <Attribute Name="Start" Group="SYSTEM">10:47:39:20</Attribute>

                      <Attribute Name="Tape" Group="SYSTEM">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Tape" Group="USER">140926-1047-BO  incidente bimbo</Attribute>

                      <Attribute Name="Tracks" Group="SYSTEM">V1 A1-4</Attribute>

                      <Attribute Name="Type" Group="SYSTEM">masterclip</Attribute>

                      <Attribute Name="Video ID" Group="USER">140926-10DmHwje8aROXzSs-DaO4GwW</Attribute>

                   </Attributes>

                </AssetDescription>

             </Results>

          </SearchResponse>

     

    As far as I understand the search based on clip name and even on source id does not guarantee the uniqeness of the result and you propose to identify device clip by matching the fiilemob of the required resolution in synthetic clip and all found device clips. Correct?

     

    Thanks

Page 1 of 1 (14 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller