there is nothing special about it.
i activate shadowplay via geforce experience.
then a open my project with ue4, start it fullscreen and press alt f9 (standard for recording if i remember right)
i play as long as i want and press alt f9 again. Now i have a movie in the location i had set before in the settings menu from shadowplay.
and dont forget to set quality as high as possible in settings menu