Page 1 of 1
Take a picture with Webcam
Posted: Thu Jan 04, 2018 7:34 am
by StevenCollins2018
Everything that takes pictures with a Mac connected USB Webcam is breaking down or locked out. Livecodes VideoGrab and all, Camspinner (my old go-to), Automator (can't talk to builtin or Webcams), AppleScript (noting for it to tell to take a picture that works). Is there anything that works for pre and post QT kill that I can talk to or embed in my LiveCode app? (This Mac fanatic sure is tired of Apple killing stuff to look cool.)
Re: Take a picture with Webcam
Posted: Thu Jan 04, 2018 5:33 pm
by [-hh]
There is, since LC 7.1, cameraControl (mac, windows, ios, android).
You need an Indy license for that.
I have also made a stack "poor mans webcam" that allows to display snapshots (15 FPS) from 1-2 webcams on mac/win/linux using LC 6/7/8/9. Uses (embedded) external resources. To appear in January 2018.
Re: Take a picture with Webcam
Posted: Thu Jan 04, 2018 6:49 pm
by richmond62
Indeed: NOT in the community version:
So next time someone tells you the ONLY difference between the Free and the Pay versions is
the ability to password your stacks you can say "Blurrrrrgh" to them.
Re: Take a picture with Webcam
Posted: Thu Jan 04, 2018 8:06 pm
by bogs
I'm a bit confused about that, since the dictionary entry for the video grab stuff (that is available in the oss vers., right?) says -
Dictionary wrote: The revVideoGrabDialog command is part of the Video library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone.
and of course, under that library definition it says -
Video library
Definition:
The LiveCode custom library that supports video capture from a camera or other video input device.
That means it would have to be part of the Oss edition, doesn't it? Is it somehow gimped?
richmond62 wrote: ↑Thu Jan 04, 2018 6:49 pm
"Blurrrrrgh"
As an aside, I have made this my word of the day.
Re: Take a picture with Webcam
Posted: Thu Jan 04, 2018 8:26 pm
by richmond62
In the LC 7.1.4 Dictionary it states that revVideoGrabDialog
"Displays a dialog box for configuring QuickTime or Video for Windows video capture."
So that premisses that Quicktime or Video for Windows is present on a computer that wishes to leverage that.
I suspect that cameraControl works in a way that is independent of either Quicktime or Video for Windows.
The LC 9.0.0 Dictionary states what I was beginning to suspect:
Or: "revVideoGrab is going 'all funny' folks."
Re: Take a picture with Webcam
Posted: Thu Jan 04, 2018 9:07 pm
by bogs
richmond62 wrote: ↑Thu Jan 04, 2018 8:26 pm
In the LC 7.1.4 Dictionary it states that revVideoGrabDialog
"Displays a dialog box for configuring QuickTime or Video for Windows video capture."
Yes, but the point I was trying for (but obviously missed) was that it uses the library that Lc has for capturing from cameras. I was not suggesting that the revVideo commands were the solution (although if he has a camera image on the desktop, I suppose it is possible), I was saying the library is there that the camera grab uses. Perhaps that could be put to use.
"Blurrrrrgh" !

Re: Take a picture with Webcam
Posted: Thu Jan 04, 2018 9:32 pm
by Klaus
Please check the (not so) new "cameraControl..." commands in the dictionary!
Could not test these so far due to the fact that I do not own a webcam or something...