rharder / imagesnap

Capture Images from the Command Line
https://github.com/rharder/imagesnap
458 stars 50 forks source link

Stuck in macOS Ventura when executed from SSH-session #42

Open paha77 opened 1 year ago

paha77 commented 1 year ago

HW/OS: image

imagesnap works well when executed in local terminal:

$ imagesnap -vvv
Verbose mode
No filename specified. Using snapshot.jpg
No device specified. Using FaceTime HD Camera
Capturing image from device "FaceTime HD Camera"...Starting device...Device started.
Delaying 3.00 seconds for warmup...Warmup complete.
snapshot.jpg
Stopping session...
    CaptureSession != nil
    Stopping CaptureSession...Done.
    Shutting down 'stopSession(..)'

but it gets stuck when executed within an ssh-session (log in to this Macbook via ssh):

$ imagesnap -vvv
Verbose mode
No filename specified. Using snapshot.jpg
No device specified. Using FaceTime HD Camera
Capturing image from device "FaceTime HD Camera"...Starting device...Device started.
Delaying 3.00 seconds for warmup...Warmup complete.