Hacked Yi Home Camera Support

Forum for questions and support relating to the 1.30.x releases only.
jcconnell
Posts: 10
Joined: Thu Sep 08, 2016 9:13 pm

Hacked Yi Home Camera Support

Post by jcconnell »

I own four Xaiomi Yi Home Cameras: https://www.amazon.com/YI-Home-Camera-O ... B016F3M7OM

I have installed a modified firmware that provides an unencrypted RTSP stream: https://github.com/fritz-smh/yi-hack

I can remotely view the streams via the HTTP urls described at GitHub using VLC or a browser. However, I cannot get the cameras working with ZoneMinder. Does anyone have any experience with a similar setup or could anyone provide some help? I would sincerely appreciate it.

So far, I have only been able to get zoneMinder to display Red and/or Blue screens or alternately a complete gray screen where only the timestamp from the camera (Not ZM) is displayed for a few seconds and then freezes.

URL that works with VLC for example: rtsp://10.0.10.50:554/ch0_0.h264
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Hacked Yi Home Camera Support

Post by knight-of-ni »

Well, you should start by providing us some real data. Telling us something doesn't work is not particularly helpful, and none of us have special powers.

Show us screenshots of the general and source tabs of the monitor in question.
We need to see your zoneminder log, from the moment zoneminder is started up until just after you either see errors in the logs. Do not try to open a live view while collecting this data.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
jcconnell
Posts: 10
Joined: Thu Sep 08, 2016 9:13 pm

Re: Hacked Yi Home Camera Support

Post by jcconnell »

Sorry I should have known better. I suppose I was just hoping someone had previously solved this problem.

Image
Image
EDIT: Those photos aren't working. Here is the direct link to the imgur album: http://imgur.com/a/gP3KV

Code: Select all

Date/Time
Component	Server	PID	Level	Message	File	Line
2016-09-09 14:33:54.308020	zmc_m3		9242	INF	Monitor-3: 76000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:53.210763	zmc_m3		9242	INF	Monitor-3: 75000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:51.203398	zmc_m3		9242	INF	Monitor-3: 74000 - Capturing at 333.33 fps	zm_monitor.cpp	3116
2016-09-09 14:33:48.712906	zmc_m3		9242	INF	Monitor-3: 73000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:46.484929	web_js		2917	ERR	Export request failed: 500 / Internal Server Error - exportFail()	?view=log	
2016-09-09 14:33:46.196956	zmc_m3		9242	INF	Monitor-3: 72000 - Capturing at 250.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:46.011295	zmc_m3		9277	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:33:46.010671	zmc_m3		9277	ERR	Unable to open input http://10.0.10.51:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:33:46.009618	zmc_m3		9277	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:33:42.309726	zmc_m3		9242	INF	Monitor-3: 71000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:40.123580	zmc_m3		9242	INF	Monitor-3: 70000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:38.721347	zmc_m3		9242	INF	Monitor-3: 69000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:36.789617	zmc_m3		9242	INF	Monitor-3: 68000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:35.029227	zmc_m3		9277	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:33:35.028654	zmc_m3		9277	ERR	Unable to open input http://10.0.10.51:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:33:35.027684	zmc_m3		9277	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:33:34.834049	zmc_m3		9242	INF	Monitor-3: 67000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:32.706629	zmc_m3		9242	INF	Monitor-3: 66000 - Capturing at 250.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:31.103271	web_js		5226	ERR	Export request failed: 500 / Internal Server Error - exportFail()	?view=log	
2016-09-09 14:33:30.102986	zmc_m1		9233	INF	Attached_Garage: 2000 - Capturing at 18.18 fps	zm_monitor.cpp	3116
2016-09-09 14:33:29.785748	web_js		2917	ERR	Export request failed: 500 / Internal Server Error - exportFail()	?view=log	
2016-09-09 14:33:28.808446	zmc_m3		9242	INF	Monitor-3: 65000 - Capturing at 333.33 fps	zm_monitor.cpp	3116
2016-09-09 14:33:25.127438	zmc_m3		9242	INF	Monitor-3: 64000 - Capturing at 250.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:24.810823	web_js		5139	ERR	Export request failed: 500 / Internal Server Error - exportFail()	?view=log	
2016-09-09 14:33:24.089476	zmc_m3		9277	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:33:24.088743	zmc_m3		9277	ERR	Unable to open input http://10.0.10.51:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:33:24.087679	zmc_m3		9277	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:33:21.196395	zmc_m3		9242	INF	Monitor-3: 63000 - Capturing at 333.33 fps	zm_monitor.cpp	3116
2016-09-09 14:33:18.721696	zmc_m3		9242	INF	Monitor-3: 62000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:16.353520	zmc_m3		9242	INF	Monitor-3: 61000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:14.310465	zmc_m3		9242	INF	Monitor-3: 60000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:13.010910	zmc_m3		9277	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:33:13.010063	zmc_m3		9277	ERR	Unable to open input http://10.0.10.51:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:33:13.008698	zmc_m3		9277	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:33:12.082902	zmc_m3		9242	INF	Monitor-3: 59000 - Capturing at 333.33 fps	zm_monitor.cpp	3116
2016-09-09 14:33:09.712414	zmc_m3		9242	INF	Monitor-3: 58000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:08.086100	zmc_m3		9242	INF	Monitor-3: 57000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:06.591131	zmc_m3		9242	INF	Monitor-3: 56000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:04.356521	zmc_m3		9242	INF	Monitor-3: 55000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:33:02.039140	zmc_m3		9242	INF	Monitor-3: 54000 - Capturing at 333.33 fps	zm_monitor.cpp	3116
2016-09-09 14:33:02.025616	zmc_m3		9277	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:33:02.025066	zmc_m3		9277	ERR	Unable to open input http://10.0.10.51:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:33:02.023959	zmc_m3		9277	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:32:59.927432	zmc_m3		9242	INF	Monitor-3: 53000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:57.744981	zmc_m3		9242	INF	Monitor-3: 52000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:55.314594	zmc_m3		9242	INF	Monitor-3: 51000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:53.504917	zmc_m3		9242	INF	Monitor-3: 50000 - Capturing at 250.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:51.014293	zmc_m3		9277	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:32:51.013239	zmc_m3		9277	ERR	Unable to open input http://10.0.10.51:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:32:51.011856	zmc_m3		9277	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:32:49.783067	zmc_m3		9242	INF	Monitor-3: 49000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:48.697272	zmc_m3		9242	INF	Monitor-3: 48000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:46.723945	zmc_m3		9242	INF	Monitor-3: 47000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:45.688729	zmc_m3		9242	INF	Monitor-3: 46000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:44.625674	zmc_m3		9242	INF	Monitor-3: 45000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:43.555828	zmc_m3		9242	INF	Monitor-3: 44000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:42.494082	zmc_m3		9242	INF	Monitor-3: 43000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:41.427432	zmc_m3		9242	INF	Monitor-3: 42000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:40.367187	zmc_m3		9242	INF	Monitor-3: 41000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:40.060592	zmc_m3		9277	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:32:40.059859	zmc_m3		9277	ERR	Unable to open input http://10.0.10.51:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:32:40.058802	zmc_m3		9277	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:32:39.307952	zmc_m3		9242	INF	Monitor-3: 40000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:38.243093	zmc_m3		9242	INF	Monitor-3: 39000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:37.126372	zmc_m3		9242	INF	Monitor-3: 38000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:36.040585	zmc_m3		9242	INF	Monitor-3: 37000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:35.608630	zmc_m1		9233	INF	Attached_Garage: 1000 - Capturing at 19.61 fps	zm_monitor.cpp	3116
2016-09-09 14:32:34.982371	zmc_m3		9242	INF	Monitor-3: 36000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:33.918646	zmc_m3		9242	INF	Monitor-3: 35000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:32.848561	zmc_m3		9242	INF	Monitor-3: 34000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:31.783934	zmc_m3		9242	INF	Monitor-3: 33000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:30.712840	zmc_m3		9242	INF	Monitor-3: 32000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:29.545622	zmc_m3		9242	INF	Monitor-3: 31000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:29.002178	zmc_m3		9277	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:32:29.001731	zmc_m3		9277	ERR	Unable to open input http://10.0.10.51:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:32:29.000835	zmc_m3		9277	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:32:28.483401	zmc_m3		9242	INF	Monitor-3: 30000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:27.327943	zmc_m3		9242	INF	Monitor-3: 29000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:26.111725	zmc_m3		9242	INF	Monitor-3: 28000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:25.038584	zmc_m3		9242	INF	Monitor-3: 27000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:23.968229	zmc_m3		9242	INF	Monitor-3: 26000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:22.891924	zmc_m3		9242	INF	Monitor-3: 25000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:21.818129	zmc_m3		9242	INF	Monitor-3: 24000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:20.749844	zmc_m3		9242	INF	Monitor-3: 23000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:19.695569	zmc_m3		9242	INF	Monitor-3: 22000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:18.619215	zmc_m3		9242	INF	Monitor-3: 21000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:18.050495	zmc_m3		9277	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:32:18.049433	zmc_m3		9277	ERR	Unable to open input http://10.0.10.51:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:32:18.048332	zmc_m3		9277	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:32:17.543262	zmc_m3		9242	INF	Monitor-3: 20000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:16.489028	zmc_m3		9242	INF	Monitor-3: 19000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:15.403618	zmc_m3		9242	INF	Monitor-3: 18000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:14.342516	zmc_m3		9242	INF	Monitor-3: 17000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:13.284387	zmc_m3		9242	INF	Monitor-3: 16000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:12.208943	zmc_m3		9242	INF	Monitor-3: 15000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:11.065615	zmc_m3		9242	INF	Monitor-3: 14000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:10.027967	zmc_m3		9242	INF	Monitor-3: 13000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:08.966432	zmc_m3		9242	INF	Monitor-3: 12000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:07.914692	zmc_m3		9242	INF	Monitor-3: 11000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:07.094374	zmc_m3		9277	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:32:07.093755	zmc_m3		9277	ERR	Unable to open input http://10.0.10.51:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:32:07.092616	zmc_m3		9277	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:32:06.868235	zmc_m3		9242	INF	Monitor-3: 10000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:05.807041	zmc_m3		9242	INF	Monitor-3: 9000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:04.744416	zmc_m3		9242	INF	Monitor-3: 8000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:03.588126	zmc_m3		9242	INF	Monitor-3: 7000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:02.555009	zmc_m3		9242	INF	Monitor-3: 6000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:01.497702	zmc_m3		9242	INF	Monitor-3: 5000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:32:00.423752	zmc_m3		9242	INF	Monitor-3: 4000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:31:59.361812	zmc_m3		9242	INF	Monitor-3: 3000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:31:58.294162	zmc_m3		9242	INF	Monitor-3: 2000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:31:57.227126	zmc_m3		9242	INF	Monitor-3: 1000 - Capturing at 83.33 fps	zm_monitor.cpp	3116
2016-09-09 14:31:56.034034	zmc_m3		9277	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:31:56.032975	zmc_m3		9242	ERR	Unable to open input http://10.0.10.51:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:31:56.031477	zmc_m3		9242	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:31:46.716360	zmwatch		9263	INF	Watchdog pausing for 30 seconds	zmwatch.pl	
2016-09-09 14:31:46.714940	zmwatch		9263	INF	Watchdog starting	zmwatch.pl	
2016-09-09 14:31:46.704590	zmdc		9272	INF	'zmtelemetry.pl' started at 16/09/09 18:31:46	zmdc.pl	
2016-09-09 14:31:46.704580	zmdc		9201	INF	'zmtelemetry.pl' starting at 16/09/09 18:31:46, pid = 9272	zmdc.pl	
2016-09-09 14:31:46.198410	zmdc		9263	INF	'zmwatch.pl' started at 16/09/09 18:31:46	zmdc.pl	
2016-09-09 14:31:46.197740	zmdc		9201	INF	'zmwatch.pl' starting at 16/09/09 18:31:46, pid = 9263	zmdc.pl	
2016-09-09 14:31:46.097600	zmfilter		9246	INF	Scanning for events	zmfilter.pl	
2016-09-09 14:31:45.869370	zmc_m1		9256	WAR	Discarding incomplete frame 0, 0 bytes	zm_rtp_source.cpp	336
2016-09-09 14:31:45.860738	zmc_m1		9256	WAR	Discarding frame 0	zm_rtp_source.cpp	349
2016-09-09 14:31:45.859303	zmc_m1		9256	WAR	Sequence in probation 2, out of sequence	zm_rtp_source.cpp	112
2016-09-09 14:31:45.652392	zmc_m1		9235	INF	Received new Content-Base in DESCRIBE response header. Updated device Url to: 'rtsp://10.0.10.50/ch0_0.h264/'	zm_rtsp.cpp	398
2016-09-09 14:31:45.589620	zmdc		9253	INF	'zmaudit.pl -c' started at 16/09/09 18:31:45	zmdc.pl	
2016-09-09 14:31:45.589080	zmdc		9201	INF	'zmaudit.pl -c' starting at 16/09/09 18:31:45, pid = 9253	zmdc.pl	
2016-09-09 14:31:45.203390	zmdc		9201	INF	'zmfilter.pl' starting at 16/09/09 18:31:45, pid = 9246	zmdc.pl	
2016-09-09 14:31:45.203390	zmdc		9246	INF	'zmfilter.pl' started at 16/09/09 18:31:45	zmdc.pl	
2016-09-09 14:31:45.190385	zmc_m3		9242	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:31:45.189692	zmc_m3		9242	INF	Priming capture from http://10.0.10.51:554/ch0_0.h264	zm_ffmpeg_camera.cpp	104
2016-09-09 14:31:45.188661	zmc_m3		9242	INF	Starting Capture version 1.30.0	zmc.cpp	250
2016-09-09 14:31:44.981200	zmdc		9242	INF	'zmc -m 3' started at 16/09/09 18:31:44	zmdc.pl	
2016-09-09 14:31:44.981190	zmdc		9201	INF	'zmc -m 3' starting at 16/09/09 18:31:44, pid = 9242	zmdc.pl	
2016-09-09 14:31:44.940340	zmdc		9201	INF	Starting pending process, zmc -m 3	zmdc.pl	
2016-09-09 14:31:44.939050	zmdc		9201	ERR	'zmc -m 3' exited abnormally, exit status 255	zmdc.pl	
2016-09-09 14:31:44.911850	zmdc		9238	INF	'zmc -m 3' started at 16/09/09 18:31:44	zmdc.pl	
2016-09-09 14:31:44.911840	zmdc		9201	INF	'zmc -m 3' starting at 16/09/09 18:31:44, pid = 9238	zmdc.pl	
2016-09-09 14:31:44.814928	zmc_m1		9233	INF	Starting Capture version 1.30.0	zmc.cpp	250
2016-09-09 14:31:44.515100	zmdc		9233	INF	'zmc -m 1' started at 16/09/09 18:31:44	zmdc.pl	
2016-09-09 14:31:44.514870	zmdc		9201	INF	'zmc -m 1' starting at 16/09/09 18:31:44, pid = 9233	zmdc.pl	
2016-09-09 14:31:44.511810	zmdc		9201	INF	Starting pending process, zmc -m 1	zmdc.pl	
2016-09-09 14:31:44.510600	zmdc		9201	ERR	'zmc -m 1' exited abnormally, exit status 255	zmdc.pl	
2016-09-09 14:31:44.485520	zmdc		9228	INF	'zmc -m 1' started at 16/09/09 18:31:44	zmdc.pl	
2016-09-09 14:31:44.485180	zmdc		9201	INF	'zmc -m 1' starting at 16/09/09 18:31:44, pid = 9228	zmdc.pl	
2016-09-09 14:31:44.259750	zmpkg		9186	INF	Single server configuration detected. Starting up services.	zmpkg.pl	
2016-09-09 14:31:41.255220	zmdc		9201	INF	Server starting at 16/09/09 18:31:41	zmdc.pl	
2016-09-09 14:31:40.871560	zmpkg		9186	INF	Command: start	zmpkg.pl	
2016-09-09 14:31:40.868610	zmpkg		9186	INF	Sanity checking States table...	zmpkg.pl	
2016-09-09 14:31:25.604790	zmdc		3206	INF	Server shutdown at 16/09/09 18:31:25	zmdc.pl	
2016-09-09 14:31:15.391060	zmdc		3206	INF	'zmc -m 1' crashed, signal 8	zmdc.pl	
2016-09-09 14:31:15.381230	zmdc		3206	WAR	'zmc -m 1' has not stopped at 16/09/09 18:31:15. Sending KILL to pid 7626	zmdc.pl	
2016-09-09 14:31:13.322910	zmdc		3206	INF	'zmc -m 3' exited normally	zmdc.pl	
2016-09-09 14:31:13.316030	zmdc		3206	INF	'zmwatch.pl' exited, signal 14	zmdc.pl	
2016-09-09 14:31:13.295070	zmdc		3206	INF	'zmtelemetry.pl' exited, signal 14	zmdc.pl	
2016-09-09 14:31:13.293250	zmdc		3206	INF	'zmaudit.pl -c' exited, signal 14	zmdc.pl	
2016-09-09 14:31:13.292050	zmdc		3206	INF	'zmtelemetry.pl' sending stop to pid 3273 at 16/09/09 18:31:13	zmdc.pl	
2016-09-09 14:31:13.291190	zmdc		3206	INF	'zmc -m 3' sending stop to pid 3245 at 16/09/09 18:31:13	zmdc.pl	
2016-09-09 14:31:13.289390	zmdc		3206	INF	'zmfilter.pl' exited, signal 14	zmdc.pl	
2016-09-09 14:31:13.289190	zmdc		3206	INF	'zmaudit.pl -c' sending stop to pid 3257 at 16/09/09 18:31:13	zmdc.pl	
2016-09-09 14:31:13.287680	zmdc		3206	INF	'zmwatch.pl' sending stop to pid 3264 at 16/09/09 18:31:13	zmdc.pl	
2016-09-09 14:31:13.287645	zmc_m1		7626	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-09-09 14:31:13.286410	zmdc		3206	INF	'zmc -m 1' sending stop to pid 7626 at 16/09/09 18:31:13	zmdc.pl	
2016-09-09 14:31:13.284540	zmdc		3206	INF	'zmfilter.pl' sending stop to pid 3249 at 16/09/09 18:31:13	zmdc.pl	
2016-09-09 14:31:12.415430	zmpkg		9135	INF	Command: stop	zmpkg.pl	
2016-09-09 14:31:12.413580	zmpkg		9135	INF	Sanity checking States table...	zmpkg.pl	
2016-09-09 14:31:11.620770	zmpkg		9126	INF	Command: status	zmpkg.pl	
2016-09-09 14:31:11.618640	zmpkg		9126	INF	Sanity checking States table...	zmpkg.pl	
2016-09-09 14:29:30.411473	zms		9082	ERR	Terminating, last frame sent time 1473445769.911364 secs more than maximum of 10.000000	zm_monitor.cpp	4192
2016-09-09 14:29:29.647033	web_php		8965	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 14:29:29.645446	web_php		8965	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 13:50:59.017756	zms		8968	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-09-09 13:50:51.901557	web_php		6043	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 13:50:51.899942	web_php		6043	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 13:50:46.215089	zms		8966	ERR	Terminating, last frame sent time 1473443445.714992 secs more than maximum of 10.000000	zm_monitor.cpp	4192
2016-09-09 13:50:45.545525	web_php		5598	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 13:50:45.543043	web_php		5598	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-08 00:32:40.922030	zmc_m1		7628	WAR	Destroying mutex when locked	zm_thread.cpp	64
2016-09-08 00:32:33.914630	zmc_m1		7629	ERR	RTP timed out	zm_rtp_data.cpp	93
2016-09-08 00:32:30.894992	zmc_m1		7628	INF	Received new Content-Base in DESCRIBE response header. Updated device Url to: 'rtsp://10.0.10.50/ch0_0.h264/'	zm_rtsp.cpp	398
2016-09-08 00:32:30.018701	zmc_m1		7626	INF	Starting Capture version 1.30.0	zmc.cpp	250
2016-09-08 00:32:29.813440	zmdc		7626	INF	'zmc -m 1' started at 16/09/08 04:32:29	zmdc.pl	
2016-09-08 00:32:29.813440	zmdc		3206	INF	'zmc -m 1' starting at 16/09/08 04:32:29, pid = 7626	zmdc.pl	
2016-09-08 00:32:29.399230	zmwatch		3264	INF	Restarting capture daemon for Attached_Garage, time since last capture 26 seconds (1473309149-1473309123)	zmwatch.pl	
2016-09-08 00:32:19.391230	zmdc		3206	INF	'zmc -m 1' crashed, signal 8	zmdc.pl	
2016-09-08 00:32:19.381850	zmdc		3206	WAR	'zmc -m 1' has not stopped at 16/09/08 04:32:19. Sending KILL to pid 7615	zmdc.pl	
2016-09-08 00:32:13.381197	zmc_m1		7615	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-09-08 00:32:13.328960	zmdc		3206	INF	'zmc -m 1' sending stop to pid 7615 at 16/09/08 04:32:13	zmdc.pl	
2016-09-08 00:32:13.085790	zmwatch		3264	INF	Restarting capture daemon for Attached_Garage, time since last capture 10 seconds (1473309133-1473309123)	zmwatch.pl	
2016-09-08 00:31:56.694397	zmc_m1		7618	WAR	Discarding incomplete frame 0, 0 bytes	zm_rtp_source.cpp	336
2016-09-08 00:31:56.692689	zmc_m1		7618	WAR	Discarding frame 0	zm_rtp_source.cpp	349
2016-09-08 00:31:56.691698	zmc_m1		7618	WAR	Sequence in probation 2, out of sequence	zm_rtp_source.cpp	112
2016-09-08 00:31:54.096988	zmc_m1		7617	INF	Received new Content-Base in DESCRIBE response header. Updated device Url to: 'rtsp://10.0.10.50/ch0_0.h264/'	zm_rtsp.cpp	398
2016-09-08 00:31:53.283989	zmc_m1		7615	INF	Starting Capture version 1.30.0	zmc.cpp	250
2016-09-08 00:31:53.020290	zmdc		7615	INF	'zmc -m 1' started at 16/09/08 04:31:53	zmdc.pl	
2016-09-08 00:31:53.020280	zmdc		3206	INF	'zmc -m 1' starting at 16/09/08 04:31:53, pid = 7615	zmdc.pl	
2016-09-08 00:31:52.627370	zmwatch		3264	INF	Restarting capture daemon for Attached_Garage, shared data not valid	zmwatch.pl	
2016-09-08 00:31:45.815800	zmdc		3206	ERR	'zmc -m 1' exited abnormally, exit status 255	zmdc.pl	
2016-09-08 00:31:45.786730	zmc_m1		7607	ERR	Failed to pre-capture monitor 1 1666202996 (1/1)	zmc.cpp	315
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Hacked Yi Home Camera Support

Post by knight-of-ni »

Change your source type from Remote to ffmpeg.
Note that this will change some of the fields on the source tab, so will need to re-enter the rtsp url.

Will need to see your log files again if that does not completely solve the issue.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
jcconnell
Posts: 10
Joined: Thu Sep 08, 2016 9:13 pm

Re: Hacked Yi Home Camera Support

Post by jcconnell »

Continued fiddling after posting those pictures and logs. I noticed I get a different result if I use an analysis FPS of 30. I've also tried your suggestion of ffmpeg. Below are the logs and pictures for everything. The pictures are in order:

http://imgur.com/a/FQIX0

Code: Select all

Date/Time
Component	Server	PID	Level	Message	File	Line
2016-09-09 14:46:23.625556	zmc_m1		9719	INF	Attached_Garage: 97000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:21.241777	zmc_m1		9719	INF	Attached_Garage: 96000 - Capturing at 333.33 fps	zm_monitor.cpp	3116
2016-09-09 14:46:18.812351	zmc_m1		9719	INF	Attached_Garage: 95000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:16.525714	zmc_m1		9719	INF	Attached_Garage: 94000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:15.481326	zmc_m1		9719	INF	Attached_Garage: 93000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:15.098791	zmc_m1		9724	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:46:15.098290	zmc_m1		9724	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:46:15.097352	zmc_m1		9724	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:46:14.426111	zmc_m1		9719	INF	Attached_Garage: 92000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:13.365377	zmc_m1		9719	INF	Attached_Garage: 91000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:12.323603	zmc_m1		9719	INF	Attached_Garage: 90000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:11.269263	zmc_m1		9719	INF	Attached_Garage: 89000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:10.214731	zmc_m1		9719	INF	Attached_Garage: 88000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:09.149125	zmc_m1		9719	INF	Attached_Garage: 87000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:08.093346	zmc_m1		9719	INF	Attached_Garage: 86000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:08.039386	zmc_m3		9596	INF	Monitor-3: 6000 - Capturing at 19.23 fps	zm_monitor.cpp	3116
2016-09-09 14:46:07.036609	zmc_m1		9719	INF	Attached_Garage: 85000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:05.990353	zmc_m1		9719	INF	Attached_Garage: 84000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:04.943222	zmc_m1		9719	INF	Attached_Garage: 83000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:04.049279	zmc_m1		9724	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:46:04.048282	zmc_m1		9724	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:46:04.046974	zmc_m1		9724	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:46:03.893640	zmc_m1		9719	INF	Attached_Garage: 82000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:02.846288	zmc_m1		9719	INF	Attached_Garage: 81000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:01.802497	zmc_m1		9719	INF	Attached_Garage: 80000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:46:00.754602	zmc_m1		9719	INF	Attached_Garage: 79000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:59.711748	zmc_m1		9719	INF	Attached_Garage: 78000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:58.661926	zmc_m1		9719	INF	Attached_Garage: 77000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:57.614563	zmc_m1		9719	INF	Attached_Garage: 76000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:56.561710	zmc_m1		9719	INF	Attached_Garage: 75000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:55.508077	zmc_m1		9719	INF	Attached_Garage: 74000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:54.470540	zmc_m1		9719	INF	Attached_Garage: 73000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:53.428186	zmc_m1		9719	INF	Attached_Garage: 72000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:53.107301	zmc_m1		9724	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:45:53.106522	zmc_m1		9724	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:45:53.105463	zmc_m1		9724	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:45:52.367740	zmc_m1		9719	INF	Attached_Garage: 71000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:51.323366	zmc_m1		9719	INF	Attached_Garage: 70000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:50.271956	zmc_m1		9719	INF	Attached_Garage: 69000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:49.224771	zmc_m1		9719	INF	Attached_Garage: 68000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:48.163594	zmc_m1		9719	INF	Attached_Garage: 67000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:47.007973	zmc_m1		9719	INF	Attached_Garage: 66000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:45.834307	zmc_m1		9719	INF	Attached_Garage: 65000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:44.680529	zmc_m1		9719	INF	Attached_Garage: 64000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:43.446747	zmc_m1		9719	INF	Attached_Garage: 63000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:42.301597	zmc_m1		9719	INF	Attached_Garage: 62000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:42.036901	zmc_m1		9724	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:45:42.036080	zmc_m1		9724	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:45:42.034860	zmc_m1		9724	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:45:41.093677	zmc_m1		9719	INF	Attached_Garage: 61000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:39.926102	zmc_m1		9719	INF	Attached_Garage: 60000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:38.758795	zmc_m1		9719	INF	Attached_Garage: 59000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:37.544373	zmc_m1		9719	INF	Attached_Garage: 58000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:36.304355	zmc_m1		9719	INF	Attached_Garage: 57000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:35.248729	zmc_m1		9719	INF	Attached_Garage: 56000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:34.194864	zmc_m1		9719	INF	Attached_Garage: 55000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:33.126890	zmc_m1		9719	INF	Attached_Garage: 54000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:32.070234	zmc_m1		9719	INF	Attached_Garage: 53000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:31.069325	zmc_m1		9724	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:45:31.068606	zmc_m1		9724	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:45:31.067503	zmc_m1		9724	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:45:31.016781	zmc_m1		9719	INF	Attached_Garage: 52000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:29.965100	zmc_m1		9719	INF	Attached_Garage: 51000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:28.917704	zmc_m1		9719	INF	Attached_Garage: 50000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:27.849188	zmc_m1		9719	INF	Attached_Garage: 49000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:26.788427	zmc_m1		9719	INF	Attached_Garage: 48000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:25.727164	zmc_m1		9719	INF	Attached_Garage: 47000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:24.689640	zmc_m1		9719	INF	Attached_Garage: 46000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:23.636508	zmc_m1		9719	INF	Attached_Garage: 45000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:22.593774	zmc_m1		9719	INF	Attached_Garage: 44000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:21.529634	zmc_m1		9719	INF	Attached_Garage: 43000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:20.488228	zmc_m1		9719	INF	Attached_Garage: 42000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:20.021535	zmc_m1		9724	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:45:20.020891	zmc_m1		9724	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:45:20.019846	zmc_m1		9724	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:45:19.418852	zmc_m1		9719	INF	Attached_Garage: 41000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:18.368430	zmc_m1		9719	INF	Attached_Garage: 40000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:17.317898	zmc_m1		9719	INF	Attached_Garage: 39000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:16.454243	zmc_m3		9596	INF	Monitor-3: 5000 - Capturing at 19.23 fps	zm_monitor.cpp	3116
2016-09-09 14:45:16.261381	zmc_m1		9719	INF	Attached_Garage: 38000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:15.206832	zmc_m1		9719	INF	Attached_Garage: 37000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:14.160647	zmc_m1		9719	INF	Attached_Garage: 36000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:13.112021	zmc_m1		9719	INF	Attached_Garage: 35000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:12.066020	zmc_m1		9719	INF	Attached_Garage: 34000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:10.994737	zmc_m1		9719	INF	Attached_Garage: 33000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:10.247542	zms		9727	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-09-09 14:45:09.802395	zmc_m1		9719	INF	Attached_Garage: 32000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:09.051317	zmc_m1		9724	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:45:09.050709	zmc_m1		9724	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:45:09.049659	zmc_m1		9724	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:45:08.488683	zmc_m1		9719	INF	Attached_Garage: 31000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:06.995847	zmc_m1		9719	INF	Attached_Garage: 30000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:05.607066	zmc_m1		9719	INF	Attached_Garage: 29000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:03.208273	zmc_m1		9719	INF	Attached_Garage: 28000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:02.550792	web_php		9678	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 14:45:02.548262	web_php		9678	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 14:45:01.859628	zmc_m1		9719	INF	Attached_Garage: 27000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:45:00.812612	zmc_m1		9719	INF	Attached_Garage: 26000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:59.759871	zmc_m1		9719	INF	Attached_Garage: 25000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:58.718237	zmc_m1		9719	INF	Attached_Garage: 24000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:58.107149	zmc_m1		9724	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:44:58.106322	zmc_m1		9724	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:44:58.105321	zmc_m1		9724	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:44:57.653430	zmc_m1		9719	INF	Attached_Garage: 23000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:56.611364	zmc_m1		9719	INF	Attached_Garage: 22000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:55.549611	zmc_m1		9719	INF	Attached_Garage: 21000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:54.511603	zmc_m1		9719	INF	Attached_Garage: 20000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:53.439121	zmc_m1		9719	INF	Attached_Garage: 19000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:52.384701	zmc_m1		9719	INF	Attached_Garage: 18000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:51.328651	zmc_m1		9719	INF	Attached_Garage: 17000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:50.274129	zmc_m1		9719	INF	Attached_Garage: 16000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:49.228662	zmc_m1		9719	INF	Attached_Garage: 15000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:48.227564	zms		9725	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-09-09 14:44:47.021374	zmc_m1		9724	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:44:47.020506	zmc_m1		9724	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:44:47.019625	zmc_m1		9724	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:44:47.013714	zmc_m1		9719	INF	Attached_Garage: 14000 - Capturing at 200.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:42.227477	zmc_m1		9719	INF	Attached_Garage: 13000 - Capturing at 200.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:37.901049	zmc_m1		9719	INF	Attached_Garage: 12000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:37.591979	web_php		2917	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 14:44:37.590481	web_php		2917	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 14:44:36.795940	zmc_m1		9719	INF	Attached_Garage: 11000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:36.084597	zmc_m1		9724	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:44:36.084089	zmc_m1		9724	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:44:36.082958	zmc_m1		9724	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:44:35.642098	zmc_m1		9719	INF	Attached_Garage: 10000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:34.591090	zmc_m1		9719	INF	Attached_Garage: 9000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:33.517624	zmc_m1		9719	INF	Attached_Garage: 8000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:32.462030	zmc_m1		9719	INF	Attached_Garage: 7000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:31.414853	zmc_m1		9719	INF	Attached_Garage: 6000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:30.358212	zmc_m1		9719	INF	Attached_Garage: 5000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:29.313630	zmc_m1		9719	INF	Attached_Garage: 4000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:28.254003	zmc_m1		9719	INF	Attached_Garage: 3000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:27.219706	zmc_m1		9719	INF	Attached_Garage: 2000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:26.158127	zmc_m1		9719	INF	Attached_Garage: 1000 - Capturing at 83.33 fps	zm_monitor.cpp	3116
2016-09-09 14:44:25.036229	zmc_m1		9724	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:44:25.035092	zmc_m1		9719	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:44:25.033809	zmc_m1		9719	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:44:24.794375	zmc_m3		9596	INF	Monitor-3: 4000 - Capturing at 19.61 fps	zm_monitor.cpp	3116
2016-09-09 14:44:21.286988	zms		9722	ERR	Terminating, last frame sent time 1473446660.786858 secs more than maximum of 10.000000	zm_monitor.cpp	4192
2016-09-09 14:44:20.536009	web_php		9529	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 14:44:20.532892	web_php		9529	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 14:44:14.614068	zmc_m1		9719	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:44:14.613281	zmc_m1		9719	INF	Priming capture from http://10.0.10.50:554/ch0_0.h264	zm_ffmpeg_camera.cpp	104
2016-09-09 14:44:14.611955	zmc_m1		9719	INF	Starting Capture version 1.30.0	zmc.cpp	250
2016-09-09 14:44:14.519470	zmdc		9719	INF	'zmc -m 1' started at 16/09/09 18:44:14	zmdc.pl	
2016-09-09 14:44:14.519440	zmdc		9201	INF	'zmc -m 1' starting at 16/09/09 18:44:14, pid = 9719	zmdc.pl	
2016-09-09 14:44:14.515360	zmdc		9201	INF	Starting pending process, zmc -m 1	zmdc.pl	
2016-09-09 14:44:14.413020	zmdc		9201	INF	'zmc -m 1' crashed, signal 8	zmdc.pl	
2016-09-09 14:44:14.401840	zmdc		9201	WAR	'zmc -m 1' has not stopped at 16/09/09 18:44:14. Sending KILL to pid 9698	zmdc.pl	
2016-09-09 14:44:08.400828	zmc_m1		9698	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-09-09 14:44:08.399170	zmdc		9201	INF	'zmc -m 1' sending stop to pid 9698 at 16/09/09 18:44:08	zmdc.pl	
2016-09-09 14:44:08.390860	zmdc		9201	WAR	Can't find process with command of 'zma -m 1'	zmdc.pl	
2016-09-09 14:44:08.198108	zmc_m1		9698	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:44:08.197025	zmc_m1		9698	INF	Priming capture from http://10.0.10.50:554/ch0_0.h264	zm_ffmpeg_camera.cpp	104
2016-09-09 14:44:08.196028	zmc_m1		9698	INF	Starting Capture version 1.30.0	zmc.cpp	250
2016-09-09 14:44:07.922530	zmwatch		9263	INF	Restarting capture daemon for Attached_Garage, shared data not valid	zmwatch.pl	
2016-09-09 14:44:07.908700	zmdc		9698	INF	'zmc -m 1' started at 16/09/09 18:44:07	zmdc.pl	
2016-09-09 14:44:07.908690	zmdc		9201	INF	'zmc -m 1' starting at 16/09/09 18:44:07, pid = 9698	zmdc.pl	
2016-09-09 14:44:07.632070	zmdc		9201	INF	'zmc -m 1' exited normally	zmdc.pl	
2016-09-09 14:44:07.595183	zmc_m1		9660	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-09-09 14:44:07.593390	zmdc		9201	INF	'zmc -m 1' sending stop to pid 9660 at 16/09/09 18:44:07	zmdc.pl	
2016-09-09 14:44:07.110360	zmdc		9201	WAR	Can't find process with command of 'zma -m 1'	zmdc.pl	
2016-09-09 14:44:06.008200	zmc_m1		9660	INF	Attached_Garage: 30000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:04.960662	zmc_m1		9660	INF	Attached_Garage: 29000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:03.915679	zmc_m1		9660	INF	Attached_Garage: 28000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:03.126641	zms		9680	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2016-09-09 14:44:01.924198	zmc_m1		9660	INF	Attached_Garage: 27000 - Capturing at 250.00 fps	zm_monitor.cpp	3116
2016-09-09 14:44:01.081488	zmc_m1		9679	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:44:01.030498	zmc_m1		9679	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:44:01.029119	zmc_m1		9679	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:43:57.927293	zmc_m1		9660	INF	Attached_Garage: 26000 - Capturing at 250.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:53.407064	zmc_m1		9660	INF	Attached_Garage: 25000 - Capturing at 250.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:50.088915	zmc_m1		9679	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:43:50.088043	zmc_m1		9679	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:43:50.086793	zmc_m1		9679	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:43:49.182651	zmc_m1		9660	INF	Attached_Garage: 24000 - Capturing at 250.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:45.329089	zmc_m1		9660	INF	Attached_Garage: 23000 - Capturing at 250.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:41.503762	zmc_m1		9660	INF	Attached_Garage: 22000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:41.484815	web_php		9615	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 14:43:41.482465	web_php		9615	WAR	ZM_OPT_CAMBOZOLA is enabled, but the system cannot find /usr/share/zoneminder/www/cambozola.jar	/usr/share/zoneminder/www/includes/functions.php	791
2016-09-09 14:43:40.437166	zmc_m1		9660	INF	Attached_Garage: 21000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:39.389896	zmc_m1		9660	INF	Attached_Garage: 20000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:39.103260	zmc_m1		9679	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:43:39.102672	zmc_m1		9679	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:43:39.101513	zmc_m1		9679	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
2016-09-09 14:43:38.330855	zmc_m1		9660	INF	Attached_Garage: 19000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:37.283169	zmc_m1		9660	INF	Attached_Garage: 18000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:36.225606	zmc_m1		9660	INF	Attached_Garage: 17000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:35.166248	zmc_m1		9660	INF	Attached_Garage: 16000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:34.109214	zmc_m1		9660	INF	Attached_Garage: 15000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:33.200070	zmc_m3		9596	INF	Monitor-3: 3000 - Capturing at 19.23 fps	zm_monitor.cpp	3116
2016-09-09 14:43:33.056064	zmc_m1		9660	INF	Attached_Garage: 14000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:32.014555	zmc_m1		9660	INF	Attached_Garage: 13000 - Capturing at 500.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:30.963188	zmc_m1		9660	INF	Attached_Garage: 12000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:29.925345	zmc_m1		9660	INF	Attached_Garage: 11000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:28.883109	zmc_m1		9660	INF	Attached_Garage: 10000 - Capturing at 1000.00 fps	zm_monitor.cpp	3116
2016-09-09 14:43:28.063962	zmc_m1		9679	WAR	Unable to parse ffmpeg option 0 '', expecting key=value	zm_ffmpeg_camera.cpp	267
2016-09-09 14:43:28.063222	zmc_m1		9679	ERR	Unable to open input http://10.0.10.50:554/ch0_0.h264 due to: Success	zm_ffmpeg_camera.cpp	280
2016-09-09 14:43:28.062162	zmc_m1		9679	ERR	Open video took more than 10 seconds.	zm_ffmpeg_camera.cpp	452
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Hacked Yi Home Camera Support

Post by knight-of-ni »

Why are you trying to do this over http?
You should be using the exact same url you used when you successfully tested with vlc. e.g. rtsp://10.0.10.50:554/ch0_0.h264

On a slightly related note, I have a camera very similar to yours which I bought off ebay:
http://www.ebay.com/itm/IP-Camera-720p- ... SwwpdW5pRZ

Mine was onvif compliant so I was able to capture an rtsp stream with third party software w/o hacking the camera's firmware.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
jcconnell
Posts: 10
Joined: Thu Sep 08, 2016 9:13 pm

Re: Hacked Yi Home Camera Support

Post by jcconnell »

Awesome. Working perfect now thank you. Since you're using a similar camera, any settings I should investigate tweaking?

Not sure my camera is ONVIF compliant but I know the RTSP stream was disabled prior to hacking it. Here is one of the resources I used to research hacking mine: http://en.miui.com/thread-137413-1-1.html

Beyond the RTSP stream, the hack prevents the camera from communicating with any server I haven't authorized. When the factory OS was installed, it was sending information to Chinese servers regularly. Not sure if it was malicious, but now I don't have to worry about it. I can also set static IP, name servers, time zones, access via FTP, HTTP and serial. I put the cameras on a VLAN since the streams are unauthenticated. Now I can use ZM to monitor them remotely. I sincerely appreciate the help!
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Hacked Yi Home Camera Support

Post by knight-of-ni »

Yeah, I did notice the stupid thing always tried to contact some Chinese cloud server. Even when the camera and viewing device are on the local lan, you still need to be in contact with their cloud server for the supplied app to work with the camera.

I've got mine mounted in an rc model boat, connected to an isolated wifi network so it can't phone home. I'm using a generic onvif app on my android tablet to view the stream.

The cameras should work fine as configured, but note that you only need ~5 fps or so for general surveillance. If your cameras have the ability to lower the frame rate in the camera (mine does not), then that would be a good idea to save storage space and avoid issues where your recording hardware can't keep up.

That's neat that someone has figured out how to hack the firmware. I'll read the link you provided when I get home. The firewall I am behind at work is blocking access to it, but that is no surprise.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
jcconnell
Posts: 10
Joined: Thu Sep 08, 2016 9:13 pm

Re: Hacked Yi Home Camera Support

Post by jcconnell »

I'm not sure I have the ability to reduce the FPS but the streams stay at a steady 20FPS and it's not taxing the container too bad. The container was configured with 2 vCPUs and 2048GB of RAM. I'm surprised how well it runs with so little resources.

I have a question related to your camera - I noticed your's also supports local storage with the MicroSD card slot. Is it possible to make use of this local storage with ZoneMinder?
pakitorn
Posts: 1
Joined: Mon Apr 03, 2017 12:01 am

Re: Hacked Yi Home Camera Support

Post by pakitorn »

Hi, jcconnell,

I have the same problem like you: i have a hacked Yi Home camera and i can view streaming in VLC but not in ZM.

Could you upload the exactly screenshots with the good configuration that works fine in ZM with this camera?

Best Regards,
Pakitorn
jcconnell
Posts: 10
Joined: Thu Sep 08, 2016 9:13 pm

Re: Hacked Yi Home Camera Support

Post by jcconnell »

This should be everything you need here:

General Tab: https://i.imgur.com/woIb74r.png
Source Tab: https://i.imgur.com/CxKWy5T.png
sagil
Posts: 16
Joined: Sat Apr 15, 2017 9:50 am

Re: Hacked Yi Home Camera Support

Post by sagil »

I have tried configuring the same camera, but it looks a bit different (the "Remote Method" has different options)

It looks like the motion events are detected and the camera is successfully connected, but I cant see any image.
On VLC everything works great.

I have attached my configuration, I've tried using all 4 options for remote method but nothing works.
Attachments
Screenshot 2017-04-15 12.49.27.png
Screenshot 2017-04-15 12.49.27.png (109.02 KiB) Viewed 25484 times
Screenshot 2017-04-15 12.49.07.png
Screenshot 2017-04-15 12.49.07.png (108.73 KiB) Viewed 25484 times
sagil
Posts: 16
Joined: Sat Apr 15, 2017 9:50 am

Re: Hacked Yi Home Camera Support

Post by sagil »

thatguy wrote:
sagil wrote:I have tried configuring the same camera, but it looks a bit different (the "Remote Method" has different options)

It looks like the motion events are detected and the camera is successfully connected, but I cant see any image.
On VLC everything works great.

I have attached my configuration, I've tried using all 4 options for remote method but nothing works.
Make sure to set your resolution correctly. You will generally see a blue image if settings like that are incorrect. You can confirm your cameras details by using ffprobe.
The resolution looks OK. (1280x720)

Here is the ffprobe info, couldn't find anything wrong.

Code: Select all

ffprobe version 3.3 Copyright (c) 2007-2017 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Input #0, rtsp, from 'rtsp://192.168.0.150/ch0_0.h264':
  Metadata:
    title           : H.264 Program Stream, streamed by the LIVE555 Media Server
    comment         : ch0_0.h264
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720, 19.50 tbr, 90k tbn, 180k tbc
    Stream #0:1: Audio: aac (LC), 8000 Hz, stereo, fltp

[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=High
codec_type=video
codec_time_base=0/2
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=1280
height=720
coded_width=1280
coded_height=720
has_b_frames=0
sample_aspect_ratio=0:1
pix_fmt=yuv420p
level=31
color_range=N/A
color_space=unknown
color_transfer=unknown
color_primaries=unknown
chroma_location=left
field_order=progressive
timecode=N/A
refs=1
is_avc=false
nal_length_size=0
id=N/A
r_frame_rate=39/2
avg_frame_rate=0/0
time_base=1/90000
start_pts=4590
start_time=0.051000
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
[/STREAM]
[STREAM]
index=1
codec_name=aac
codec_long_name=AAC (Advanced Audio Coding)
profile=LC
codec_type=audio
codec_time_base=1/8000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=fltp
sample_rate=8000
channels=2
channel_layout=stereo
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/8000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
[/STREAM]
sagil
Posts: 16
Joined: Sat Apr 15, 2017 9:50 am

Re: Hacked Yi Home Camera Support

Post by sagil »

OK I got the issue,
I followed the installation instructions for version 1.29 and not 1.30 so I didn't do the PATH_ZMS part.
As I did this the CGI path was corrected and everything is working !
Thank you for your assistance !
jcconnell
Posts: 10
Joined: Thu Sep 08, 2016 9:13 pm

Re: Hacked Yi Home Camera Support

Post by jcconnell »

@sagil

I recently updated to 1.30.4 and now realize what you mentioned about the different settings screen. How has your experience been with 1.30 and could you share your configuration, including the PATH_ZMS?
Locked