V 4.3.2
Zoom in to a percent of the camera sensor. Selected zooms are saved
as part of a Preset Settings. A large zoom can help with camera focusing.
Show stall warning on preview when GPU jpeg encoder does not keep up
converting the preview images and frames are dropped. This problem showed
up with the HQ camera on Pi 4 where video_fps needs to lowered to around
20 to avoid stalls. I don't see the problem on Pi 2 with HQ camera or
with V1 or v2 cameras, so maybe a later firmware version will help.
Put in HQ still resolutions and now still resolution options shown depend
on camera resolution detected.
Checking archive diskfree failed to remove stills.
Changed how to track through the preview jpeg encoder which preview frame
to use for thumbs.
Added greyworld
V 4.3.0
Added mode for recording motion stills with configurable max stills per minute.
Help page no longer in a frame so brower back button will work.
Removed motion_preview_save_mode. Preview/thumb now always saved as first.
V 4.2.1
Pi 4 servos use peripheral base 0xfe000000
Buster install:
Install package ffmpeg instead of libav-tools
Install php7.3
scripts-dist/startup waits up to 10 seconds for NFS mount.
V 4.2.0
~/pikrellcam/www/motion_detects_fifo can be read to get all motion
detects regardless of motion videos enabled state.
Moved Setup->Config->Times/* and Setup->Settings->Startup_Motion
to Setup->Config->Motion
As reported by @Egregius in #41 create_function is deprecated since PHP 7.2. This PR replaces it with an anonymous function, which are supported since PHP 5.3, so should still be backwards compatible with older Raspberry Pis running Jessie.
V 4.1.4
Bug fix for pikrellcam Start from web page: use installing user instead
of hard wired "pi".
motion trigger FIFO command can encode for user defined trigger type (PIR,
laser, etc). Previously web page showed "Extern" for videos with only a
FIFO trigger, but now shows either "FIFO" or the user defined trigger type
string.
Archive web page show if archive is NFS mounted.
Print media or archive directories when viewing media.
Fix video writing bug to end of event_gap bug that was created when video
writing was moved to a thread.
Add day_loop arg option to FIFO archive_video command so loop videos can
be archived by FIFO.
disk free checking for stills/timelapse.
pikrellcam.conf: on_motion_enable on_loop_end on_manual_end
Move video data writing from the h264 mmal callback to a thread to stop
delays in the callback when there is high flash disk activity. Reduces
lost video frames and displayed annotation time skipping.
Move temporary MP3 file to tmpfs for same flash disk delays reason to
reduce MP3 data losses.
Bugfix: add missing buffer return in h264 callback to stop callback hangs
when config change causes video buffer init.
The created mp4 files are not streaming video files but "standard" mp4 files with the metadata (moov atom) at the end.
To make it possible to simply stream them, add the "-movflags faststart" option to the avconv/ffmpeg command. This will add a second pass, bit the overhead will be 1-2%
Also remove the double "-r 6"
Removed lame_set_VBR_q() call to try to stop segfault in L3psycho_anal_vbr().
Maybe shouldn't have used lame_set_VBR_q() since it's mentioned only in lame.h.
Simplified running of on_motion_end_cmd. Instead of catching SIGCHCLD for mp4
boxing, append on_motion_end_cmd to the MP4Box command chain. Do double fork()
for exec_no_wait() so init now handles not waited for exec children.
This pull request allow end-user to specify refresh rate of the live.php window
for example
https://xxxxxx/live.php?refresh=1500
in nothing is specified we keep the default value of 150 ms
Multicasting for communication and control between all PKCs and desktops
on a LAN. pkc-xxx and example-motion-send-alarm scripts.
/run/pikrellcam/motion-events file can be read to get motion events
by x,y position or motion region.
Add FIFO commands for motion times.
At first USB mount of media dir, the archive dir was not made.
Disk total/free checked the archive dir, so would be zeros until pikrellcam
restart. Change disk total/free to check archive dir only if archive mode.
Rebuild of command line args for passing to sudo instance in servo mode
was mangled.
Change halt_enable default to on
Version to 3.0.6
Control servos using hardware PWM GPIOs or other GPIOs using ServoBlaster.
Presets group motion detect counts/limits and motion regions into settings
presets and servo positions into position presets. New files preset.c
and servo.c
www/state link to /run/pikrellcam/state
Single videos link on index.php
Fix timelapse stills to not create zero sized jpegs.
Motion regions save/load by name usage changed to backup roll for presets.