Add Capi wrapper controlled by enable-capi

just call releaseVideoEncoder. Do not del p for your self.