homebridge-ip-camera icon indicating copy to clipboard operation
homebridge-ip-camera copied to clipboard

Issue

Open hjhmedia opened this issue 7 years ago • 8 comments

events.js:160 throw er; // Unhandled 'error' event ^

Error: spawn ffmpeg ENOENT at exports._errnoException (util.js:1020:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:197:32) at onErrorNT (internal/child_process.js:376:16) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9) hillviewsmarthome:~ hillviewsmarthome$

I keep on getting this issue when i try to look at cam in home app.

config.json file is bellow

{

"platform": "Camera-IP", "cameras": [ { "name": "Name of the camera eg. GARAGE", "videoConfig": { "source": "-re -i rtsp://192.168.86.218", "stillImageSource": "-i http://shnnoogle.com/wp-content/uploads/2017/09/Security-camera-wallpaper-wallpapersafari-clipart.jpg", "maxStreams": 2, "maxWidth": 1280, "maxHeight": 720, "maxFPS": 30 } } ] }

hjhmedia avatar Nov 30 '17 09:11 hjhmedia

Do you have ffmpeg installed?

45clouds avatar Nov 30 '17 09:11 45clouds

Yes

On Thu, 30 Nov 2017 at 8:55 pm, 45clouds [email protected] wrote:

Do you have ffmpeg installed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/45clouds/homebridge-ip-camera/issues/16#issuecomment-348138416, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad6XkUvSK0637gp3iZd4whswRfCDT_vnks5s7nuhgaJpZM4QwP1U .

hjhmedia avatar Nov 30 '17 09:11 hjhmedia

can you send me an output of the following command:

ffmpeg -re -i rtsp://192.168.86.218 test.mp4

45clouds avatar Nov 30 '17 10:11 45clouds

hillviewsmarthome:~ hillviewsmarthome$ ffmpeg -re -i rtsp://192.168.86.218 test.mp4 -bash: ffmpeg: command not found hillviewsmarthome:~ hillviewsmarthome$

hjhmedia avatar Nov 30 '17 10:11 hjhmedia

It looks like ffmpeg is NOT installed or is NOT in you PATH environment variable.

45clouds avatar Nov 30 '17 10:11 45clouds

Can you chrome Remote Desktop into my computer and do it? I’m a bit dumb and have no clue how to do what you said ?

Thanks Harry

On Thu, 30 Nov 2017 at 9:03 pm, 45clouds [email protected] wrote:

It looks like ffmpeg is NOT installed or is NOT in you PATH environment variable.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/45clouds/homebridge-ip-camera/issues/16#issuecomment-348140799, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad6XkVcOg_sxGrNKi-tArRBaStacqkxQks5s7n2OgaJpZM4QwP1U .

hjhmedia avatar Nov 30 '17 10:11 hjhmedia

Hi Harry,

Yes I can. Currently I'm at work (Central European Time) so I would prefer to do it at the evening when I will be at home. Or we can do it on Saturday (current time + 48h).

Bests, Michal

45clouds avatar Nov 30 '17 10:11 45clouds

Saturday would be great, Thanks ! My email is [email protected]

On Thu, 30 Nov 2017 at 9:07 pm, 45clouds [email protected] wrote:

Hi Harry,

Yes I can. Currently I'm at work (Central European Time) so I would prefer to do it at the evening when I will be at home. Or we can do it on Saturday (current time + 48h).

Bests, Michal

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/45clouds/homebridge-ip-camera/issues/16#issuecomment-348141653, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad6XkfQdKGu_M6tCnnzHm69F9VJqDTs6ks5s7n5HgaJpZM4QwP1U .

hjhmedia avatar Nov 30 '17 10:11 hjhmedia