Latest post Thu, Sep 10 2015 2:17 PM by dibbits. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • Wed, Sep 2 2015 6:49 PM

    • dibbits
    • Not Ranked
    • Joined on Thu, Aug 20 2015
    • Posts 4
    • Points 40

    HQX encoding failing on certain resolutions

    Hi,

    Using the DNX sdk to encode to HQX with the following settings:

     

    DNX_CCO_CbYCrY_NoA

    DNX_CT_V210

    DNX_CS_YCbCr_709

     

    Fails with error -1005 from DNX_EncodeFrame on a wide range of resolutions. 1920x1080 and 3840x2160 work just fine, but resolutions like 2048 x 854, 1280 x 720 fail. I've had no such problems with the other compression ids.

     

    Originally I thought it was an issue with my conversion to v210 but my math all seems to check out with the v210 pixel format description in DNxHD_Image_Formats.pdf. 

     

    Known bug?

    Version:  2.0.1.266r

    Thanks,

    David

  • Thu, Sep 3 2015 12:04 PM In reply to

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

    Re: HQX encoding failing on certain resolutions

    Check a value used for the row bytes. In case if you set the row bytes equal to zero, the line alignment is assumed to be a multiple of 6 pixels, not a multiple of 48 pixels. 

  • Thu, Sep 3 2015 8:20 PM In reply to

    • dibbits
    • Not Ranked
    • Joined on Thu, Aug 20 2015
    • Posts 4
    • Points 40

    Re: HQX encoding failing on certain resolutions

    Looks like that did the trick thanks!

     

  • Wed, Sep 9 2015 7:54 PM In reply to

    • dibbits
    • Not Ranked
    • Joined on Thu, Aug 20 2015
    • Posts 4
    • Points 40

    Re: HQX encoding failing on certain resolutions

    I did find one resolution that still causes a crash in DNX_EncodeFrame even with the correct row bytes specified in CreateEncoder.

    The resolution is 3240 x 2700 with a row bytes of 8704.

    Everything else I have tested has been working fine though.

    Thanks,

    David

  • Thu, Sep 10 2015 12:35 PM In reply to

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

    Re: HQX encoding failing on certain resolutions

    Are are saying the encoder crashes or fails with an error -1005? In any case try to use the latest DNxSDK version (2.2).

  • Thu, Sep 10 2015 2:17 PM In reply to

    • dibbits
    • Not Ranked
    • Joined on Thu, Aug 20 2015
    • Posts 4
    • Points 40

    Re: HQX encoding failing on certain resolutions

    Yes, a crash. I'll reach out and try to aquire 2.2.

     

    Thanks,

    David

Page 1 of 1 (6 items)

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