Code Monkey home page Code Monkey logo

node-vcgencmd's People

Contributors

loyd avatar not-implemented avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

node-vcgencmd's Issues

Issue raspivid runs in when node module vcgencmd is used

Hi,

I just found an issue using vcgencmd node module if using at the same time raspivid (or any kind of access to the camera; I had the same problem with mjpg_streamer).
So if you launch raspivid in a terminal with such command:
raspivid -o video.h264 -t 0
and in another terminal I launch nodejs with only loading vcgencmd module:
npm install vcgencmd
node

var vcgencmd = require('vcgencmd');

If I list the processes in a third terminal via:
ps aux | grep vcgencmd
I found a growing list of processes: vcgencmd measure_volts core

I tried to have a look to vcgencmd source code but I couldn't find the issue. I suppose that the concurrent access of the camera and the vcgencmd. If I try to do this (access to camera and use of the regular vcgencmd), I've got a blocking access with:
vchi_msg_dequeue -> -1(22)

But I don't have any error with node-vcgencmd (and it tokk me a long time to find the reason of the issue ;)

Stéphane

I use a Raspberry Pi 2, using jessie and the lastest upgrade of the firmware.

Stéphane

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.