If motion is enabled during loop video recording, a loop video is tagged as having motion and you will see the word "Motion" on the web page thumb. A loop video that has no motion ends in "_0.mp4", if it has motion it ends in "_1.mp4". With the next release coming up soon a loop video with audio events only will end in "_a.mp4" and be labeled on the web page with "Audio".allen2000 wrote: ↑Thu Dec 28, 2017 5:53 amHello,
Thanks for the great work.
Here comes one question that whether it is possible to have a loop video recording with motion log as well as still thumbs saved.
In case there is some motion detection missed, I could still have the chance to check it in the loop video.
With the motion log and still thumbs, I can also review the interested motion detected from the loop video.
Thank you for doing this! I believe the PS3 Eye originally sold for quite a bit more; the current <$10 price may be a closeout (although it's been that way for at least a year now), anyway I recommend it. I stocked up with four of them; the audio quality for the price is a real value.
There's no option for a motion detect to just generate a thumb without a video so you would have to manage those things with processing commands.allen2000 wrote: ↑Fri Dec 29, 2017 2:40 amHi billw,
Thanks for your quick response.
One more question, can I config it as motion monitor only instead of motion recorder? Which means once there is motion detected, only thumb saved without video recorded. Along with the preview_save, on_motion_begin and on_motion_end commands, it is fine to make customized actions afterwards.
BTW, for the "on_motion_end" event, is it triggered at the time to start generating mp4 video file or after mp4 video file was ready under videos folder?
Hi jbeale,jbeale wrote: ↑Fri Dec 29, 2017 3:54 amThank you for doing this! I believe the PS3 Eye originally sold for quite a bit more; the current <$10 price may be a closeout (although it's been that way for at least a year now), anyway I recommend it. I stocked up with four of them; the audio quality for the price is a real value.
Thanks Johnjbeale wrote: ↑Thu Dec 21, 2017 3:34 pm
There is only one stereo input option available for the RPi under $10 that I am aware of, the PS3-Eye Cam: https://www.amazon.com/Sony-PlayStation ... B0072I2240
Good question, I would expect somewhere around 200ma, most older gen image sensors are 100 -150ma just in themselves.Have you any idea of power consumption as it's going to be on all the time
I used a split USB cable with the data lines going to a RPi but +5V coming from an external supply. My lab power supply says the PS3 Eye device draws 110 mA at +5V. I also recorded and played back some audio to check it was working OK. The current drawn is the same, whether or not you are actively recording audio.
Just plug it in, and it works.
Code: Select all
ffmpeg -f alsa -ac 2 -ar 8000 -i plughw:1 -map 0:0 -acodec libmp3lame \ -b:a 96k -f segment -strftime 1 -segment_time 120 -segment_atclocktime 1 \ ChA_%Y-%m-%d_%H-%M-%S.mp3
Code: Select all
======================================================== ======= PiKrellCam 4.1.3 started at 2017-12-31 00:17:30 ======================================================== command FIFO: /home/spycam1/pikrellcam/www/FIFO audio FIFO : /home/spycam1/pikrellcam/www/audio_FIFO mjpeg stream: /run/pikrellcam/mjpeg.jpg 00:17:30 : execl[wait:1]: /home/spycam1/pikrellcam/scripts-dist/_init /home/spycam1/pikrellcam /home/spycam1/pikrellcam/media/archive /home/spycam1/pikrellcam/media /run/pikrellcam/mjpeg.jpg /home/spycam1/pikrellcam/www/FIFO /tmp/pikrellcam.log servos_off /home/spycam1/pikrellcam/media/loop www/media link is already set to /home/spycam1/pikrellcam/media www/archive link is already set to /home/spycam1/pikrellcam/media/archive www/loop link is already set to /home/spycam1/pikrellcam/media/loop /home/spycam1/pikrellcam/www/config.php: LOG_FILE not changed. /home/spycam1/pikrellcam/www/config.php: MJPEG_FILE not changed. /home/spycam1/pikrellcam/www/config.php: FIFO_FILE not changed. /home/spycam1/pikrellcam/www/config.php: PIKRELLCAM not changed. /home/spycam1/pikrellcam/www/config.php: SERVOS_ENABLE not changed. /home/spycam1/pikrellcam/www/config.php: VERSION not changed. 00:17:30 : execl[wait:1]: /home/spycam1/pikrellcam/scripts/startup /home/spycam1/pikrellcam /home/spycam1/pikrellcam/media /tmp/pikrellcam.log MOUNT_DISK is not set. 00:17:30 : execl[wait:1]: sudo chown spycam1.www-data /tmp/pikrellcam.log 00:17:30 : execl[wait:1]: sudo chmod 664 /tmp/pikrellcam.log 00:17:30 : execl[wait:1]: sudo mkdir -p /run/pikrellcam make_dir(/run/pikrellcam) failed. No such file or directory Failed to create media directories or FIFO, exiting!
Thanks John, that's a bit better than I expected, will use 110ma as ref.In fact I have three PS3 Eye units handy. My Keithley 196 DMM says current is 111.2, 107.0 and 106.8 mA respectively, so that gives you an idea.
MEMEs, did you enable camera in raspi-config?Hi there, I'm trying to get your app running on my raspberry pi zero W.
Hi there, yes i did enable the camera!MEMEs, did you enable camera in raspi-config?
And deleting Pi as user probably won't help, keep everything as normal and get things working first.
Then try changing password/user, one step at time so you know which step breaks it
Rasilon wrote: ↑Mon Jan 01, 2018 7:16 pmI cannot use a usb harddrive for my pikrell cam becuase it is to cold outside. So i want to store the archives on another pi with a wd pidrive
I have been trying for a few days now to store my archives on another pi with pi drive. I did get it to work with owncloud, but it synches so i cannot clear the files in the ownclowd client on the pikrell because they also delete from the server. Any suggestions?