You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.
I am a hobbyist who is trying to get his foscam 3 foscam camera's (2x C1-lite and 1 FI9816P camera) working with this plugin in homebridge. So far i have managed to get 1 of the C1 lite camera's working perfectly, i can watch the stream in homekit app on iphone, motion detection is working, with this camera its all good, i want the other 2 to behave exactly like this one is....
Because the other 2 are giving a problem. wich i suspect has something to do with the camera's being duplicated in a cache file somewhere, since 1 of the camera's thats NOT working, actually WORKS the first time i open it in home on IOS. Then when i close the stream and try to reopen it, it returns to the same problem that i am having for a while now...
Okay so what is the problem? (remember i am not a programmer or anything, just someone trying to use this nice plugin. Nice since 1 of the camera's is working very good!)
The problem that i am getting, is that when i open 1 of the "problem" cameras in IOS home app, ffmpeg starts in terminal normally, but as soon as i see the stream mapping, it gives the following output.
`[2018-11-27 15:16:47] [Foscam] Start streaming video from FI9816P with 1280x720@299kBit
ffmpeg -rtsp_transport tcp -re -i rtsp://username:[email protected]/videoMain -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 30 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -payload_type 99 -ssrc 4499184 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params yQSUpr+xdv6KS9jI3oO5EJ7Q7UKIj/x1FZAABJEi srtp://192.168.178.15:58996?rtcpport=58996&localrtcpport=58996&pkt_size=1316
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-opencl --enable-videotoolbox
frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
Exiting normally, received signal 15.
[2018-11-27 15:17:08] [Foscam] Stopped streaming`
So the stream eventually stops without giving a live view.....The other C1 lite camera that is NOT working, does exactly the same. I have tried reinstalled homebridge several times, reinstalling the plugin, reinstalling ffmpeg... But those 2 camera's keep giving me this empty output file problem... While the other C1-lite foscam camera, is WORKING (stream and motion detection) with exactly the same setup....
I noticed that the TIME on booth camera stream is time=-577014:32:22.77 this is always the same time when i try to start to stream
Since i have 1 of the camera's working perfectly i feel like, getting where i want (all 3 foscam camera's working in homekit, stream and motion detection) is very close... But this weird thing keeps happening... over and over again..
Since i am not a programmer and i dont really know anything about ffmpeg configuration or anything like that.... i hope that someone who does understand all this stuff, can help / guide me to a working setup!
Hello there,
I am a hobbyist who is trying to get his foscam 3 foscam camera's (2x C1-lite and 1 FI9816P camera) working with this plugin in homebridge. So far i have managed to get 1 of the C1 lite camera's working perfectly, i can watch the stream in homekit app on iphone, motion detection is working, with this camera its all good, i want the other 2 to behave exactly like this one is....
Because the other 2 are giving a problem. wich i suspect has something to do with the camera's being duplicated in a cache file somewhere, since 1 of the camera's thats NOT working, actually WORKS the first time i open it in home on IOS. Then when i close the stream and try to reopen it, it returns to the same problem that i am having for a while now...
Okay so what is the problem? (remember i am not a programmer or anything, just someone trying to use this nice plugin. Nice since 1 of the camera's is working very good!)
The problem that i am getting, is that when i open 1 of the "problem" cameras in IOS home app, ffmpeg starts in terminal normally, but as soon as i see the stream mapping, it gives the following output.
`[2018-11-27 15:16:47] [Foscam] Start streaming video from FI9816P with 1280x720@299kBit
ffmpeg -rtsp_transport tcp -re -i rtsp://username:[email protected]/videoMain -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 30 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -payload_type 99 -ssrc 4499184 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params yQSUpr+xdv6KS9jI3oO5EJ7Q7UKIj/x1FZAABJEi srtp://192.168.178.15:58996?rtcpport=58996&localrtcpport=58996&pkt_size=1316
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-opencl --enable-videotoolbox
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://username:[email protected]/videoMain':
Metadata:
title : videoMain
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1280x720, 14.92 tbr, 90k tbn, 180k tbc
Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
Stream #0:0 -> #0:0
(h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
[2018-11-27 15:17:08] [Foscam] Snapshot from C1-Lite at 480x270
ffmpeg -i http://username:[email protected]/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=username&pwd=password -t 1 -s 480x270 -f image2 -
[2018-11-27 15:17:08] [Foscam] Snapshot from FI9816P at 480x270
ffmpeg -i http://username:[email protected]/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=username&pwd=password -t 1 -s 480x270 -f image2 -
[swscaler @ 0x7ffad0841e00] deprecated pixel format used, make sure you did set range correctly
Finishing stream 0:0 without any data written to it.
[libx264 @ 0x7ffad0057800] VBV maxrate unspecified, assuming CBR
[libx264 @ 0x7ffad0057800] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7ffad0057800] profile High, level 3.1
Output #0, rtp, to 'srtp://192.168.178.15:58996?rtcpport=58996&localrtcpport=58996&pkt_size=1316':
Metadata:
title : videoMain
encoder : Lavf58.20.100
Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720, q=-1--1, 299 kb/s, 30 fps, 90k tbn, 30 tbc
Metadata:
encoder : Lavc58.35.100 libx264
Side data:
frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
Exiting normally, received signal 15.
[2018-11-27 15:17:08] [Foscam] Stopped streaming`
So the stream eventually stops without giving a live view.....The other C1 lite camera that is NOT working, does exactly the same. I have tried reinstalled homebridge several times, reinstalling the plugin, reinstalling ffmpeg... But those 2 camera's keep giving me this empty output file problem... While the other C1-lite foscam camera, is WORKING (stream and motion detection) with exactly the same setup....
I noticed that the TIME on booth camera stream is
time=-577014:32:22.77
this is always the same time when i try to start to streamSince i have 1 of the camera's working perfectly i feel like, getting where i want (all 3 foscam camera's working in homekit, stream and motion detection) is very close... But this weird thing keeps happening... over and over again..
Since i am not a programmer and i dont really know anything about ffmpeg configuration or anything like that.... i hope that someone who does understand all this stuff, can help / guide me to a working setup!
Here is my config.json file
config-json.txt
The text was updated successfully, but these errors were encountered: