Record flight video

#1

I have a functioning setup using pixhawk and rpi. I can stream video from rpi camera however, I need to record the video.

is there a command for mavros to record the video?

thank you