I'm writing an Open I/O plugin based on the HWSDK sample plugin and I get this error dialog as soon as I enable the plugin:
APlayerExecEnv::SetUncReqBufferSize():
CONSISTENCY CHECK FAILURE !?! : [<idNum>]
This happens both with my modified plugin, but also with the unmodified HWSD_Generic.acf. The OS is Windows 10, and Media Composer is version 2018.12.7.
Amy idea what's going on?
Thanks,
Ori Pessach
One more bit of information - this also happens on macOS.
Hi Ori,
I am seeing the same issue with the generic plug-in - let me investigate and see what is happening.
Jeremy
Any update on this?
We are still investigating the issue.
There are several facets to this issue. First, the format negotiation code in Media Composer was made more strict and it's now identifying an inconsistency in the Generic plug-in sample code. The plug-in is returning that it does not support RGB formats (it never sets the eCAPB_SupportsRGB attribute true) but it's returning an RGB color space. Around line 79 in HWSDK_GenericHelpers.cpp, change
// HWSDK_stub: set the appropriate color space
inout_pHWsdkFmt->SetColorSpace( HWSDK::Video_Format::eCS_YCbCr_709 );
inout_pHWsdkFmt->SetColorSpace( HWSDK::Video_Format::eCS_YCbCr_601 );
With that change, I'm able to properly exercise the Generic plug-in with Media Composer 2020.12.
I'll also update the Open I/O SDK to have the fix to the generic plug-in. Please let me know if you have any further questions,
© Copyright 2011 Avid Technology, Inc. Terms of Use | Privacy Policy | Site Map | Find a Reseller