Latest post Wed, Feb 4 2015 3:33 PM by robg. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • Thu, Jan 29 2015 6:20 AM

    How to detect proxy track/clips of an asset

    In our tool's integration with Interplay, we use following API methods
              - GetFileDetails
              - GetChildren
    Our customer uses our tool to perform QC of content@Interplay system, But he does not want to perform QC on proxy clips. Can we get information about the proxy tracks(children files) in above API calls, so that we can provide an option in our tool to skip QC of proxy tracks ?
    
    
    Filed under:
  • Thu, Jan 29 2015 3:15 PM In reply to

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

    Re: How to detect proxy track/clips of an asset

    srao,

    Once you have the InterplayURI for a masterclip, from GetChildren, you can call GetRsolutions() to get the available video and audio resolutions for the clip.

    For example, this call:

    <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>uuuu</typ:Username>

             <typ:Password>pppp</typ:Password>

          </typ:UserCredentials>

       </soapenv:Header>

       <soapenv:Body>

          <typ:GetResolutions>

             <typ:InterplayURIs>

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

             </typ:InterplayURIs>

          </typ:GetResolutions>

       </soapenv:Body>

    </soapenv:Envelope>

     

    Here is the reponse.

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

       <soap:Body>

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

             <Summary>

                <Resolution>DNxHD 1080 115-120-145</Resolution>

                <Resolution>PCM</Resolution>

             </Summary>

          </GetResolutionsResponse>

       </soap:Body>

    </soap:Envelope>

     

    Clips with proxy media will have formats similar to:

    • MPEG-4 video format with MPEG1 Layer 2 audio format
    • H.264 video format with MPEG1 Layer 2 audio format
    - Rob

     

  • Fri, Jan 30 2015 8:36 AM In reply to

    Re: How to detect proxy track/clips of an asset

    OK. I understand what you said.

    Is it possible to check value of a particular metadata which can specify the proxy file.

    or 

    Can you provide a list of (audio/video)formats/resolutions which are used for proxy files only ?

  • Fri, Jan 30 2015 7:13 PM In reply to

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

    Re: How to detect proxy track/clips of an asset

    srao,

    I don't have the definitive list of resolutions yet, but after running some tests here I found that the proxy video is marked "proxy".

    For example, this is the result from a clip with both full-res and proxy media:

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

       <soap:Body>

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

             <Summary>

                <Resolution>DNxHD 1080i 100</Resolution>

                <Resolution>PCM</Resolution>

                <Resolution>H.264 800Kbps Proxy 1080i 29.97</Resolution>

                <Resolution>MPEG1Layer2</Resolution>

             </Summary>

          </GetResolutionsResponse>

       </soap:Body>

    </soap:Envelope>

    So it looks like all you have to do is look for the string "Proxy" in the list of resolutions to see if there is proxy video media.

    Also, the proxy audio media is marked MPEG1Layer2.

    - Rob

     

  • Wed, Feb 4 2015 3:25 PM In reply to

    • hwilliams
    • Not Ranked
    • Joined on Fri, Dec 12 2014
    • Posts 20
    • Points 275

    Re: How to detect proxy track/clips of an asset

    To clarify: There's nothing in the metadata that explicitly says "this is a proxy." Is that correct?

    [EDIT]: To put it another way, there's no way that I, as a developer, should feel confident that a given item is a proxy. The best I can do is infer the situation from the resolution or file details. Is that correct?

     

  • Wed, Feb 4 2015 3:33 PM In reply to

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

    Re: How to detect proxy track/clips of an asset

    Yes, you are correct. There is no "proxy flag" in the metadata.

    - Rob

     

Page 1 of 1 (6 items)

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