imagesnap icon indicating copy to clipboard operation
imagesnap copied to clipboard

Catalina support

Open obruchez opened this issue 5 years ago • 13 comments

I've just upgraded to Catalina.

imagesnap -l returns "No video devices found."

It worked well with Mojave.

obruchez avatar Oct 08 '19 13:10 obruchez

same here

alberto-sanchez avatar Oct 10 '19 22:10 alberto-sanchez

I got the same issue too. Luckily it is a simple fix. Until PR is merged, my fork here: https://github.com/samwize/imagesnap

samwize avatar Oct 12 '19 17:10 samwize

@samwize I'm trying to use your fork on Catalina. I built it successfully, but I can't seem to specify an output file. Running ./imagesnap out.jpg outputs the image in the same directory with the default name snapshot-00000-2019-11-01_19-47-27.206.jpg

Am I missing something?

koichirose avatar Nov 01 '19 18:11 koichirose

@samwize I'm trying to use your fork on Catalina. I built it successfully, but I can't seem to specify an output file. Running ./imagesnap out.jpg outputs the image in the same directory with the default name snapshot-00000-2019-11-01_19-47-27.206.jpg

Am I missing something?

I'm with this problem also. After update the only path and name for new pictures is: /userHomeFolder/snapshot-00000-2019-11-18_10-07-50.571.jpg I've tryed differents path and simple names but doesn't work.

angelbonet avatar Nov 18 '19 09:11 angelbonet

Hi! Thanks for fixing imagesnap. I noticed that now, in Catalina, imagesnap -l returns

Video Devices:
<AVCaptureDALDevice: 0x7f854de44a50 [FaceTime HD Camera (Built-in)][0x1420000005ac8600]>
<AVCaptureDALDevice: 0x7f854de4a4a0 [Logitech BRIO][0x14400000046d085e]>

Instead of

Video Devices:
FaceTime HD Camera (Built-in)
Logitech BRIO

Is there any easy way to fix this?

jakerollo2 avatar Nov 21 '19 16:11 jakerollo2

I got the same issue too. Luckily it is a simple fix. Until PR is merged, my fork here: https://github.com/samwize/imagesnap

Don't you want also to fix those bugs (device list and file name parameter) what you can see above?

FleXoft avatar Jan 16 '20 20:01 FleXoft

Any progress on this ? @samwize A downloadable binary would be awesome ! (as I haven't set up the toolchain for macos development yet and also not really deep on macos development)

rhuss avatar Mar 25 '20 08:03 rhuss

@rhuss I have a build here https://github.com/samwize/lolcommits/blob/306dd0ebf21464de2d7824cfae841517cd094b1f/vendor/ext/imagesnap/imagesnap

samwize avatar Mar 25 '20 08:03 samwize

@samwize is the output file bug fixed in your build?

koichirose avatar Mar 25 '20 08:03 koichirose

The fix is actually in the Info.plist. The binary must be alongside with the Info.plist. I wrote about it in https://samwize.com/2019/10/13/info-plist-for-a-macos-command-line-app/

samwize avatar Mar 25 '20 08:03 samwize

Thanks a ton ! works for me, also specifying the device from the list as before (e.g. ./imagesnap -d "HD Pro Webcam C920" /tmp/o.jpg). I have no issues with the output path.

The only (minor) glitch that the list still contains unnecessary boilerplate like in

./imagesnap -l
Video Devices:
<AVCaptureDALDevice: 0x7fd7d4c69480 [HD Pro Webcam C920][0x14331000046d082d]>
<AVCaptureDALDevice: 0x7fd7d4f17630 [FaceTime HD Camera (Built-in)][0x8020000005ac8514]>

but I can live with this.

Thanks again !

rhuss avatar Mar 25 '20 10:03 rhuss

I'm curious if this is still an issue for people. I have a Mojave system and a Big Sur system -- brackets Catalina. I'll probably never have a Catalina computer at this point, so I'm not sure if there's anything I can do.

rharder avatar Jul 06 '21 05:07 rharder

It seems to be Ok on:

$ sw_vers ProductName: Mac OS X ProductVersion: 10.15.7 BuildVersion: 19H1217

FleXoft avatar Jul 06 '21 05:07 FleXoft