Different engines may handle BVH data differently, but in most cases, each keyframe represents a change from zero rotation/offset. Try this library – it includes both a parser and a serializer for BVH and ANIM. You can check the source code to see how the conversion works (quaternions → Euler angles).
https://github.com/dreamflyer/anim-to-bvh