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
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.
Looks like that did the trick thanks!
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.
Are are saying the encoder crashes or fails with an error -1005? In any case try to use the latest DNxSDK version (2.2).
Yes, a crash. I'll reach out and try to aquire 2.2.
© Copyright 2011 Avid Technology, Inc. Terms of Use | Privacy Policy | Site Map | Find a Reseller