Creating and exporting a video

Hello, i don’t understand how to make a video and exporting it in UE4, i’ve made a matinee and a camera movement in the scene but i dont’t know if i have to use the record button ( wich gave me a blank window) or the movie button. thank you for your help