Latest post Sat, Oct 3 2015 1:51 AM by TimSinha. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • Wed, Sep 30 2015 1:07 AM

    • Takayuki
    • Not Ranked
    • Joined on Fri, Oct 15 2010
    • Posts 2
    • Points 30
    • Avid Employee

    Resolution value of IAVXEffectContext

    Hi, all

    Our partner is developing titling system which can implement to MC as AVX effect.

    They’re wondering that when they got HD image from MC in 1080i project, property “IAVXEffectContext” get resolution as “1920x540”. If project is 1080p, it get “1920x1080” which is correct.

     

    I’m afraid that “IAVXEffectContext” is getting half size because of project is interlace (In fact, they say call parameters for AVX are "kAVXFieldMode_SingleField_F1_Only" or "kAVXFieldMode_SingleField_F2_Only").  Is it correct? If it’s correct, how to get full size in interlace project? Or should they think about the way to composite these 2 of field value inside theire application?

     

    Regards,

  • Thu, Oct 1 2015 3:36 PM In reply to

    • TimSinha
    • Not Ranked
    • Joined on Mon, Dec 23 2013
    • Posts 8
    • Points 60
    • Avid Developer Moderator
      Avid Employee

    Re: Resolution value of IAVXEffectContext

     

    Hi,

    Thanks for your interest in MC.

    I understand that using the IAVXEffectContext interface the developer is getting an image dimension of half frame height in an interlaced project.  If that is the case, can you please specify which interface method is being used to get the dimension, is it "GetProjectHeight" or "GetFrameHeight"?  And are both interface methods giving the half frame height result, in this case 540.

    thx, Tim

     

  • Fri, Oct 2 2015 7:31 AM In reply to

    • Takayuki
    • Not Ranked
    • Joined on Fri, Oct 15 2010
    • Posts 2
    • Points 30
    • Avid Employee

    Re: Resolution value of IAVXEffectContext

    Thank you, Tim.

    I checked it to them and they said they aren't using GetFrameHeight nor GetProjectHeight, but getting value from getHeight () of IVXImage.

    They also said that the values of both GetFrameHeight and GetProjectHeight are 1080.

    Can it be clue? That is, they should use GetFrameHeight or GetProjectHeight instead of IVXImage?

  • Sat, Oct 3 2015 1:51 AM In reply to

    • TimSinha
    • Not Ranked
    • Joined on Mon, Dec 23 2013
    • Posts 8
    • Points 60
    • Avid Developer Moderator
      Avid Employee

    Re: Resolution value of IAVXEffectContext

     

    Thanks for clarifying that.  In an interlaced project, during the render request made on the plug-in the image that is passed to the plug-in corresponds to one field and the plug-in is asked to render one field at a time.  The field information is available from the AVX Image structure as well.  And if the plug-in requires any info about the project dimensions then this is available from the Effect Context as mentioned before.  One other point to note, is that at preview timeline qualities the plug-in renders at sub-sampled image resolutions.  Hope that helps.

    thx, Tim.

Page 1 of 1 (4 items)

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