Latest post Wed, May 13 2015 10:07 AM by Helene_LN. 11 replies.
Page 1 of 1 (12 items)
Sort Posts: Previous Next
  • Tue, Mar 31 2015 1:48 PM

    • Helene_LN
    • Not Ranked
    • Joined on Wed, Mar 25 2015
    • Posts 18
    • Points 230

    Sometimes files stay in the Creating folder, they are not moved by the AMT in the final destination

    I create MXF Avid OPAtom files using the AMT 2.11.0.942 on an ISIS and check-in them to Avid Interplay 3.0.5 using Avid Interplay Web Services 3.0.5.

    Sometimes MXF OP-Atom files created by the AMT stay in the “Creating” folder (they are not moved by the AMT in the final destination). Masterclips with “un-moved” files have a blue point in Access (partially online). The masterclips cannot be read by MediaComposer.
    No error is raised in AMT log files or by any AMT functions.

    The issue appears more frequently, if we have several processes writing in the same destination folder.

    Does this kind of behavior has been seen on your side?

  • Wed, Apr 1 2015 1:11 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: Sometimes files stay in the Creating folder, they are not moved by the AMT in the final destination

    Helene_LN,

    A couple of follow-up questions.

    If your code is based on the sample app, which AMT command are you using to create the MXF Op-Atom files? TRANSCODE, MXF_TO_AMT, etc. If not, what AMT calls are you making?

    If you move the media files out of the creating folder, so they can be seen by the Media Indexer, do they work? i.e. are the media files readable from Media Composer?

    - Rob

     

  • Wed, Apr 1 2015 3:58 PM In reply to

    • Helene_LN
    • Not Ranked
    • Joined on Wed, Mar 25 2015
    • Posts 18
    • Points 230

    Re: Sometimes files stay in the Creating folder, they are not moved by the AMT in the final destination

    Rob,

    Here are my answers.

    Yes, my code is based on the sample app and I use the bin_to_amt command. But I use the function "CreateAmtFileOnSharedStorage" instead of "CreateAmtFile".

    And yes, if I move manually files out of the creating folder, they are readable from Media Composer.

  • Wed, Apr 1 2015 7:34 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: Sometimes files stay in the Creating folder, they are not moved by the AMT in the final destination

    Helene_LN,

    Please take a look in the AMT log file. You can find it here on Windows:

      C:\ProgramData\Avid\AvidMediaToolkit\logs

    You might see some info or warnings related to the files that are not moved from the Creating folder in the failure cases.

    If not, then try setting the log level to "debug" in the sample app. You can do it with this call:

    SetAMTLogParameters (0x200000, 10, AMT_LOG_LEVEL_DEBUG);

    It will print a lot more info into the AMT log. For successful cases, you will see the step where the files are moved after they are created. For the failure cases, may get some information to help with diagnosing the problem.

    - Rob

    P.S. Don't forget to comment out the SetAMTLogParameters call for your production builds! Wink

     

  • Wed, Apr 8 2015 11:29 AM In reply to

    • Helene_LN
    • Not Ranked
    • Joined on Wed, Mar 25 2015
    • Posts 18
    • Points 230

    Re: Sometimes files stay in the Creating folder, they are not moved by the AMT in the final destination

    Rob,

    I have the same error in the log for all files staying in the Creating folder:

    2015-04-03T16:47:32,715UTC [DEBUG] [AMT] [] {P:10308 - T:10984 } [.\sources\CORE\AMT_logger.cpp:140] Listing log4cplus loggers:
    2015-04-03T16:47:32,716UTC [DEBUG] [AMT] [] {P:10308 - T:10984 } [.\sources\CORE\AMT_logger.cpp:144] Log [0] - 'AMT'
    2015-04-03T16:47:32,716UTC [INFO] [AMT] [] {P:10308 - T:10984 } [.\sources\CORE\AMT_logger.cpp:177] -----------------------------------------------------------------
    2015-04-03T16:47:32,716UTC [INFO] [AMT] [] {P:10308 - T:10984 } [.\sources\CORE\AMT_logger.cpp:178] AMT starting (v. 2.11.0.942.5)
    2015-04-03T16:47:32,716UTC [INFO] [AMT] [] {P:10308 - T:10984 } [.\sources\CORE\AMT_logger.cpp:183] AMT Running in Release mode.
    2015-04-03T16:47:32,871UTC [INFO] [AMT] [] {P:10308 - T:10984 } [.\sources\Core\AMT_class.cpp:368] AMT configured for passthrough video.
    2015-04-03T16:47:32,975UTC [ERROR] [AMT] [] {P:10308 - T:10984 } [.\sources\Core\AMT_class.cpp:2017] Internal error occurred: 8
    2015-04-03T16:47:32,975UTC [ERROR] [AMT] [] {P:10308 - T:10984 } [.\sources\Core\AMT.cpp:1016] CreateAmtTrack returning error: AMT_COULD_NOT_CREATE_TRACK. Closed Amt File.

    The error seems to appear at the initialization but the CreateAmtTrack function does not return an error and I confirm that if I move manually files out of the Creating folder, they are readable from Media Composer and they have the correct duration.

    Do you have any explanation ?

    As for the crash issue (http://community.avid.com/forums/t/133110.aspx), I can send you a sample code to reproduce and investigate the issue (by email). I can also send you the complete log file if needed.

  • Thu, Apr 16 2015 7:42 AM In reply to

    • Helene_LN
    • Not Ranked
    • Joined on Wed, Mar 25 2015
    • Posts 18
    • Points 230

    Re: Sometimes files stay in the Creating folder, they are not moved by the AMT in the final destination

    Rob,

    I was just wondering if there was any update on this issue.

    Thanks.

  • Thu, Apr 16 2015 1:29 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: Sometimes files stay in the Creating folder, they are not moved by the AMT in the final destination

    Helene,

    I checked with the developers. They were unable to reproduce the problem in our lab.

    Please send an email with your code and a sample project with media.

    - Rob

     

  • Tue, Apr 21 2015 4:29 PM In reply to

    • Helene_LN
    • Not Ranked
    • Joined on Wed, Mar 25 2015
    • Posts 18
    • Points 230

    Re: Sometimes files stay in the Creating folder, they are not moved by the AMT in the final destination

    Rob,

    I just sent you an email. Did you receive it?

    Thanks.

  • Tue, Apr 21 2015 7:46 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: Sometimes files stay in the Creating folder, they are not moved by the AMT in the final destination

    Yes, I got your email.

    - Rob

     

  • Wed, May 6 2015 7:55 AM In reply to

    • Helene_LN
    • Not Ranked
    • Joined on Wed, Mar 25 2015
    • Posts 18
    • Points 230

    Re: Sometimes files stay in the Creating folder, they are not moved by the AMT in the final destination

    Rob,

    I was just wondering if there was any update on this issue.
    Do the developers manage to reproduce it with my sample code ?

    Thanks.

  • Wed, May 6 2015 5:42 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: Sometimes files stay in the Creating folder, they are not moved by the AMT in the final destination

    I asked the development team for an update. I'll let you know when they respond.

     

  • Wed, May 13 2015 10:07 AM In reply to

    • Helene_LN
    • Not Ranked
    • Joined on Wed, Mar 25 2015
    • Posts 18
    • Points 230

    Re: Sometimes files stay in the Creating folder, they are not moved by the AMT in the final destination

    Rob,

    Did you receive a reply from the development team ?

    Thanks.

Page 1 of 1 (12 items)

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