Latest post Tue, Nov 24 2015 4:42 PM by Eric V. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • Mon, Nov 23 2015 10:34 PM

    • Eric V
    • Not Ranked
    • Joined on Tue, Jun 23 2015
    • Posts 20
    • Points 220

    DNX_GetInfoFromCompressedFrame returns DNX_INCOMPATIBLE_PARAM_VERSION

    Hi,

    I tried using the function DNX_GetInfoFromCompressedFrame to parse a DNx compressed frame and extract the compression id but it always fails with error -1010. This frame is from MXF and QuickTime DNxHR files exported from MediaComposer 8.5b2. My code was previously fetching the compression id directly at byte offset 40 (0x28) and that was working fine.

    Is this a known bug? Otherwise what does this error mean?

    Thanks,

    Eric

    I'm using DNxHR SDK version 2.2.1.19.

     

  • Tue, Nov 24 2015 8:38 AM In reply to

    • OleksiiK
    • Not Ranked
    • Joined on Mon, Dec 23 2013
    • Posts 25
    • Points 270
    • Avid Developer Moderator

    Re: DNX_GetInfoFromCompressedFrame returns DNX_INCOMPATIBLE_PARAM_VERSION

    Hi, 

    Do you set a proper compressed param version by setting

    compressedParams->structSize = sizeof(DNX_CompressedParams_t) ?

  • Tue, Nov 24 2015 4:42 PM In reply to

    • Eric V
    • Not Ranked
    • Joined on Tue, Jun 23 2015
    • Posts 20
    • Points 220

    Re: DNX_GetInfoFromCompressedFrame returns DNX_INCOMPATIBLE_PARAM_VERSION

    Thanks, that was it. :-)

    I would recommend adding a note in the header file in the comments for DNX_GetInfoFromCompressedFrame.

    Best regards,

    Eric

     

Page 1 of 1 (3 items)

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