Latest post Fri, Apr 19 2019 5:38 PM by ViktorB. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Fri, Apr 19 2019 7:13 AM

    • Vijeta
    • Not Ranked
    • Joined on Tue, Jul 8 2014
    • Posts 9
    • Points 145

    DNxHD Decoding Issue

    Hello, We use Avid's DNxHR library for decoding of DNxHD/R content. We have occasionally observed that API DNX_CreateDecoder fails with following error "HDCODEC ERROR initialization Failed". On re-running the same file again, this error is not encountered. Can you provide more insights? Is this API thread safe? Regards
  • Fri, Apr 19 2019 5:38 PM In reply to

    • ViktorB
    • Not Ranked
    • Joined on Wed, Mar 20 2019
    • Posts 11
    • Points 95
    • Avid Developer Moderator
      Avid Employee

    Re: DNxHD Decoding Issue



    Can you provide more insights? Is this API thread safe?


    DNxSDK API is not thread safe.

    You can use:

    •     one codec instance with multiple threads per instance if you are interested in min latency
    •     multiple instances with resonable number of threads per instance to achive max throughtput

    If you want to share one codec instance between multiple threads in your application, you should implement safe access to shared resource yourself.



Page 1 of 1 (2 items)

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