Latest post Fri, Jun 26 2015 8:46 PM by Vadym. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • Wed, Jun 17 2015 6:01 PM

    • xudon
    • Not Ranked
    • Joined on Tue, Apr 15 2014
    • Posts 14
    • Points 180

    interplay web services to create subclip

    Hi, All

    I'm using port.CreateSubclip(creds, param) to create subclips through interplay web services. But we have an issue which the subclips we created had different number of attributes. For example, one clip had 17 attributes associated with it, but the other one only had 15 (field like SYSTEM.Tape was missing from subclip etc.).

    Could someone point me to right direction? Is this interplay system configuration issue?

    Thank you very much for any help,

    Don

  • Fri, Jun 19 2015 3:54 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: interplay web services to create subclip

    xudon,

    We are trying to track this down here. Please send the output that shows the 17 and 15 attributes.

    When we create subclips in our test environment, we do not get the SYSTEM.Tape attribute on the subclip.

    However, when we call GetRelatives on the newly created subclip, we do get the SYSTEM.Tape attribute. You may be able to use this as a workaround.

    - Rob

     

  • Fri, Jun 19 2015 4:10 PM In reply to

    • xudon
    • Not Ranked
    • Joined on Tue, Apr 15 2014
    • Posts 14
    • Points 180

    Re: interplay web services to create subclip

    Hi, Rob

    Thanks for the response. I'm listing three subclips created with same program. But as you can see, the subclips were created, they had different set of attributes and SYSTEM.Tape is very important for our process. Also it happened randomly to drop and non-drop frame files.

    interplay://AvidWG?mobid=060a2b340101010101010f0013-000000-000001548a023222-060e2b347f7f-2a80
    SYSTEM.MOB ID = 060a2b340101010101010f0013-000000-000001548a023222-060e2b347f7f-2a80
    SYSTEM.Moniker = 1|DF42EAF0-8F94-46AC-A862-51CB59DB5211|*|14037590|*
    SYSTEM.CFPS = 29.97
    USER.Comments = comment3 --- missing from next two clips
    SYSTEM.Created By = User1
    SYSTEM.Creation Date = 2015-06-15T14:45:32.000-0400
    USER.Display Name = Comment3
    SYSTEM.Duration = 00:00:48:22
    SYSTEM.End = 01:24:54:05
    USER.Field Ordering = Default --- missing from next two clips
    SYSTEM.Media File Format = MXF --- missing from next two clips
    SYSTEM.Media Status = online
    SYSTEM.Modified By = User1
    SYSTEM.Modified Date = 2015-06-15T15:04:30.000-0400
    SYSTEM.Path = /Searches/OnlineISISClips/060a2b340101010101010f0013-000000-000001548a023222-060e2b347f7f-2a80
    SYSTEM.Source ID = 060a2b340101010101010f0013-000000-54bc9d081b820182-060e2b347f7f-2a80
    SYSTEM.Start = 01:24:05:13
    SYSTEM.Tape = 325235 --- missing from bottom clip
    SYSTEM.Tracks = V1
    SYSTEM.Type = subclip


    interplay://AvidWG?mobid=060a2b340101010101010f0013-000000-00000177f6c9b254-060e2b347f7f-2a80
    SYSTEM.MOB ID = 060a2b340101010101010f0013-000000-00000177f6c9b254-060e2b347f7f-2a80
    SYSTEM.Moniker = 1|DF42EAF0-8F94-46AC-A862-51CB59DB5211|*|14058265|*
    SYSTEM.Created By = User1
    SYSTEM.Creation Date = 2015-06-16T11:05:17.000-0400
    USER.Display Name = comment1
    SYSTEM.Duration = 00;00;05;06
    SYSTEM.End = 01;24;59;12
    SYSTEM.Media Status = online
    SYSTEM.Modified By = User1
    SYSTEM.Modified Date = 2015-06-16T11:05:17.000-0400
    SYSTEM.Path = /Searches/OnlineISISClips/060a2b340101010101010f0013-000000-00000177f6c9b254-060e2b347f7f-2a80
    SYSTEM.Source ID = 060a2b340101010101010f0013-000000-5373dbe173700204-060e2b347f7f-2a80
    SYSTEM.Start = 01;24;54;06
    USER.Tape = 185495  --- missing from bottom clip
    SYSTEM.Tracks = V1 A1-4
    SYSTEM.Type = subclip


    interplay://AvidWG?mobid=060a2b340101010101010f0013-000000-0000017845d32036-060e2b347f7f-2a80
    SYSTEM.MOB ID = 060a2b340101010101010f0013-000000-0000017845d32036-060e2b347f7f-2a80
    SYSTEM.Moniker = 1|DF42EAF0-8F94-46AC-A862-51CB59DB5211|*|14058697|*
    SYSTEM.Created By = User1
    SYSTEM.Creation Date = 2015-06-16T11:20:02.000-0400
    USER.Display Name = comment2
    SYSTEM.Duration = 00;00;02;20
    SYSTEM.End = 01;17;21;26
    SYSTEM.Media Status = online
    SYSTEM.Modified By = User1
    SYSTEM.Modified Date = 2015-06-16T11:20:02.000-0400
    SYSTEM.Path = /Searches/OnlineISISClips/060a2b340101010101010f0013-000000-0000017845d32036-060e2b347f7f-2a80
    SYSTEM.Source ID = 060a2b340101010101010f0013-000000-53a9a7259a440018-060e2b347f7f-2a80
    SYSTEM.Start = 01;17;19;06
    SYSTEM.Tracks = V1 A1-4
    SYSTEM.Type = subclip

  • Fri, Jun 19 2015 5:01 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: interplay web services to create subclip

    OK, thanks for the info. I'll pass this along to our developer support team.

    In the meantime, please try the workaround of calling FindRelatives on the subclips to check and see if you get all the attributes.

    - Rob

     

  • Fri, Jun 19 2015 5:16 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: interplay web services to create subclip

    Another workaround is to set the attributes when you create the subclip. Note that this only works for USER attributes.

    An example is here:

      http://pastebin.com/Zaz2a6wc

    - Rob

     

  • Fri, Jun 19 2015 5:58 PM In reply to

    • xudon
    • Not Ranked
    • Joined on Tue, Apr 15 2014
    • Posts 14
    • Points 180

    Re: interplay web services to create subclip

    Hi, Rob

    I don't think FindRelatives will work for me. After users had created thousands of subclips, avid admin came to me and told me that there were hundreds of them had no tape id which caused problems for editors. I also tried set tape (id) attribute when I created subclip and it failed since it's system attribute.

    I felt this has something to do with system configuration. I'm using the same function to create subclips and how come the results are different.

    Thank you very much for looking into this,

    Don

    also this is how I created subclips

     If sDropFrameFlag = "Y" Then
                sStartTime = sStartTime.Replace(":", ";")
            End If

            Dim port As New AssetsPortTypeClient()

            Dim creds As New InterplayProductionAssetsWS.UserCredentialsType()

            creds.Username = sInterplayUserName

            creds.Password = sInterplayPassword

            Dim param As New CreateSubclipType()

            param.MasterclipURI = sMobID
            param.SubclipPathURI = sSubclipPath
            param.Name = sName
            param.StartingTimecode = sStartTime
            param.Length = sLength

     

            Try
                Dim response As CreateSubclipResponseType = port.CreateSubclip(creds, param)

                If Not IsNothing(response.Errors) Then

     

     

     

     

     

     

     

     

     

     

  • Fri, Jun 19 2015 6:08 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: interplay web services to create subclip

    Don,

    > I don't think FindRelatives will work for me.

    OK, I understand.

    I don't think that this is a system configuration issue. I checked the Interplay Docs and couldn't find a setting for this. I think it has more to do with the origin of the masterclips.

    > I also tried set tape (id) attribute when I created subclip and it failed since it's system attribute.

    Note that the second subclip that you listed above has the USER.Tape attribute set. You could try setting this when you create the subclip and see if it works in with the editors.

    - Rob

     

  • Fri, Jun 26 2015 8:46 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 216
    • Points 2,655
    • Avid Developer Moderator
      Avid Employee

    Re: interplay web services to create subclip

    Hi Xudon,

    Do you see this behavior with different master clips? Can you reproduce this issue with one masterclip creating multiple subclips off of it?

    IPWS uses the same subclip functionality as Interplay Access. And I've just tested that subclips created by Interplay Access have empty System Tape propertly even if masterclip's System Tape is not empty.

    From my view it would be a question of how do you get System Tape property set on subclips if it should not be there.

    Vadym

Page 1 of 1 (8 items)

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