Latest post Fri, Jun 28 2019 3:02 PM by Gregor Cemeli. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • Tue, Feb 26 2019 9:44 PM

    • Simon Tang
    • Not Ranked
    • Joined on Thu, Oct 4 2018
    • Posts 7
    • Points 85

    how to validate MOB IDs

    We've noticed errors when using AMT if the MOB IDs don't follow the proper format.  For example, if we set it to 'test' instead of something like '060a2b340101010101010f0013-000000-4fd6340fea6337e1-060e2b347f7e-2a81'.

    We'd like to do some validation of these values before passing them to the AMT SDK.

    Is there a description of the string format for MOB IDs we could use to perform such validation?

    Filed under:
  • Wed, Feb 27 2019 12:39 PM In reply to

    • andym
    • Not Ranked
    • Joined on Thu, Jan 13 2011
    • Posts 111
    • Points 1,345
    • Avid Developer Moderator

    Re: how to validate MOB IDs

    Hi Simon,

    MobIDs follow a specific narrowly defined format and are generally UMIDs as defined by SMPTE 330:2011. You should not have to create them yourself, the AMT SDK will do this for you you unless you override this mechanism by specifically providing MobIDs (which is only meant to be used in very specific cases where typically it was also AMT that has generated a MobID). AMT's Mob ID generation follows the algorithm defined in Annex A of SMPTE 330:2011.

  • Mon, Jun 24 2019 12:59 PM In reply to

    Re: how to validate MOB IDs

    Hi, 

    In AMT3, I dont see any MobIds generation function (AMT2 GetMobIDs equivalent).

    Any idea ?

    Gregor 

  • Fri, Jun 28 2019 10:32 AM In reply to

    • andym
    • Not Ranked
    • Joined on Thu, Jan 13 2011
    • Posts 111
    • Points 1,345
    • Avid Developer Moderator

    Re: how to validate MOB IDs

    Hi Gregor,

    in many calls where MobIDs are required you can simply omit the mobid parameter and AMT3/MediaProcessor will generate one for you. That's for example the case in the demos where you can optionally specify MobIDs using command line arguments:

    -mmid <MasterMob ID>: MediaParameters::masterMobID
    -psmid <Physical SourceMob ID>: MediaParameters::physicalSourceMobID

    If you omit those arguments, AMT3/MP will create the MobIDs for you.

    If you want to create MobIDs for later explict use, AMT3/MP also has a function for this. Check out ~\include\MediaProcessor\Core\UMID.h, there is a UMID class with a create() call that will return a value that can be used as a valid MobID.

  • Fri, Jun 28 2019 3:02 PM In reply to

    Re: how to validate MOB IDs

    Thanks a lot, Andy.

    We're going to try that ASAP.

Page 1 of 1 (5 items)

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