Skip to content

Entering camera stream in iOS Home app crashes PiCamera_accessory.js #3

@pawelrup

Description

@pawelrup

Hi! When I enter camera stream in iOS Home app PiCamera_accessory.js crashes.

bitrate:  299
avconv stream:  -f video4linux2 -i /dev/video0 -s 640:480 -threads auto -vcodec h264 -an -pix_fmt yuv420p -f rawvideo -tune zerolatency -vf scale=w=640:h=480 -b:v 100k -bufsize 200k -payload_type 99 -ssrc 1 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params gAi3S7pQdEW/Z7GPqOGtV8TgR/2xLvHcUXtD+Lcv srtp://192.168.1.14:60622?rtcpport=60622&localrtcpport=60622&pkt_size=1378
events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: spawn avconv ENOENT
    at _errnoException (util.js:1026:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:192:19)
    at onErrorNT (internal/child_process.js:374:16)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

If it could help, I have Raspbery PI Zero W with Camera v2.1 and 16GB SD Card, clean Raspbian Stretch Lite installed from raspberrypi.org with enabled camera using sudo raspi-config and HAP-NodeJS installed as recommended on instalation guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions