Latest post Mon, Feb 18 2019 7:03 AM by Mandeep. 12 replies.
Page 1 of 1 (13 items)
Sort Posts: Previous Next
  • Mon, Dec 10 2018 6:03 AM

    • Mandeep
    • Not Ranked
    • Joined on Mon, Dec 10 2018
    • Posts 7
    • Points 95

    Some questions while making a new graphic plugin for Avid Media Composer

    1. How can we make our own media track instead of making video track and applying effect on it?      o How can we open Model dialog to edit track i.e. setting length / track name etc. using SDK methods?    o Here we need to import our own media.  2. Is there any difference between filter and effect (as only effect sample is given in SDK)? Please let us know life cycle of both.  3. How can we store effect user data with project for next default open in effect plugin?   4. How can we open Model Dialog to Edit effect/ filter to change effect parameters once it is applied on any track?  5. Is there any synthetic image import available as we have in Adobe and EDIUS plugin?
    Filed under: , , ,
  • Fri, Jan 4 2019 3:08 PM In reply to

    Re: Some questions while making a new graphic plugin for Avid Media Composer

    Hello Mandeep, 

    Sorry for the delay in responding.  I hope this provides the answers you're looking for. 

     

     

    1.       How can we make our own media track instead of making video track and applying effect on it?

    > There is no programmatic way to create a media track on the top timeline from an AVX2 plug-in.  However, an effect can register that it supports multiple tracks, and it’s possible to step into the effect and see those tracks. 

     1a.       How can we open Model dialog to edit track i.e. setting length / track name etc. using SDK methods?

    > Media Composer does not allow for this. 

    1b.       Here we need to import our own media. 

    > There was an effect which did this in the past, called Pan and Zoom.  We do not recommend going this route, as this media is not tracked properly by Media Composer if media is brought in through an AVX2 effect plug-in.

     

    2.       Is there any difference between filter and effect (as only effect sample is given in SDK)? Please let us know life cycle of both. 

    > It’s unfortunate that the QuickStart guide uses the term “filter”, but the Developer’s Guide does not.  I can see why this might be confusing.  A filter is another term for a segment effect, which is an effect that can operate on a clip on the timeline.  Transitions are another type of effect, which is used to transition from an outgoing clip to an incoming clip. 

     

    3.       How can we store effect user data with project for next default open in effect plugin?  

    > There’s a callback when applying an effect which could be used to change the defaults.  The new values would need to be obtained through some non-supported means, such as by reading info in the file system, separate from any API Avid would provide. 

     

    4.       How can we open Model Dialog to Edit effect/ filter to change effect parameters once it is applied on any track? 

    > Enter Effects Mode by clicking on the effects icon.  If a custom UI is used, this will be obtained by clicking on the custom UI button in the Effect Editor. 

     

    5.       Is there any synthetic image import available as we have in Adobe and EDIUS plugin?

    > Please clarify what you're asking for.  Avid Media Composer can link or import still images, but you may be asking for functionality beyond that.  

     

    Thank you, 

    -RandyF @ Avid 

     

     

  • Wed, Jan 9 2019 6:44 AM In reply to

    • Mandeep
    • Not Ranked
    • Joined on Mon, Dec 10 2018
    • Posts 7
    • Points 95

    Re: Some questions while making a new graphic plugin for Avid Media Composer

    Let us give you small explanations as to what we want to achieve.

    We are providing alpha based graphic source from our Render Server. To Build this graphics source we need input from 

    the user regarding data(content to be displayed) and related animations information(time ,etc). To facilitate that

    usually we open custom dialog from the NLEs and get the user feed the information. When the user completes the configuration

    the frames are rendered and displayed as a track.Also based on the animations length the track length is defined . This Project

    when saved should persist the user information which would be required to rebuild the plugin object data .

     

    Also

    Why the size of the AVXImage we getting is half of the resolution in which the project was created.

     

    1. How can we make our own media track instead ofmaking video track and applying effect on it? > There is no programmatic way to create a media trackon the top timeline from an AVX2 plug-in. However, an effect can registerthat it supports multiple tracks, and it’s possible to step into the effect andsee those tracks.  1a. How can we open Model dialog to edit track i.e.setting length / track name etc. using SDK methods? > Media Composer does not allow for this.  If the media composer doesn't allow Modal Dialog.Which would be the way to have user configure the information.How do Plugins add/set custom params ? 3. How can we store effect user data with projectfor next default open in effect plugin?  > There’s a callback when applying an effectwhich could be used to change the defaults. The new values would need to beobtained through some non-supported means, such as by reading info in the filesystem, separate from any API Avid would provide.  So this would mean we save our configuration based on some key which is unique to the each project that is created on AVID. Any file/folder structure advisable ? 
  • Tue, Jan 15 2019 7:09 PM In reply to

    Re: Some questions while making a new graphic plugin for Avid Media Composer

    Hi Mandeep, thanks for the explanation, that's helpful to understand your workflow better.

    The MC Effects model requires the effect to first be applied in a sequence.  You should be able to get the user's input with a custom UI or with the built-in UI options, and persist that info.  Automatically creating a track with a dynamically determined length is not something MC provides today.  

    The AVXImage may be half of what you expect if you're in an interlaced project, receiving only one field of the frame, or perhaps you have your Video Quality Menu (as seen at the bottom of the timeline) set to reduced resolution (yellow, or green/yellow) instead of full res (green). 

    -Randy

  • Wed, Jan 16 2019 6:18 AM In reply to

    • Mandeep
    • Not Ranked
    • Joined on Mon, Dec 10 2018
    • Posts 7
    • Points 95

    Re: Some questions while making a new graphic plugin for Avid Media Composer

    Hi Randy

    Is it possible for you to see out workflow in other NLE system and see if that is possible to be done with Avid MC!

    I think that would be the best approach to go further. Because we have got stuck on this development and would like to finish this ASAP.

  • Wed, Jan 16 2019 3:13 PM In reply to

    Re: Some questions while making a new graphic plugin for Avid Media Composer

    Hi Mandeep,

    Thanks for the suggestion.  I'll discuss this request with our product designers.  

    Thanks,

    -Randy

  • Wed, Jan 23 2019 10:28 AM In reply to

    • Mandeep
    • Not Ranked
    • Joined on Mon, Dec 10 2018
    • Posts 7
    • Points 95

    Re: Some questions while making a new graphic plugin for Avid Media Composer

    Hi Randy

    We have been able to create the plugin for the Avid Media Composer and it is working as expected.

    The only thing left to do is to save the Plugin Meta Data with the Avid Project file.

     

    Can you please let us know how we can add our meta data in the avid project so that when the project is reopened, we get a call to gather the metadata for the effect.

  • Sat, Jan 26 2019 1:54 PM In reply to

    • rfayan
    • Not Ranked
    • Joined on Fri, May 5 2006
    • Posts 35
    • Points 445
    • Avid Developer Moderator
      Avid Employee

    Re: Some questions while making a new graphic plugin for Avid Media Composer

    Hello Mandeep, 

     

    Effect parameters are persisted in the effect itself.  This will get saved in the sequence in which it was applied.  And of course the sequence resides in a given Bin.  So if you created a parameter in AVX and applied it to a clip on the timeline, it is automatically persisted.  If what you're trying to do is save "opaque" metadata, there's the option to save an array of bytes (which would contain your metadata) that is unique to your plug-in. 

     

    Thanks,

    -Randy

     

  • Thu, Jan 31 2019 3:29 PM In reply to

    • Mandeep
    • Not Ranked
    • Joined on Mon, Dec 10 2018
    • Posts 7
    • Points 95

    Re: Some questions while making a new graphic plugin for Avid Media Composer

    Hi Randy

    I hope this is the last question for plugin development

    (1) Normally AVID Effect plugin has following call sequence order.

    GetEffectAttribute()->BeginFrame()->Render()->EndFrame()->GetEffectAttribute()

     

    But when we seek cursor back on time line and play, call sequence order changes.

    It keeps calling GetEffectAttribute() multipletimes than BeginFrame()->Render()->EndFrame()->GetEffectAttribute(), hence rendering gets blocked and jerk in replay occurs.

    Is there any option to get this corrected!?

     

    (2) How can we create multiple instances of an effect. The idea is to use the same effect at multiple times in the edited sequence. This would save time of the user.

  • Tue, Feb 5 2019 9:38 PM In reply to

    • rfayan
    • Not Ranked
    • Joined on Fri, May 5 2006
    • Posts 35
    • Points 445
    • Avid Developer Moderator
      Avid Employee

    Re: Some questions while making a new graphic plugin for Avid Media Composer

    Hi Mandeep, it's good to hear that you're making progress.  

    There should be no overhead to the GetEffectAttribute() call.  Are you doing any heavy lifting in that routine?  I suggest you profile your code to see how much time that call is taking for you.  Note that IAVXEffect::GetEffectAttribute() can be classed at each level of BeginEffect, BeginFrameRange, BeginFrame, depending on the attribute. 

    -Randy

     

  • Wed, Feb 6 2019 11:09 AM In reply to

    • Mandeep
    • Not Ranked
    • Joined on Mon, Dec 10 2018
    • Posts 7
    • Points 95

    Re: Some questions while making a new graphic plugin for Avid Media Composer

    Hi Randy

    You missed the answer for point 2.

    (2) How can we create multiple instances of an effect. The idea is to use the same effect at multiple times in the edited sequence. This would save time of the user.

  • Fri, Feb 15 2019 10:20 PM In reply to

    • rfayan
    • Not Ranked
    • Joined on Fri, May 5 2006
    • Posts 35
    • Points 445
    • Avid Developer Moderator
      Avid Employee

    Re: Some questions while making a new graphic plugin for Avid Media Composer

    Hi Mandeep, 

    There is no API that will automatically apply an effect in multiple locations.  The user can do this by selecting multiple clips and double clicking an effect in the Effect Palette or an effect template in a bin.  

    Once a given effect is applied on multiple clips in a sequence, IAVXVisitorManager and IAVXEffectVisitor can be used to allow a plugin to visit existing instances of the same effect and modify the parameters so they match. 

     

    Thanks,

    -Randy

     

  • Mon, Feb 18 2019 7:03 AM In reply to

    • Mandeep
    • Not Ranked
    • Joined on Mon, Dec 10 2018
    • Posts 7
    • Points 95

    Re: Some questions while making a new graphic plugin for Avid Media Composer

    Hi Randy,

    I could not find both interfaces in our SDK. Please mention how it works and how can we implement this in out scenario.

    I am still opened to a remote session with your support engineer so that we can complete this. 

     (1) IAVXVisitorManager 

    (2) IAVXEffectVisitor 

Page 1 of 1 (13 items)

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