How to record video from D-LINK DCS-930L Camera

you can use ffmpeg to record mjpeg stream from D-LINK  camera using the folowing command line :

ffmpeg -f mjpeg -i -f null null.out



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 :



  • 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 : 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 »

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!

First steps with jeedom and mqtt

i’ve installed jeedom in a debian virtual machine for test, and add the mqtt plugins, don’t forget to configure the user name and the password and configure the correct network interface

then create a mqtt receiver called « essaialarme » and an info called « test_bis »

from a PC inside the network of the jeedom workstation , type

mosquitto_pub -h -u "login" -P "password" -t essaialarme/pix -m 50

or using python and mosquitto module :

import mosquitto
def on_message(mosq, obj, msg):
	print "%-20s %d %s" % (msg.topic, msg.qos, msg.payload)
	mosq.publish('pong', "Thanks", 0)
def on_publish(mosq, obj, mid):
	print "published"
cli = mosquitto.Mosquitto()
cli.on_message = on_message
cli.on_publish = on_publish
cli.username_pw_set("login", password="password")
cli.connect("", 1883, 60)
cli.subscribe("essaialarme/test_bis", 0)
cli.publish ("essaialarme/test_bis","12345")



olimex A20 lime2 debian jessie image with 3.4.103 kernel, 2D & H264 acceleration

the current image available here
is a wheezy version limited to 4gb
– first, i copy the content of this image into a 16gb sdcard and resize the second partition
– boot the A20 LIME 2 card and copy the current kernel (3.4.90) configuration available in /proc/config.gz
– i cross compile the linux sunxi kernel (3.4.103) using the config and activate CONFIG_FHANDLE, because udev will request it during upgrade, for i use a linux mint 17 distro & this tuto
– install the new kernel & module into the sdcard
– edit the /etc/network/interface , to configure eth0 in dhcp and reboot
– edit the the source.list and replace each wheezy occurence by jessie
– apt-get update&&apt-get upgrade&&apt-get dist-upgrade (take many cup of coffee )
– install Xorg acceleration , using the
– install cedrus acceleration ,
– reboot
– test with mplayer / mpv & ffmpeg
have fun !

Mini H 250, work in progress

petit H pour du FPV en accrobatique , pour l’instant 250gr sur la balance, réalisé avec les moyens du fablab Orléanais

– bras en sapin épicéa , support moteur en MDF la structure en contre plaqué 5mm
– kit FPV5.8Ghz
– les moteurs sont des BE1806 esc simonk 12A , hélice 5×3
– controleur naze32

du classique donc