There may be a number of ways but more information is necessary.
Start by searching "Apple record background video"
My "google" resulted in many potential links.
However, details matter so the immediate objective is to narrow the search criteria down to match your specific situation and requirements.