Command to list available webcam/video devices? Is there a way to list all webcams that are available to my Mac (e.g. FaceTime camera) using Terminal?
I know there's
diskutil list

to list all disks attached to my Mac, but is there a command that does the same thing for input cameras?
Things I've already tried:
system_profiler SPCameraDataType

This doesn't list the identifier with associated number, which is the information that I need from the list.
ls -ltrh /dev/video*

I tried this too, but I'm pretty sure this only works for Linux/Ubuntu, which I know nothing about.
Thanks in advance.
Try ioreg command:
ioreg | grep -i cam