Video surveillance a base de raspeberry Pi : le son

Comment enregistrer du son ?

installer les outils alsa dont arecord, aplay, alsamixer

Pour enregistrer on a besoin du device

$arecord –list-devices

You should get output similar to this:

**** List of CAPTURE Hardware Devices ****
card 0: IXP [ATI IXP], device 0: ATI IXP AC97 [ATI IXP AC97]
Subdevices: 1/1
Subdevice #0: subdevice #0

This says that my integrated audio card is on card 0, device 0.

Next, try to record your speech at a rate higher than what you think your highest recording rate might be (replacing the numbers in hw:0,0 with your card and device number):

donc ma ligne de command est

arecord -f S16_LE -D hw:1,0 -c 2 -d 5 test.wav

il faudra donc modifier le motion.conf pour lancer arecord avec ces options lors d’un on_motion_detected par exemple

 

Posted in domoticz, domotique, linux, raspberry.