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.
Scott,
What version of AMT are you using?
Also, which AMT doc are you referring to?
- Rob
Hi Rob,
It is an older version, AMT_2.10.0.923.
Thanks,
Scott.
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.
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.
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()?
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,
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?
It looks like your calling order is correct.
Here are some suggestions:
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?
© Copyright 2011 Avid Technology, Inc. Terms of Use | Privacy Policy | Site Map | Find a Reseller