My proposed solution does not work if the skeletons of BVH and asset do not match, see Retargeting animation to Mixamo rig.