Latest post Fri, Feb 3 2017 5:29 PM by sekohnle. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • Fri, Sep 30 2016 3:38 PM

    • sekohnle
    • Not Ranked
    • Joined on Thu, Oct 1 2015
    • Posts 23
    • Points 265

    AMT Deployment

    Hello,

    The AMT documentation says to place the contents of <AMT_SDK>\bin, assuming to where my executable is. But under the bin folder, contains a release folder. Does that mean to copy the contains from <AMT_SDK>\bin\Release?

    I have copied the contents of the Release folder were my executable is but the codec manager fails to initialize, when calling CreateAmtInterplayClip(). Also, I already have frames that are DNxHD 145 so it is a pass through. Why would it need the codec manager? Why is the codec manager failing to initialize?

    Thanks,
    Scott.

  • Fri, Sep 30 2016 8:18 PM In reply to

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

    Re: AMT Deployment

    Scott,

    What version of AMT are you using?

    Also, which AMT doc are you referring to?

    - Rob

     

  • Fri, Sep 30 2016 8:20 PM In reply to

    • sekohnle
    • Not Ranked
    • Joined on Thu, Oct 1 2015
    • Posts 23
    • Points 265

    Re: AMT Deployment

    Hi Rob,

    It is an older version, AMT_2.10.0.923.

    Thanks,

    Scott.

  • Fri, Sep 30 2016 9:25 PM In reply to

    • Vadym
    • Not Ranked
    • Joined on Thu, Apr 17 2014
    • Posts 151
    • Points 1,920
    • Avid Developer Moderator
      Avid Employee

    Re: AMT Deployment

    Hi Scott,

    Is it a mac or win version? Do you have the AMT DLL sample app up and running?

    What is the status of your LoadAmtPlugins call?

    You need the dlls and avx plugins folder with contents under Release folder availabe to your binary one way or another.

  • Sat, Oct 1 2016 2:12 PM In reply to

    • sekohnle
    • Not Ranked
    • Joined on Thu, Oct 1 2015
    • Posts 23
    • Points 265

    Re: AMT Deployment

    Hello Vadym,

    It is a Windows version. I found the issue, it was a user error on my part, not calling LoadAmtPlugins().

    Thanks for the help.

    Scott.

  • Tue, Oct 4 2016 4:27 PM In reply to

    • sekohnle
    • Not Ranked
    • Joined on Thu, Oct 1 2015
    • Posts 23
    • Points 265

    Re: AMT Deployment

    Hello,

    I have the following sample code, and I am getting a failure in CreateAmtTrack() with AMT_UNKNOWN_EXCEPTION_RAISED. After calling LoadPlugins(), I do the following,

            int status = CreateAmtInterplayClip(&_pSession,
                                                clipName.c_str(),
                                                xmlFormat.c_str(),
                                                NULL,
                                                NULL,
                                                NULL,
                                                _interplayEndPoint.c_str(),
                                                uriIn.c_str(),
                                                _userName.c_str(),
                                                _password.c_str(),
                                                mediaLocation.c_str(),
                                                NULL);
            if (AMT_SUCCESS != status)
            {
                return false;
            }

            // create the tracks
            if (AMT_SUCCESS != (status = CreateAmtTrack(&_pSession, ET_VIDEO, 0)))
            {
                return false;
            }

    The following are the values passed to CreateAmtInterplayClip() which returns AMT_SUCCESS.

    ClipName = "TestClip"

    xmlFormat =   <?xml version="1.0" encoding="ISO-8859-1" ?>
      <AmtMediaAttributes>
      <format>
      <mediaFormat>Compressed</mediaFormat>
      <signalStandard>SS_274M_I</signalStandard>
      <dropFrame>kAVXTrue</dropFrame>
      <compressionType>Avid::HD::DNxHD</compressionType>
      <dnxhdMbitsPerSecond>145</dnxhdMbitsPerSecond>
      <dnxhdComponentBits>8</dnxhdComponentBits>
      </format>
      <timecode>01:00:00:00</timecode>
      <bitRateMode>CONSTANT BIT RATE</bitRateMode>
      <framesPerSecond>29.97</framesPerSecond>
      <storedHeight>540</storedHeight>
      <storedWidth>1280</storedWidth>
      <audioTracks>2</audioTracks>
      <audioBits>16</audioBits>
      <audioBitRate>48000</audioBitRate>
      <audioCompressionType>Avid::WAVE::Uncompressed</audioCompressionType>
      <extendedAttributes />
      </AmtMediaAttributes>

    _interplayEndPoint = http://192.168.1.173/services/Assets

    uriIn = interplay://AvidWorkgroup/Projects/test Project/scottk/

    mediaLocation = \\avidisis\media\Avid MediaFiles\MXF\Test

    Why am I getting a failure with CreateAMTTrack()?

    Thanks,

    Scott.

  • Fri, Oct 7 2016 4:53 PM In reply to

    • sekohnle
    • Not Ranked
    • Joined on Thu, Oct 1 2015
    • Posts 23
    • Points 265

    Re: AMT Deployment

    Hello,

    I found the issue. My app uses the AAFToolkit which is different from the one that is delivered with AMT. AMT was using the wrong AAF Toolkit.

    Thank,

    Scott.

  • Thu, Oct 27 2016 10:11 PM In reply to

    • sekohnle
    • Not Ranked
    • Joined on Thu, Oct 1 2015
    • Posts 23
    • Points 265

    Re: AMT Deployment

    Hello,

    After I call CreateAmtInterplayClip() and other calls to create EWC media, after I close the clip, I do not see a new checked in MasterClip.

    What are the sudo calling order to make this work?

    Thanks,

    Scott.

  • Fri, Oct 28 2016 2:23 PM In reply to

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

    Re: AMT Deployment

    Scott,

    It looks like your calling order is correct.

    Here are some suggestions:

    • Check your credentials for Interplay Production. If the credentials are wrong you would see this behavior.
    • Look at the AMT logs which have detailed information of what happened. Please send a snippet of the log text with any errors.
    - Rob

     

  • Fri, Feb 3 2017 5:29 PM In reply to

    • sekohnle
    • Not Ranked
    • Joined on Thu, Oct 1 2015
    • Posts 23
    • Points 265

    Re: AMT Deployment

    Hello,

    I have EWC working with AMT. However, I tried to send a headframe but it fails and says object no found.

    Can you call SetHeadframe() while the AMT clip is being captured?

    Thanks,

    Scott.

Page 1 of 1 (10 items)

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