Source:mirv_camexport - advancedfx/advancedfx GitHub Wiki
Set your fps with host_framerate.
Start recording as usual.
To start exporting (replace fps with the same value you set for host_framerate):
mirv_camexport start test.bvh fps
In case no path is specified the .bvh file will be created in the folder where the .exe of your game is located.
To stop exporting:
mirv_camexport stop
Stop recording.