Search found 156 matches

by Cedron
Sunday 23rd June 2019 2:23pm
Forum: General
Topic: The Bare Essential Webcam Capture
Replies: 7
Views: 8497

Re: The Bare Essential Webcam Capture

Hey Godzilla, Thanks for the kind words. I don't truly know the answers to your other questions about v4l so I posted the question to the mailing list. As for SDL, I'm not a big fan, but I don't want to discourage you. It may be exactly what you are looking for. For me, it is out of consideration si...
by Cedron
Saturday 22nd June 2019 2:25am
Forum: General
Topic: The Bare Essential Webcam Capture
Replies: 7
Views: 8497

Re: The Bare Essential Webcam Capture

WebCamGrab-0.0.1.tar.gz I totally relate to your desire to have more control over the Webcam. I actually wrote a simple webcam capture to snapshot in pure C++ using the v4l library and the jpeg library, and of course, straight X window programming. In a word: Yuck. However, unfortunately, the gb.v4...
by Cedron
Monday 17th June 2019 5:46pm
Forum: General
Topic: The Bare Essential Webcam Capture
Replies: 7
Views: 8497

Re: The Bare Essential Webcam Capture

Thanks. That's handy, it looks like a higher level wrapper around a MediaPlayer. However, I don't see a way to capture the current image to an Image object. This is a requirement for me. Notice, that the first three code lines and the Form_Open are really the only required elements, so declaring the...
by Cedron
Sunday 16th June 2019 8:20pm
Forum: General
Topic: The Bare Essential Webcam Capture
Replies: 7
Views: 8497

The Bare Essential Webcam Capture

I finally figured out the bare minimum (I think) of what you want in a webcam capture program. It turns out to be so easy that it is short enough to be a code snippet: ' Gambas class file Private myPlayer As New MediaPlayer As "Player" '=====================================================...
by Cedron
Monday 10th June 2019 2:19pm
Forum: General
Topic: How do I get the return value from EXEC ?
Replies: 2
Views: 4438

Re: How do I get the return value from EXEC ?

Howdy, and welcome to the forum. Shorter Answer: Try: EXEC ["python", "/home/bakar/director.py", "1981", "7". "30"] TO sOutPut Longer Answer: You probably want to use Shell instead of Exec. They are similar, but different. http://gambaswiki.org/wiki/...
by Cedron
Thursday 6th June 2019 5:52pm
Forum: General
Topic: Local Noon Clock
Replies: 7
Views: 9195

Re: Local Noon Clock

LocalNoonClock-0.0.2.tar.gz
(78.32 KiB) Downloaded 510 times
Thanks for the updates. I've incorporated them and added a few more (listed in the source).

I think this one may be Farm ready.

Ced
Screenshot-Local Noon Clock-1.png
Screenshot-Local Noon Clock-1.png (49.21 KiB) Viewed 9139 times
by Cedron
Wednesday 5th June 2019 5:04pm
Forum: General
Topic: Local Noon Clock
Replies: 7
Views: 9195

Re: Local Noon Clock

Yes, it's looking good now.
by Cedron
Wednesday 5th June 2019 4:39pm
Forum: General
Topic: Local Noon Clock
Replies: 7
Views: 9195

Re: Local Noon Clock

No, it still doesn't look right. For your location, I entered Longitude="-2.65" Latitude="49.5" which I got by looking up "Guernsey, Channel Islands" on a popular internet web map site. Of course, my system Timezone is off, so the numbers in the second column are off by...
by Cedron
Wednesday 5th June 2019 3:40pm
Forum: General
Topic: Local Noon Clock
Replies: 7
Views: 9195

Re: Local Noon Clock

Thanks for the fix up, I'm glad you liked it. I resisted the temptation of color coding the 5 minute dots according to a color wheel. Yes, I have a degree in Math, but I didn't do any of the equations in the SolarTime class. I left a reference in the code to the source of those equations. Kind of co...
by Cedron
Wednesday 5th June 2019 12:58pm
Forum: General
Topic: Local Noon Clock
Replies: 7
Views: 9195

Local Noon Clock

LocalNoonClock-0.0.1.tar.gz [Edit: The subsequent version posted below is better.] So, I was messing around with dates in Gambas with a SQLite database. The issue of UTC vs Local time is important to keep straight, thus I wrote this little program to help me with some time visualization. It is sort...