1 Reply Latest reply on Jun 1, 2015 7:02 AM by Bruce Bullis

    Adding multiple in and out points of same asset into sequence

    anoopnr134 Level 1

      Hi,

       

      I am trying to insert multiple assets in to a sequence.

      When there is only one In and Out point for an asset this is working fine. I can insert multiple assets which are having in and out points to the sequence.

      But when one clip has two subclips/in and out points which needs to be inserted into the sequence, I am not able to do that.

      Premiere is crashing while trying to insert the second subclip to the sequence.

       

      Here is the sample code

       

                           var insertingItem=rootElements.getItemAt(itemIndexTobeInserted);

                             if(inTimeCode!="")

                             {

                                 insertingItem.clip.setInPoint(inTimeCode);

                             }

                              if(outTimeCode!="")

                             {

                               insertingItem.clip.setOutPoint(outTimeCode);                      

                             }

                             seqVideoTrack.insert(insertingItem);

       

      When we try to add the second in and out point and insert that clip to sequence, Premiere is crashing.

      seq_import_error.png