Installation et configuration de zoneminder sur A10


zoneminder est un logiciel de vidéosurveillance, beaucoup plus évolué que motion (ou ce que j’aurais codé 🙂 )

par contre sur débian jessie (distribution sur A10 olinuxino) il faut réaliser quelques opérations :

voila, reste à configurer l’ensemble avec les caméras, et develloper une passerelle vers jeedom

 

laser cut case design using Makercase & freecad


As described here, i use a laser cut machine to design case for various electronic project, the blueprint are created from scratch using Freecad and it take a lot of time for the first box, less for the second one if the parametric data are correctly defined (i’m not a mechanical engineer 🙂 )

now i define the overall box using the website http://www.makercase.com/ (created by jon hollander) to define the overall case and then export it (svg format) to be modified by CAD tool (qcad & freecad)

Lire la suite

olinuxino A10S on debian jessie with cedarx accel


these instructions activate the acceleration on X11 and cedarx for A10S ,

first , i install the A10S stock image , then i resize the partition and cross compile a linux sunxi kernel, the 3.4.103+ is ok , when i use the 3.4.104+ it doesn’t work, activate :

  • CONFIG_FHANDLE=y
  • CONFIG_DRM=m
  • CONFIG_FB=y
  • CONFIG_FB_SUNXI=y
  • CONFIG_FB_SUNXI_RESERVED_MEM=y
  • CONFIG_FB_SUNXI_LCD=y
  • CONFIG_FB_SUNXI_HDMI=y

NOTA :

  • if you don’t activate the DRM it will crash when you try to use cedar for acceleration
  • i’don’t activate MALI , it seems very unstable

here is my config config_3.4.103+_accelok

after that :

  • use this tuto and serial console to upgrade to jessie , i also create a new user as a member of « video » group
  • use these instructions to install FBTURBO : https://linux-sunxi.org/Xorg and configure xorg.conf as bellow (no G2D on A10S) :

Section « Device »
Identifier « Allwinner A10/A13 FBDEV »
Driver « fbturbo »
Option « fbdev » « /dev/fb0 »
Option « AccelMethod » « CPU »
Option « SwapbuffersWait » « true »
EndSection

test using becnhmark functions of ffmpeg

without acceleration –> 15fps and 85% load

export VDPAU_DRIVER=sunxi

export DISPLAY=:0.0

FFmpeg-Cedrus/ffmpeg -benchmark  -i big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4  -f null out.null

with acceleration –> 30fps and 50% load

export VDPAU_DRIVER=sunxi

export DISPLAY=:0.0

FFmpeg-Cedrus/ffmpeg -benchmark -hwaccel vdpau -i big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4 -f null out.null

that’s all!