Go to advanced search

by jbeale
Wed Nov 22, 2017 2:22 am
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

Back on the topic of PKC Audio Recording, I just now noticed the below output from 'dmesg' on my RPi Model A+. 16000 is the nominal max audio sample rate of the PS3 Eye device, so this may have something to do with the recording issues. [ 903.379971] retire_capture_urb: 1 callbacks suppressed [ 903....
by jbeale
Tue Nov 21, 2017 3:51 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

I don't want to take this thread too far off-topic. If you're interested in IP cams: https://ipcamtalk.com/threads/dahua-2mp-starlight-lineup.14793/ Prices start around US$130 for the 2MP Starlight cams which are good at night. Clearly the RPi solution is less expensive and can give you acceptable n...
by jbeale
Tue Nov 21, 2017 3:00 am
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

The PS3-eyecams that I got have the IR filter attached to the back of the lens, not mounted on the sensor. So if you hack the case apart and remove the lens (no clean way to do that, AFAIK) you have a bare sensor ready for IR experiments. I crudely hot-melt-glued a C-mount on one camera and tried a ...
by jbeale
Tue Nov 21, 2017 12:04 am
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

In case of interest, the PS3 Eye Camera audio device data: pi@rp100:~/audio $ pactl list sources Source #0 State: SUSPENDED Name: alsa_input.usb-OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1-01.multichannel-input Description: Sony Playstation Eye Multichannel Driver: module-alsa-card.c Sample ...
by jbeale
Mon Nov 20, 2017 7:03 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

Thanks billw. I have done what you suggested. Again, the mono recording with the PS3 Eye device works 100% OK. In stereo mode, both the linked .mp3 file from /run/pikrellcam and the debug .wav file from /tmp show the same problem in stereo mode. Zooming into the files in Audacity I see a step-jump i...
by jbeale
Mon Nov 20, 2017 3:43 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

jbeale, have you tried the Eyecams as the mics for pikrellcam? Tried it just now. I can confirm that the PS3 Eye camera does work as a USB mic for PiKrellCam, both mono and stereo mode, at 16k and also the PKC Pi1 default 24k sample rate (even though I thought PS3-Eye was limited to 16kHz sampling)...
by jbeale
Mon Nov 20, 2017 3:06 am
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

Thanks for reporting that 2 channel audio works. I have not had a 2 channel mic to try. If you have any interest in this I'd be happy to order a PS3 Eye camera for delivery to you. I have used these before with RPi and they work with "arecord" for 1, 2, and 4-channel (!) audio input. You can forget...
by jbeale
Sun Nov 19, 2017 6:51 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

At first I just tested touching the connectors and confirming there was a buzz on the R and L channels. Now, having tested with an actual microphone I find that the audio is rather distorted, especially louder sounds. However when I turn off PiKrellCam and just use arecord to generate a stereo wav f...
by jbeale
Sun Nov 19, 2017 5:56 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

PKC 4.1.1 stereo audio does work

I see the help page on PiKrellCam 4.1.1 indicates that stereo audio has not been tested: audio_channels - default: 1 Set to 1 for mono or 2 (not tested yet) for stereo. I enabled audio with 2 channels in pikrellcam.conf and can confirm that stereo audio is correctly streamed from a Pi Model A+ to a ...
by jbeale
Mon Nov 13, 2017 1:42 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: PIGPIO CPU usage on a Model A+
Replies: 0
Views: 89

PIGPIO CPU usage on a Model A+

Just FWIW. The PIGPIO documentation at http://abyz.me.uk/rpi/pigpio/cif.html on the gpioCfgClock(unsigned cfgMicros, unsigned cfgPeripheral, unsigned cfgSource) command shows setting the timing interval between 1 usec and 10 usec, and it claims the PIGPIO library has a minimum CPU usage time with th...
by jbeale
Thu Nov 09, 2017 11:44 pm
Forum: Troubleshooting
Topic: Intermittent lockup: possible cause (wildlife!)
Replies: 8
Views: 358

Intermittent lockup: possible cause (wildlife!)

I have one RPi running as a security camera (PiKrellCam software) which is outdoors under the eaves. I built a little shelf for it well up under the roof overhang so while it is technically outside, it would not get wet from rain unless there were extreme winds with updraft, which so far has never o...
by jbeale
Thu Nov 09, 2017 11:18 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

Ah, I see what you mean. BillW can offer the authoritative response but I assumed "from the web page" meant simply that pushing the buttons that are already there on the page, cause the underlying html/php script to generate FIFO commands behind the scenes. Meaning you'd have to code up some more PH...
by jbeale
Thu Nov 09, 2017 8:00 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

The instructions give an example of sending a command to the FIFO locally, try this first to check that it works. As it turns out, you can use 'ssh' to execute any commands remotely: https://www.qualitestgroup.com/resources/knowledge-center/how-to-guide/establish-connection-linux-machine-using-ssh/ ...
by jbeale
Tue Nov 07, 2017 2:43 am
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

I guess I got the script from someone else here. I'd vote for an archiving feature. I find archiving necessary to keep the current thumbnail image page manageable in size. I do sometimes need to reference the older images so I don't delete them right away, but keeping 2+ weeks all on one page is too...
by jbeale
Sun Nov 05, 2017 6:29 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

Thanks billw as always for this update. Regarding this line: "Still & timelapse jpegs are included in media diskfree checking." Is there anything built-in to pikrellcam that does automatic archiving of stills & video to the /home/pi/pikrellcam/media/archive folder? On some of my older installations ...
by jbeale
Wed Nov 01, 2017 5:09 am
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

"Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details." I do not recall seeing this error message on any install. I usually install PiKrellCam on a fresh clean Raspbian system and that's what works for me. 8GB SD cards are pretty cheap... I presume it i...
by jbeale
Tue Oct 31, 2017 1:55 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

If you install Pikrellcam by doing cd /home/pi git clone https://github.com/billw2/pikrellcam.git cd pikrellcam ./install-pikrellcam.sh running the install script will automatically download and install nginx. I have installed this many times on many systems, and it has worked for me. If nginx is no...
by jbeale
Mon Oct 30, 2017 4:27 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

There was a bunch of activity the previous day (10/29) that I omitted for brevity. I can check the log this evening but it is quite possible there were 73 photos taken the previous day. As far as I noticed it did capture every image when requested yesterday, but there was only the one photo successf...
by jbeale
Mon Oct 30, 2017 2:05 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

what causes camera to not take picture sometimes?

I just set up a different system and power supply from the Pi I just posted about. Installed pikrellcam from git yesterday, so it is current code. This one has an external motion sensor connected to a GPIO and I have my own process watching the GPIO and sending a command into the Pikrellcam FIFO "ec...
by jbeale
Mon Oct 30, 2017 5:22 am
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

Ah, you make a good point about the power supply. I didn't think of that this time, but it's good to check- as I recall this one was pretty cheap and I've had others go bad before.
by jbeale
Sun Oct 29, 2017 5:27 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

After about a year of working OK, one of my pikrellcam units gets a frozen camera image every 1 or 2 days. The RPi itself is still running OK and I can browse earlier captures, but the live camera is frozen and nothing new can be recorded. Rebooting gets it going again. I assume there is some interm...
by jbeale
Thu Oct 26, 2017 8:49 pm
Forum: Camera board
Topic: OpenCV feature tracking example
Replies: 21
Views: 17313

Re: OpenCV feature tracking example

Thanks for that update and I'm glad it's working for you! I have been doing other things meanwhile, but now I'm curious to revisit this code.
by jbeale
Thu Oct 26, 2017 3:29 am
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

Thank you, yes that was it! Now it is working again, I am very relieved. I have another system with a failing SD card, now I can upgrade it to the new version.

thanks again,
John
by jbeale
Thu Oct 26, 2017 12:05 am
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

I see that the nginx config file /etc/nginx/sites-available/pikrellcam includes the line fastcgi_pass unix:/var/run/php5-fpm.sock even though this is now using PHP7. I don't know what this means; on the off-chance, I changed this line to "fastcgi_pass unix:/var/run/php/php7-fpm.sock" but that didn't...
by jbeale
Wed Oct 25, 2017 9:49 pm
Forum: Camera board
Topic: PiKrellCam: motion vector detect + OSD web interface
Replies: 1214
Views: 156215

Re: PiKrellCam: motion vector detect + OSD web interface

Many thanks for that lightning-quick fix! I tried a fresh install of the full desktop Raspbian Stretch on a RPi-2, and then the git pikrellcam stage. I was able to install without seeing any errors. I rebooted and I see pikrellcam is running with about 5% of CPU, so that much may be OK. However when...

Go to advanced search