How to start QuickTime video recording on a MacBook at the command line?
According to this site, it can be done using Applescript
So it interacts with Quick-time. There are no direct commands with QuickTime.
1) Create a Applescript by AppleScript Editor and save it (e.g. QTRecord.scpt):
2) Open Terminal and run the script in command line:
Or the whole thing as an one-liner: