Will possible to record video of run in unattendedmode?

Do you have any link or example ? Can you share with me?