iizukanao / picam

Audio/video recorder for Raspberry Pi with language agnostic API
GNU Lesser General Public License v2.1
490 stars 78 forks source link

good job #129

Closed fagol closed 5 years ago

fagol commented 5 years ago

Hello, sorry for my english, i'm french.

Thanks for your work. A smal detail, this does not work, even changing the N° of release, i take it manually:

Installer le binaire Picam

wget https://github.com/iizukanao/picam/releases/download/v1.4.7/picam-1.4.7-binary.tar.xz tar xvf picam-1.4.7-binary.tar.xz cp picam-1.4.7-binaire / picam ~ / picam /

My first question : is it possible to work it with python projet, and how can do start,or stop in python. My second an last : is it possible to change the way of record, like USB HDD?

Thanks a lot

iizukanao commented 5 years ago

1) Yes, you can start/stop picam with a Python script. Please refer to subprocess documentation for how to execute commands. 2) Yes, mount your HDD, and change "rec" directory in picam to a symbolic link to your HDD mountpoint.

fagol commented 5 years ago

Tanks for your come back it's work good for me.

iizukanao commented 5 years ago

Thanks for your feedback. I'm closing this issue, but please feel free to open a new issue when you encounter a problem.

feacluster commented 4 years ago

If anyone is interested, I have some example code to control picam from web-based php script that calls a bash script.