EliasKotlyar / Xiaomi-Dafang-Hacks

4.19k stars 1k forks source link

Xiaofang 1S No RTSP H264 Server #503

Closed asecor closed 5 years ago

asecor commented 6 years ago

I just received the Xiaofang 1S. I flashed the CFW from https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/tree/master/hacks/cfw/xiaofang and then create the SD card as per instructions.

I also modified run.sh with the insmod from https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/292#issuecomment-388532247 which is now not causing the reboots I mentioned in https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/411#issuecomment-398843070 but the RTSP H264 Server service does not want to start.

Below is complete log since first boot after sdcard hack:

Content of v4l2rtspserver-master.log

================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
1970-01-01 08:00:16.679 (   0.007s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
1970-01-01 08:00:16.680 (   0.007s) [main thread     ]               main.cpp:446      0| USER=root
1970-01-01 08:00:16.680 (   0.007s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
1970-01-01 08:00:16.680 (   0.008s) [main thread     ]               main.cpp:446      0| SHLVL=2
1970-01-01 08:00:16.681 (   0.008s) [main thread     ]               main.cpp:446      0| HOME=/
1970-01-01 08:00:16.681 (   0.008s) [main thread     ]               main.cpp:446      0| OLDPWD=/sys/class/gpio
1970-01-01 08:00:16.681 (   0.008s) [main thread     ]               main.cpp:446      0| OPENSSL_CONF=/system/sdcard/config/openssl.cnf
1970-01-01 08:00:16.681 (   0.009s) [main thread     ]               main.cpp:446      0| TERM=vt102
1970-01-01 08:00:16.682 (   0.009s) [main thread     ]               main.cpp:446      0| PATH=/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
1970-01-01 08:00:16.682 (   0.009s) [main thread     ]               main.cpp:446      0| SHELL=/bin/sh
1970-01-01 08:00:16.682 (   0.009s) [main thread     ]               main.cpp:446      0| PWD=/sys/class/gpio/gpio77
1970-01-01 08:00:16.682 (   0.009s) [main thread     ]               main.cpp:446      0| rmem=15644K@0x30B9000
1970-01-01 08:00:16.683 (   0.010s) [main thread     ]               main.cpp:449      0| === end ===
1970-01-01 08:00:18.987 (   2.314s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

1970-01-01 08:00:18.991 (   2.318s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
1970-01-01 08:00:19.544 (   2.871s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
1970-01-01 08:00:19.545 (   2.872s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
1970-01-01 08:00:19.545 (   2.872s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
1970-01-01 08:00:19.572 (   2.899s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
1970-01-01 08:00:19.574 (   2.901s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
1970-01-01 08:00:20.599 (   3.926s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
1970-01-01 08:00:20.600 (   3.927s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
1970-01-01 08:00:20.600 (   3.927s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
1970-01-01 08:00:20.601 (   3.928s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
1970-01-01 08:00:20.608 (   3.935s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
1970-01-01 08:00:20.609 (   3.936s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
1970-01-01 08:00:20.609 (   3.936s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
1970-01-01 08:00:20.609 (   3.936s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
1970-01-01 08:00:20.609 (   3.936s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
1970-01-01 08:00:20.609 (   3.937s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
1970-01-01 08:00:20.610 (   3.937s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
1970-01-01 08:00:20.611 (   3.938s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 08:00:20.611 (   3.939s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
1970-01-01 08:00:20.612 (   3.939s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
1970-01-01 08:00:21.015 (   4.342s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
1970-01-01 08:00:21.016 (   4.343s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
1970-01-01 08:00:21.202 (   4.530s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 08:00:21.203 (   4.532s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 08:00:21.297 (   4.624s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 08:00:21.297 (   4.624s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 08:00:21.297 (   4.625s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 08:00:21.311 (   4.638s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
2018-06-21 00:13:32.056 (1529511195.383s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-21 00:13:32.059 (1529511195.386s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-21 00:13:32.059 (1529511195.387s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-21 00:13:34.095 (1529511197.422s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-21 00:13:34.097 (1529511197.424s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOff.sh returned:-1
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master -fMJPG   -E MP3:44100   
2018-06-21 00:14:57.202 (   0.010s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
2018-06-21 00:14:57.208 (   0.015s) [main thread     ]               main.cpp:446      0| GATEWAY_INTERFACE=CGI/1.1
2018-06-21 00:14:57.208 (   0.016s) [main thread     ]               main.cpp:446      0| HTTP_AUTHORIZATION=Basic cm9vdDppc21hcnQxMg==
2018-06-21 00:14:57.208 (   0.016s) [main thread     ]               main.cpp:446      0| REMOTE_USER=root
2018-06-21 00:14:57.209 (   0.016s) [main thread     ]               main.cpp:446      0| SSL_CIPHER=ECDHE-RSA-AES128-GCM-SHA256
2018-06-21 00:14:57.209 (   0.016s) [main thread     ]               main.cpp:446      0| HTTP_DNT=1
2018-06-21 00:14:57.209 (   0.017s) [main thread     ]               main.cpp:446      0| HTTP_X_REQUESTED_WITH=XMLHttpRequest
2018-06-21 00:14:57.209 (   0.017s) [main thread     ]               main.cpp:446      0| REMOTE_ADDR=192.168.178.2
2018-06-21 00:14:57.210 (   0.017s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib:/thirdlib:/system/lib
2018-06-21 00:14:57.210 (   0.017s) [main thread     ]               main.cpp:446      0| SHLVL=2
2018-06-21 00:14:57.210 (   0.018s) [main thread     ]               main.cpp:446      0| QUERY_STRING=cmd=start&script=rtsp-mjpeg
2018-06-21 00:14:57.210 (   0.018s) [main thread     ]               main.cpp:446      0| DOCUMENT_ROOT=/system/sdcard/www
2018-06-21 00:14:57.210 (   0.018s) [main thread     ]               main.cpp:446      0| REMOTE_PORT=14787
2018-06-21 00:14:57.211 (   0.018s) [main thread     ]               main.cpp:446      0| HTTP_USER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.25 Safari/537.36
2018-06-21 00:14:57.211 (   0.019s) [main thread     ]               main.cpp:446      0| AUTH_TYPE=Basic
2018-06-21 00:14:57.211 (   0.019s) [main thread     ]               main.cpp:446      0| HTTP_ACCEPT=*/*
2018-06-21 00:14:57.211 (   0.019s) [main thread     ]               main.cpp:446      0| CONTENT_LENGTH=0
2018-06-21 00:14:57.212 (   0.019s) [main thread     ]               main.cpp:446      0| SCRIPT_FILENAME=/system/sdcard/www/cgi-bin/scripts.cgi
2018-06-21 00:14:57.212 (   0.019s) [main thread     ]               main.cpp:446      0| HTTP_HOST=192.168.178.37
2018-06-21 00:14:57.212 (   0.020s) [main thread     ]               main.cpp:446      0| REQUEST_URI=/cgi-bin/scripts.cgi?cmd=start&script=rtsp-mjpeg
2018-06-21 00:14:57.212 (   0.020s) [main thread     ]               main.cpp:446      0| SERVER_SOFTWARE=lighttpd/1.4.50-devel-lighttpd-1.4.49-7-g26fb8d3e
2018-06-21 00:14:57.213 (   0.020s) [main thread     ]               main.cpp:446      0| REQUEST_SCHEME=https
2018-06-21 00:14:57.221 (   0.029s) [main thread     ]               main.cpp:446      0| HTTP_CONNECTION=keep-alive
2018-06-21 00:14:57.221 (   0.029s) [main thread     ]               main.cpp:446      0| HTTP_ACCEPT_LANGUAGE=en-GB,en;q=0.9,en-US;q=0.8,ro;q=0.7
2018-06-21 00:14:57.222 (   0.029s) [main thread     ]               main.cpp:446      0| HTTP_REFERER=https://192.168.178.37/
2018-06-21 00:14:57.222 (   0.029s) [main thread     ]               main.cpp:446      0| SERVER_PROTOCOL=HTTP/1.1
2018-06-21 00:14:57.222 (   0.030s) [main thread     ]               main.cpp:446      0| SSL_CIPHER_USEKEYSIZE=128
2018-06-21 00:14:57.222 (   0.030s) [main thread     ]               main.cpp:446      0| HTTP_ACCEPT_ENCODING=gzip, deflate, br
2018-06-21 00:14:57.222 (   0.030s) [main thread     ]               main.cpp:446      0| REDIRECT_STATUS=200
2018-06-21 00:14:57.223 (   0.031s) [main thread     ]               main.cpp:446      0| SSL_PROTOCOL=TLSv1.2
2018-06-21 00:14:57.223 (   0.031s) [main thread     ]               main.cpp:446      0| REQUEST_METHOD=GET
2018-06-21 00:14:57.223 (   0.031s) [main thread     ]               main.cpp:446      0| SERVER_ADDR=192.168.178.37
2018-06-21 00:14:57.224 (   0.031s) [main thread     ]               main.cpp:446      0| PWD=/system/sdcard/www/cgi-bin
2018-06-21 00:14:57.224 (   0.032s) [main thread     ]               main.cpp:446      0| HTTPS=on
2018-06-21 00:14:57.224 (   0.032s) [main thread     ]               main.cpp:446      0| SERVER_PORT=443
2018-06-21 00:14:57.224 (   0.032s) [main thread     ]               main.cpp:446      0| SCRIPT_NAME=/cgi-bin/scripts.cgi
2018-06-21 00:14:57.225 (   0.032s) [main thread     ]               main.cpp:446      0| SERVER_NAME=192.168.178.37
2018-06-21 00:14:57.225 (   0.032s) [main thread     ]               main.cpp:446      0| SSL_CIPHER_ALGKEYSIZE=128
2018-06-21 00:14:57.225 (   0.033s) [main thread     ]               main.cpp:449      0| === end ===
2018-06-21 00:14:59.624 (   2.432s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

2018-06-21 00:14:59.628 (   2.435s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
2018-06-21 00:15:00.131 (   2.939s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
2018-06-21 00:15:00.132 (   2.940s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
2018-06-21 00:15:00.132 (   2.940s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
2018-06-21 00:15:00.157 (   2.964s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
2018-06-21 00:15:00.158 (   2.966s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
2018-06-21 00:15:01.181 (   3.989s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
2018-06-21 00:15:01.182 (   3.989s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
2018-06-21 00:15:01.182 (   3.990s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
2018-06-21 00:15:01.183 (   3.991s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
2018-06-21 00:15:01.184 (   3.992s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
2018-06-21 00:15:01.184 (   3.992s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
2018-06-21 00:15:01.184 (   3.992s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
2018-06-21 00:15:01.185 (   3.992s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
2018-06-21 00:15:01.185 (   3.993s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
2018-06-21 00:15:01.185 (   3.993s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
2018-06-21 00:15:01.183 (   3.994s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
2018-06-21 00:15:01.190 (   3.998s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
2018-06-21 00:15:01.190 (   3.998s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
2018-06-21 00:15:01.191 (   3.999s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-21 00:15:01.191 (   3.999s) [DeviceSource    ]       DeviceSource.cpp:94     ERR| error:Success
2018-06-21 00:15:01.192 (   3.999s) [DeviceSource    ]       DeviceSource.cpp:99       0| end thread
2018-06-21 00:15:01.588 (   4.395s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
2018-06-21 00:15:01.589 (   4.396s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
2018-06-21 00:15:01.650 (   4.458s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-21 00:15:01.651 (   4.459s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-21 00:15:01.710 (   4.518s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
2018-06-21 00:15:01.711 (   4.519s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-21 00:15:01.711 (   4.519s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-21 00:15:01.712 (   4.519s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
2018-06-21 00:15:09.862 (   0.001s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
2018-06-21 00:15:09.862 (   0.002s) [main thread     ]               main.cpp:446      0| GATEWAY_INTERFACE=CGI/1.1
2018-06-21 00:15:09.862 (   0.002s) [main thread     ]               main.cpp:446      0| HTTP_AUTHORIZATION=Basic cm9vdDppc21hcnQxMg==
2018-06-21 00:15:09.880 (   0.019s) [main thread     ]               main.cpp:446      0| REMOTE_USER=root
2018-06-21 00:15:09.880 (   0.020s) [main thread     ]               main.cpp:446      0| SSL_CIPHER=ECDHE-RSA-AES128-GCM-SHA256
2018-06-21 00:15:09.881 (   0.020s) [main thread     ]               main.cpp:446      0| HTTP_DNT=1
2018-06-21 00:15:09.881 (   0.020s) [main thread     ]               main.cpp:446      0| HTTP_X_REQUESTED_WITH=XMLHttpRequest
2018-06-21 00:15:09.881 (   0.020s) [main thread     ]               main.cpp:446      0| REMOTE_ADDR=192.168.178.2
2018-06-21 00:15:09.881 (   0.021s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
2018-06-21 00:15:09.881 (   0.021s) [main thread     ]               main.cpp:446      0| SHLVL=2
2018-06-21 00:15:09.882 (   0.021s) [main thread     ]               main.cpp:446      0| QUERY_STRING=cmd=start&script=rtsp-h264
2018-06-21 00:15:09.882 (   0.021s) [main thread     ]               main.cpp:446      0| DOCUMENT_ROOT=/system/sdcard/www
2018-06-21 00:15:09.882 (   0.022s) [main thread     ]               main.cpp:446      0| REMOTE_PORT=14789
2018-06-21 00:15:09.882 (   0.022s) [main thread     ]               main.cpp:446      0| HTTP_USER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.25 Safari/537.36
2018-06-21 00:15:09.883 (   0.030s) [main thread     ]               main.cpp:446      0| AUTH_TYPE=Basic
2018-06-21 00:15:09.891 (   0.030s) [main thread     ]               main.cpp:446      0| HTTP_ACCEPT=*/*
2018-06-21 00:15:09.891 (   0.030s) [main thread     ]               main.cpp:446      0| CONTENT_LENGTH=0
2018-06-21 00:15:09.891 (   0.031s) [main thread     ]               main.cpp:446      0| SCRIPT_FILENAME=/system/sdcard/www/cgi-bin/scripts.cgi
2018-06-21 00:15:09.892 (   0.031s) [main thread     ]               main.cpp:446      0| HTTP_HOST=192.168.178.37
2018-06-21 00:15:09.892 (   0.031s) [main thread     ]               main.cpp:446      0| REQUEST_URI=/cgi-bin/scripts.cgi?cmd=start&script=rtsp-h264
2018-06-21 00:15:09.892 (   0.031s) [main thread     ]               main.cpp:446      0| SERVER_SOFTWARE=lighttpd/1.4.50-devel-lighttpd-1.4.49-7-g26fb8d3e
2018-06-21 00:15:09.892 (   0.032s) [main thread     ]               main.cpp:446      0| REQUEST_SCHEME=https
2018-06-21 00:15:09.892 (   0.032s) [main thread     ]               main.cpp:446      0| HTTP_CONNECTION=keep-alive
2018-06-21 00:15:09.893 (   0.032s) [main thread     ]               main.cpp:446      0| HTTP_ACCEPT_LANGUAGE=en-GB,en;q=0.9,en-US;q=0.8,ro;q=0.7
2018-06-21 00:15:09.893 (   0.033s) [main thread     ]               main.cpp:446      0| HTTP_REFERER=https://192.168.178.37/
2018-06-21 00:15:09.893 (   0.033s) [main thread     ]               main.cpp:446      0| SERVER_PROTOCOL=HTTP/1.1
2018-06-21 00:15:09.894 (   0.033s) [main thread     ]               main.cpp:446      0| SSL_CIPHER_USEKEYSIZE=128
2018-06-21 00:15:09.894 (   0.033s) [main thread     ]               main.cpp:446      0| HTTP_ACCEPT_ENCODING=gzip, deflate, br
2018-06-21 00:15:09.894 (   0.034s) [main thread     ]               main.cpp:446      0| REDIRECT_STATUS=200
2018-06-21 00:15:09.894 (   0.034s) [main thread     ]               main.cpp:446      0| SSL_PROTOCOL=TLSv1.2
2018-06-21 00:15:09.895 (   0.034s) [main thread     ]               main.cpp:446      0| REQUEST_METHOD=GET
2018-06-21 00:15:09.895 (   0.034s) [main thread     ]               main.cpp:446      0| SERVER_ADDR=192.168.178.37
2018-06-21 00:15:09.895 (   0.034s) [main thread     ]               main.cpp:446      0| PWD=/system/sdcard/www/cgi-bin
2018-06-21 00:15:09.895 (   0.035s) [main thread     ]               main.cpp:446      0| HTTPS=on
2018-06-21 00:15:09.896 (   0.035s) [main thread     ]               main.cpp:446      0| SERVER_PORT=443
2018-06-21 00:15:09.896 (   0.035s) [main thread     ]               main.cpp:446      0| SCRIPT_NAME=/cgi-bin/scripts.cgi
2018-06-21 00:15:09.896 (   0.035s) [main thread     ]               main.cpp:446      0| SERVER_NAME=192.168.178.37
2018-06-21 00:15:09.896 (   0.036s) [main thread     ]               main.cpp:446      0| SSL_CIPHER_ALGKEYSIZE=128
2018-06-21 00:15:09.896 (   0.036s) [main thread     ]               main.cpp:449      0| === end ===
2018-06-21 00:15:12.361 (   2.500s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

2018-06-21 00:15:12.365 (   2.504s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
2018-06-21 00:15:12.861 (   3.000s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
2018-06-21 00:15:12.861 (   3.001s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
2018-06-21 00:15:12.862 (   3.001s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
2018-06-21 00:15:12.886 (   3.025s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
2018-06-21 00:15:12.888 (   3.027s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
2018-06-21 00:15:13.911 (   4.050s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
2018-06-21 00:15:13.911 (   4.051s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
2018-06-21 00:15:13.912 (   4.051s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
2018-06-21 00:15:13.912 (   4.051s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
2018-06-21 00:15:13.914 (   4.054s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
2018-06-21 00:15:13.915 (   4.054s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
2018-06-21 00:15:13.915 (   4.054s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
2018-06-21 00:15:13.915 (   4.055s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
2018-06-21 00:15:13.915 (   4.055s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
2018-06-21 00:15:13.916 (   4.055s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
2018-06-21 00:15:13.916 (   4.055s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
2018-06-21 00:15:13.919 (   4.059s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
2018-06-21 00:15:13.920 (   4.059s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
2018-06-21 00:15:13.920 (   4.060s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-21 00:15:14.318 (   4.457s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
2018-06-21 00:15:14.319 (   4.458s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
2018-06-21 00:15:14.365 (   4.505s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-21 00:15:14.366 (   4.505s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-21 00:15:14.442 (   4.582s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
2018-06-21 00:15:14.443 (   4.582s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-21 00:15:14.444 (   4.583s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-21 00:15:14.444 (   4.583s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-21 00:15:29.511 (  19.650s) [DeviceSource    ]         ImpEncoder.cpp:1106   ERR| Polling stream timeout
2018-06-21 00:15:29.511 (  19.651s) [DeviceSource    ]       DeviceSource.cpp:94     ERR| error:Connection timed out
2018-06-21 00:15:29.512 (  19.651s) [DeviceSource    ]       DeviceSource.cpp:99       0| end thread
2018-06-21 00:15:31.148 (  21.287s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:15:33.150 (  23.290s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:15:35.153 (  25.292s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:15:37.155 (  27.295s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:15:38.000 (  28.139s) [ivsMoveDetection]         ImpEncoder.cpp:704    ERR| IMP_IVS_PollingResult(0,-1) failed
2018-06-21 00:15:39.158 (  29.297s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:17:39.314 ( 149.454s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:17:41.317 ( 151.456s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:17:43.322 ( 153.462s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:17:44.325 ( 154.464s) [update_thread   ]         ImpEncoder.cpp:508      0| Deactivate motion
2018-06-21 00:17:45.326 ( 155.465s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:17:47.329 ( 157.468s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:17:49.331 ( 159.470s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:17:51.334 ( 161.473s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:17:53.336 ( 163.476s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:17:55.339 ( 165.478s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:18:57.422 ( 227.561s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:30:20.503 ( 910.642s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:30:22.505 ( 912.645s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-21 00:30:24.509 ( 914.649s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
1970-01-01 08:00:20.274 (   0.007s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
1970-01-01 08:00:20.275 (   0.007s) [main thread     ]               main.cpp:446      0| USER=root
1970-01-01 08:00:20.275 (   0.007s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
1970-01-01 08:00:20.275 (   0.008s) [main thread     ]               main.cpp:446      0| SHLVL=2
1970-01-01 08:00:20.276 (   0.008s) [main thread     ]               main.cpp:446      0| HOME=/
1970-01-01 08:00:20.276 (   0.008s) [main thread     ]               main.cpp:446      0| OLDPWD=/sys/class/gpio
1970-01-01 08:00:20.276 (   0.008s) [main thread     ]               main.cpp:446      0| TERM=vt102
1970-01-01 08:00:20.276 (   0.009s) [main thread     ]               main.cpp:446      0| PATH=/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
1970-01-01 08:00:20.276 (   0.009s) [main thread     ]               main.cpp:446      0| SHELL=/bin/sh
1970-01-01 08:00:20.277 (   0.009s) [main thread     ]               main.cpp:446      0| PWD=/sys/class/gpio/gpio77
1970-01-01 08:00:20.277 (   0.009s) [main thread     ]               main.cpp:446      0| rmem=15644K@0x30B9000
1970-01-01 08:00:20.277 (   0.009s) [main thread     ]               main.cpp:449      0| === end ===
1970-01-01 08:00:22.981 (   2.714s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

1970-01-01 08:00:22.985 (   2.717s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
1970-01-01 08:00:23.530 (   3.262s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
1970-01-01 08:00:23.531 (   3.263s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
1970-01-01 08:00:23.531 (   3.263s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
1970-01-01 08:00:23.557 (   3.289s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
1970-01-01 08:00:23.559 (   3.291s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
1970-01-01 08:00:24.574 (   4.306s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 08:00:24.582 (   4.314s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
1970-01-01 08:00:24.582 (   4.315s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
1970-01-01 08:00:24.583 (   4.315s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
1970-01-01 08:00:24.583 (   4.315s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
1970-01-01 08:00:24.583 (   4.315s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
1970-01-01 08:00:24.583 (   4.316s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
1970-01-01 08:00:24.583 (   4.316s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
1970-01-01 08:00:24.591 (   4.323s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
1970-01-01 08:00:24.591 (   4.324s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
1970-01-01 08:00:24.592 (   4.324s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
1970-01-01 08:00:24.592 (   4.324s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
1970-01-01 08:00:24.598 (   4.330s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
1970-01-01 08:00:24.598 (   4.331s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
1970-01-01 08:00:25.015 (   4.747s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
1970-01-01 08:00:25.015 (   4.748s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
1970-01-01 08:00:25.204 (   4.936s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 08:00:25.204 (   4.937s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 08:00:25.292 (   5.024s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 08:00:25.292 (   5.025s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 08:00:25.293 (   5.025s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 08:00:25.305 (   5.037s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://0.0.0.0:8554/unicast"
1970-01-01 08:01:31.164 (  70.896s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOn.sh
1970-01-01 08:01:31.167 (  70.900s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOn.sh returned:-1
1970-01-01 08:01:31.168 (  70.900s) [ivsMoveDetection]         ImpEncoder.cpp:752      0| Detect !!
1970-01-01 08:01:33.217 (  72.949s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOff.sh
1970-01-01 08:01:33.231 (  72.964s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-21 00:53:51.341 (1529513611.074s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-21 00:53:51.344 (1529513611.076s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-21 00:53:51.344 (1529513611.077s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-21 00:53:53.406 (1529513613.139s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-21 00:53:53.418 (1529513613.150s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-21 00:54:08.708 (1529513628.440s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-21 00:54:08.710 (1529513628.442s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-21 00:54:08.721 (1529513628.453s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-21 00:54:10.804 (1529513630.537s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-21 00:54:10.807 (1529513630.540s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-21 00:54:12.846 (1529513632.578s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-21 00:54:12.851 (1529513632.583s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-21 00:54:12.851 (1529513632.584s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-21 00:54:14.954 (1529513634.687s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-21 00:54:14.957 (1529513634.689s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-21 00:54:21.206 (1529513640.938s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-21 00:54:21.208 (1529513640.941s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-21 00:54:21.226 (1529513640.958s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-21 00:54:23.305 (1529513643.038s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-21 00:54:23.308 (1529513643.040s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-21 00:54:25.384 (1529513645.117s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-21 00:54:25.387 (1529513645.119s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-21 00:54:25.387 (1529513645.120s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-21 00:54:27.464 (1529513647.197s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-21 00:54:27.472 (1529513647.204s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-21 00:54:29.527 (1529513649.259s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-21 00:54:29.539 (1529513649.271s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-21 00:54:29.540 (1529513649.272s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-21 00:54:31.608 (1529513651.340s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-21 00:54:31.620 (1529513651.357s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-21 00:54:33.713 (1529513653.445s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-21 00:54:33.716 (1529513653.448s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-21 00:54:33.716 (1529513653.448s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-21 00:54:35.878 (1529513655.610s) [DeviceSource    ]         ImpEncoder.cpp:1106   Polling stream timeout
2018-06-21 00:54:36.025 (1529513655.757s) [DeviceSource    ]       DeviceSource.cpp:94     error:Connection timed out
2018-06-21 00:54:36.025 (1529513655.758s) [DeviceSource    ]       DeviceSource.cpp:99     end thread
2018-06-21 00:54:37.169 (1529513656.902s) [update_thread   ]         ImpEncoder.cpp:1041   Polling stream timeout
2018-06-21 00:54:39.172 (1529513658.905s) [update_thread   ]         ImpEncoder.cpp:1041   Polling stream timeout
2018-06-21 00:54:41.175 (1529513660.907s) [update_thread   ]         ImpEncoder.cpp:1041   Polling stream timeout
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
1970-01-01 08:00:15.034 (   0.007s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
1970-01-01 08:00:15.035 (   0.007s) [main thread     ]               main.cpp:446      0| USER=root
1970-01-01 08:00:15.035 (   0.007s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
1970-01-01 08:00:15.035 (   0.008s) [main thread     ]               main.cpp:446      0| SHLVL=2
1970-01-01 08:00:15.036 (   0.008s) [main thread     ]               main.cpp:446      0| HOME=/
1970-01-01 08:00:15.036 (   0.008s) [main thread     ]               main.cpp:446      0| OLDPWD=/sys/class/gpio
1970-01-01 08:00:15.036 (   0.008s) [main thread     ]               main.cpp:446      0| TERM=vt102
1970-01-01 08:00:15.036 (   0.009s) [main thread     ]               main.cpp:446      0| PATH=/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
1970-01-01 08:00:15.037 (   0.009s) [main thread     ]               main.cpp:446      0| SHELL=/bin/sh
1970-01-01 08:00:15.037 (   0.009s) [main thread     ]               main.cpp:446      0| PWD=/sys/class/gpio/gpio77
1970-01-01 08:00:15.037 (   0.009s) [main thread     ]               main.cpp:446      0| rmem=15644K@0x30B9000
1970-01-01 08:00:15.037 (   0.010s) [main thread     ]               main.cpp:449      0| === end ===
1970-01-01 08:00:17.341 (   2.313s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

1970-01-01 08:00:17.344 (   2.316s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
1970-01-01 08:00:17.889 (   2.862s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
1970-01-01 08:00:17.890 (   2.862s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
1970-01-01 08:00:17.891 (   2.863s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
1970-01-01 08:00:17.916 (   2.889s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
1970-01-01 08:00:17.918 (   2.891s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
1970-01-01 08:00:18.934 (   3.906s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 08:00:18.940 (   3.913s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
1970-01-01 08:00:18.941 (   3.913s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
1970-01-01 08:00:18.941 (   3.913s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
1970-01-01 08:00:18.941 (   3.914s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
1970-01-01 08:00:18.942 (   3.914s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
1970-01-01 08:00:18.942 (   3.914s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
1970-01-01 08:00:18.942 (   3.914s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
1970-01-01 08:00:18.951 (   3.923s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
1970-01-01 08:00:18.952 (   3.924s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
1970-01-01 08:00:18.952 (   3.924s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
1970-01-01 08:00:18.952 (   3.925s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
1970-01-01 08:00:18.967 (   3.940s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
1970-01-01 08:00:18.968 (   3.940s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
1970-01-01 08:00:19.355 (   4.327s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
1970-01-01 08:00:19.356 (   4.328s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
1970-01-01 08:00:19.535 (   4.508s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 08:00:19.536 (   4.508s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 08:00:19.616 (   4.589s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 08:00:19.617 (   4.589s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 08:00:19.617 (   4.590s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 08:00:19.631 (   4.603s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
1970-01-01 08:00:41.617 (  26.589s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOn.sh
1970-01-01 08:00:41.628 (  26.600s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOn.sh returned:-1
1970-01-01 08:00:41.628 (  26.601s) [ivsMoveDetection]         ImpEncoder.cpp:752      0| Detect !!
1970-01-01 08:00:43.680 (  28.652s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOff.sh
1970-01-01 08:00:43.683 (  28.655s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOff.sh returned:-1
1970-01-01 08:00:45.726 (  30.698s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOn.sh
1970-01-01 08:00:45.728 (  30.701s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOn.sh returned:-1
1970-01-01 08:00:45.729 (  30.701s) [ivsMoveDetection]         ImpEncoder.cpp:752      0| Detect !!
1970-01-01 08:00:47.778 (  32.751s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOff.sh
1970-01-01 08:00:47.791 (  32.763s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOff.sh returned:-1
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
2018-06-21 01:00:32.657 (   0.007s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
2018-06-21 01:00:32.658 (   0.007s) [main thread     ]               main.cpp:446      0| USER=root
2018-06-21 01:00:32.658 (   0.007s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
2018-06-21 01:00:32.658 (   0.008s) [main thread     ]               main.cpp:446      0| SHLVL=2
2018-06-21 01:00:32.658 (   0.008s) [main thread     ]               main.cpp:446      0| HOME=/
2018-06-21 01:00:32.659 (   0.008s) [main thread     ]               main.cpp:446      0| OLDPWD=/sys/class/gpio
2018-06-21 01:00:32.659 (   0.008s) [main thread     ]               main.cpp:446      0| TERM=vt102
2018-06-21 01:00:32.659 (   0.009s) [main thread     ]               main.cpp:446      0| PATH=/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
2018-06-21 01:00:32.659 (   0.009s) [main thread     ]               main.cpp:446      0| SHELL=/bin/sh
2018-06-21 01:00:32.660 (   0.009s) [main thread     ]               main.cpp:446      0| PWD=/sys/class/gpio/gpio77
2018-06-21 01:00:32.660 (   0.009s) [main thread     ]               main.cpp:446      0| rmem=15644K@0x30B9000
2018-06-21 01:00:32.660 (   0.010s) [main thread     ]               main.cpp:449      0| === end ===
2018-06-21 01:00:34.964 (   2.313s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

2018-06-21 01:00:34.967 (   2.317s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
2018-06-21 01:00:35.512 (   2.862s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
2018-06-21 01:00:35.513 (   2.863s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
2018-06-21 01:00:35.513 (   2.863s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
2018-06-21 01:00:35.539 (   2.889s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
2018-06-21 01:00:35.541 (   2.891s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
2018-06-21 01:00:36.556 (   3.905s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-21 01:00:36.563 (   3.913s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
2018-06-21 01:00:36.564 (   3.913s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
2018-06-21 01:00:36.564 (   3.914s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
2018-06-21 01:00:36.564 (   3.914s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
2018-06-21 01:00:36.564 (   3.914s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
2018-06-21 01:00:36.565 (   3.914s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
2018-06-21 01:00:36.565 (   3.914s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
2018-06-21 01:00:36.574 (   3.923s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
2018-06-21 01:00:36.574 (   3.924s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
2018-06-21 01:00:36.574 (   3.924s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
2018-06-21 01:00:36.575 (   3.924s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
2018-06-21 01:00:36.590 (   3.940s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
2018-06-21 01:00:36.591 (   3.940s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
2018-06-21 01:00:36.975 (   4.324s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
2018-06-21 01:00:36.976 (   4.325s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
2018-06-21 01:00:37.157 (   4.506s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-21 01:00:37.157 (   4.507s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-21 01:00:37.345 (   4.695s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-21 01:00:37.346 (   4.695s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-21 01:00:37.346 (   4.696s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-21 01:00:37.357 (   4.707s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
2018-06-21 01:00:46.997 (  14.346s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-21 01:00:47.000 (  14.349s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-21 01:00:47.000 (  14.350s) [ivsMoveDetection]         ImpEncoder.cpp:752      0| Detect !!
2018-06-21 01:00:49.066 (  16.415s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-21 01:00:49.068 (  16.418s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-21 01:01:03.346 (  30.696s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-21 01:01:03.351 (  30.701s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-21 01:01:03.352 (  30.701s) [ivsMoveDetection]         ImpEncoder.cpp:752      0| Detect !!
2018-06-21 01:01:05.396 (  32.745s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-21 01:01:05.401 (  32.750s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-21 01:01:07.465 (  34.815s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-21 01:01:07.468 (  34.817s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-21 01:01:07.468 (  34.818s) [ivsMoveDetection]         ImpEncoder.cpp:752      0| Detect !!
2018-06-21 01:01:09.508 (  36.857s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-21 01:01:09.510 (  36.860s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOff.sh returned:-1
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
2018-06-21 01:23:48.073 (   0.007s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
2018-06-21 01:23:48.073 (   0.007s) [main thread     ]               main.cpp:446      0| GATEWAY_INTERFACE=CGI/1.1
2018-06-21 01:23:48.074 (   0.007s) [main thread     ]               main.cpp:446      0| HTTP_AUTHORIZATION=Basic cm9vdDppc21hcnQxMg==
2018-06-21 01:23:48.074 (   0.008s) [main thread     ]               main.cpp:446      0| REMOTE_USER=root
2018-06-21 01:23:48.074 (   0.008s) [main thread     ]               main.cpp:446      0| SSL_CIPHER=ECDHE-RSA-AES128-GCM-SHA256
2018-06-21 01:23:48.075 (   0.008s) [main thread     ]               main.cpp:446      0| HTTP_DNT=1
2018-06-21 01:23:48.075 (   0.008s) [main thread     ]               main.cpp:446      0| HTTP_X_REQUESTED_WITH=XMLHttpRequest
2018-06-21 01:23:48.075 (   0.009s) [main thread     ]               main.cpp:446      0| REMOTE_ADDR=192.168.178.2
2018-06-21 01:23:48.075 (   0.009s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
2018-06-21 01:23:48.076 (   0.009s) [main thread     ]               main.cpp:446      0| SHLVL=2
2018-06-21 01:23:48.076 (   0.009s) [main thread     ]               main.cpp:446      0| QUERY_STRING=cmd=start&script=rtsp-h264
2018-06-21 01:23:48.076 (   0.010s) [main thread     ]               main.cpp:446      0| DOCUMENT_ROOT=/system/sdcard/www
2018-06-21 01:23:48.076 (   0.010s) [main thread     ]               main.cpp:446      0| REMOTE_PORT=15356
2018-06-21 01:23:48.077 (   0.010s) [main thread     ]               main.cpp:446      0| HTTP_USER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.25 Safari/537.36
2018-06-21 01:23:48.077 (   0.011s) [main thread     ]               main.cpp:446      0| AUTH_TYPE=Basic
2018-06-21 01:23:48.077 (   0.011s) [main thread     ]               main.cpp:446      0| HTTP_ACCEPT=*/*
2018-06-21 01:23:48.077 (   0.011s) [main thread     ]               main.cpp:446      0| CONTENT_LENGTH=0
2018-06-21 01:23:48.078 (   0.011s) [main thread     ]               main.cpp:446      0| SCRIPT_FILENAME=/system/sdcard/www/cgi-bin/scripts.cgi
2018-06-21 01:23:48.078 (   0.012s) [main thread     ]               main.cpp:446      0| HTTP_HOST=192.168.178.37
2018-06-21 01:23:48.078 (   0.012s) [main thread     ]               main.cpp:446      0| REQUEST_URI=/cgi-bin/scripts.cgi?cmd=start&script=rtsp-h264
2018-06-21 01:23:48.078 (   0.012s) [main thread     ]               main.cpp:446      0| SERVER_SOFTWARE=lighttpd/1.4.50-devel-lighttpd-1.4.49-7-g26fb8d3e
2018-06-21 01:23:48.079 (   0.012s) [main thread     ]               main.cpp:446      0| REQUEST_SCHEME=https
2018-06-21 01:23:48.079 (   0.013s) [main thread     ]               main.cpp:446      0| HTTP_CONNECTION=keep-alive
2018-06-21 01:23:48.079 (   0.013s) [main thread     ]               main.cpp:446      0| HTTP_ACCEPT_LANGUAGE=en-GB,en;q=0.9,en-US;q=0.8,ro;q=0.7
2018-06-21 01:23:48.080 (   0.013s) [main thread     ]               main.cpp:446      0| HTTP_REFERER=https://192.168.178.37/
2018-06-21 01:23:48.080 (   0.013s) [main thread     ]               main.cpp:446      0| SERVER_PROTOCOL=HTTP/1.1
2018-06-21 01:23:48.080 (   0.014s) [main thread     ]               main.cpp:446      0| SSL_CIPHER_USEKEYSIZE=128
2018-06-21 01:23:48.080 (   0.014s) [main thread     ]               main.cpp:446      0| HTTP_ACCEPT_ENCODING=gzip, deflate, br
2018-06-21 01:23:48.081 (   0.014s) [main thread     ]               main.cpp:446      0| REDIRECT_STATUS=200
2018-06-21 01:23:48.081 (   0.014s) [main thread     ]               main.cpp:446      0| SSL_PROTOCOL=TLSv1.2
2018-06-21 01:23:48.081 (   0.015s) [main thread     ]               main.cpp:446      0| REQUEST_METHOD=GET
2018-06-21 01:23:48.081 (   0.015s) [main thread     ]               main.cpp:446      0| SERVER_ADDR=192.168.178.37
2018-06-21 01:23:48.082 (   0.015s) [main thread     ]               main.cpp:446      0| PWD=/system/sdcard/www/cgi-bin
2018-06-21 01:23:48.082 (   0.015s) [main thread     ]               main.cpp:446      0| HTTPS=on
2018-06-21 01:23:48.082 (   0.016s) [main thread     ]               main.cpp:446      0| SERVER_PORT=443
2018-06-21 01:23:48.082 (   0.016s) [main thread     ]               main.cpp:446      0| SCRIPT_NAME=/cgi-bin/scripts.cgi
2018-06-21 01:23:48.083 (   0.016s) [main thread     ]               main.cpp:446      0| SERVER_NAME=192.168.178.37
2018-06-21 01:23:48.083 (   0.016s) [main thread     ]               main.cpp:446      0| SSL_CIPHER_ALGKEYSIZE=128
2018-06-21 01:23:48.083 (   0.017s) [main thread     ]               main.cpp:449      0| === end ===
2018-06-21 01:23:50.371 (   2.305s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

2018-06-21 01:23:50.375 (   2.308s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
2018-06-21 01:23:50.879 (   2.812s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
2018-06-21 01:23:50.880 (   2.813s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
2018-06-21 01:23:50.880 (   2.814s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
2018-06-21 01:23:50.904 (   2.838s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
2018-06-21 01:23:50.917 (   2.851s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
2018-06-21 01:23:51.932 (   3.865s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
2018-06-21 01:23:51.932 (   3.866s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
2018-06-21 01:23:51.933 (   3.866s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
2018-06-21 01:23:51.933 (   3.866s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
2018-06-21 01:23:51.933 (   3.867s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
2018-06-21 01:23:51.933 (   3.867s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
2018-06-21 01:23:51.933 (   3.867s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
2018-06-21 01:23:51.934 (   3.868s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-21 01:23:51.939 (   3.873s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
2018-06-21 01:23:51.939 (   3.873s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
2018-06-21 01:23:51.940 (   3.874s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
2018-06-21 01:23:51.940 (   3.874s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
2018-06-21 01:23:51.946 (   3.879s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
2018-06-21 01:23:51.957 (   3.891s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
2018-06-21 01:23:52.352 (   4.285s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
2018-06-21 01:23:52.358 (   4.292s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
2018-06-21 01:23:52.532 (   4.465s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-21 01:23:52.532 (   4.466s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-21 01:23:52.660 (   4.593s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-21 01:23:52.660 (   4.594s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-21 01:23:52.661 (   4.594s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-21 01:23:52.682 (   4.616s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
2018-06-21 01:24:03.063 (  14.997s) [update_thread   ]         ImpEncoder.cpp:508      0| Deactivate motion
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
2018-06-21 05:09:30.157 (   0.007s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
2018-06-21 05:09:30.157 (   0.007s) [main thread     ]               main.cpp:446      0| USER=root
2018-06-21 05:09:30.158 (   0.007s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
2018-06-21 05:09:30.158 (   0.008s) [main thread     ]               main.cpp:446      0| SHLVL=2
2018-06-21 05:09:30.158 (   0.008s) [main thread     ]               main.cpp:446      0| HOME=/
2018-06-21 05:09:30.158 (   0.008s) [main thread     ]               main.cpp:446      0| OLDPWD=/sys/class/gpio
2018-06-21 05:09:30.158 (   0.008s) [main thread     ]               main.cpp:446      0| TERM=vt102
2018-06-21 05:09:30.159 (   0.009s) [main thread     ]               main.cpp:446      0| PATH=/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
2018-06-21 05:09:30.159 (   0.009s) [main thread     ]               main.cpp:446      0| SHELL=/bin/sh
2018-06-21 05:09:30.159 (   0.009s) [main thread     ]               main.cpp:446      0| PWD=/sys/class/gpio/gpio77
2018-06-21 05:09:30.159 (   0.009s) [main thread     ]               main.cpp:446      0| rmem=15644K@0x30B9000
2018-06-21 05:09:30.160 (   0.009s) [main thread     ]               main.cpp:449      0| === end ===
2018-06-21 05:09:32.527 (   2.377s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

2018-06-21 05:09:32.531 (   2.381s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
2018-06-21 05:09:33.077 (   2.927s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
2018-06-21 05:09:33.077 (   2.927s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
2018-06-21 05:09:33.078 (   2.928s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
2018-06-21 05:09:33.104 (   2.954s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
2018-06-21 05:09:33.107 (   2.956s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
2018-06-21 05:09:34.121 (   3.970s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-21 05:09:34.127 (   3.977s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
2018-06-21 05:09:34.128 (   3.978s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
2018-06-21 05:09:34.128 (   3.978s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
2018-06-21 05:09:34.128 (   3.978s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
2018-06-21 05:09:34.128 (   3.978s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
2018-06-21 05:09:34.129 (   3.978s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
2018-06-21 05:09:34.129 (   3.979s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
2018-06-21 05:09:34.134 (   3.984s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
2018-06-21 05:09:34.135 (   3.985s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
2018-06-21 05:09:34.135 (   3.985s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
2018-06-21 05:09:34.136 (   3.986s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
2018-06-21 05:09:34.154 (   4.004s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
2018-06-21 05:09:34.154 (   4.004s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
2018-06-21 05:09:34.540 (   4.390s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
2018-06-21 05:09:34.541 (   4.391s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
2018-06-21 05:09:34.714 (   4.564s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-21 05:09:34.715 (   4.565s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-21 05:09:34.804 (   4.654s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-21 05:09:34.804 (   4.654s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-21 05:09:34.805 (   4.655s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-21 05:09:34.816 (   4.666s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
2018-06-21 05:11:30.313 ( 120.163s) [update_thread   ]         ImpEncoder.cpp:508      0| Deactivate motion
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
2018-06-20 23:14:05.560 (   0.001s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
2018-06-20 23:14:05.560 (   0.002s) [main thread     ]               main.cpp:446      0| GATEWAY_INTERFACE=CGI/1.1
2018-06-20 23:14:05.560 (   0.002s) [main thread     ]               main.cpp:446      0| HTTP_AUTHORIZATION=Basic cm9vdDpQYXNzd29yZDE=
2018-06-20 23:14:05.561 (   0.002s) [main thread     ]               main.cpp:446      0| REMOTE_USER=root
2018-06-20 23:14:05.561 (   0.002s) [main thread     ]               main.cpp:446      0| SSL_CIPHER=ECDHE-RSA-AES128-GCM-SHA256
2018-06-20 23:14:05.561 (   0.003s) [main thread     ]               main.cpp:446      0| HTTP_DNT=1
2018-06-20 23:14:05.561 (   0.003s) [main thread     ]               main.cpp:446      0| REMOTE_ADDR=192.168.178.2
2018-06-20 23:14:05.562 (   0.003s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
2018-06-20 23:14:05.562 (   0.003s) [main thread     ]               main.cpp:446      0| SHLVL=2
2018-06-20 23:14:05.562 (   0.003s) [main thread     ]               main.cpp:446      0| QUERY_STRING=cmd=h264_start
2018-06-20 23:14:05.562 (   0.004s) [main thread     ]               main.cpp:446      0| DOCUMENT_ROOT=/system/sdcard/www
2018-06-20 23:14:05.563 (   0.004s) [main thread     ]               main.cpp:446      0| REMOTE_PORT=16200
2018-06-20 23:14:05.563 (   0.004s) [main thread     ]               main.cpp:446      0| HTTP_USER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.25 Safari/537.36
2018-06-20 23:14:05.563 (   0.004s) [main thread     ]               main.cpp:446      0| AUTH_TYPE=Basic
2018-06-20 23:14:05.563 (   0.005s) [main thread     ]               main.cpp:446      0| HTTP_ACCEPT=*/*
2018-06-20 23:14:05.563 (   0.005s) [main thread     ]               main.cpp:446      0| CONTENT_LENGTH=0
2018-06-20 23:14:05.564 (   0.005s) [main thread     ]               main.cpp:446      0| SCRIPT_FILENAME=/system/sdcard/www/cgi-bin/action.cgi
2018-06-20 23:14:05.564 (   0.005s) [main thread     ]               main.cpp:446      0| HTTP_HOST=192.168.178.37
2018-06-20 23:14:05.564 (   0.006s) [main thread     ]               main.cpp:446      0| REQUEST_URI=/cgi-bin/action.cgi?cmd=h264_start
2018-06-20 23:14:05.564 (   0.006s) [main thread     ]               main.cpp:446      0| SERVER_SOFTWARE=lighttpd/1.4.50-devel-lighttpd-1.4.49-7-g26fb8d3e
2018-06-20 23:14:05.565 (   0.006s) [main thread     ]               main.cpp:446      0| REQUEST_SCHEME=https
2018-06-20 23:14:05.565 (   0.006s) [main thread     ]               main.cpp:446      0| HTTP_CONNECTION=keep-alive
2018-06-20 23:14:05.565 (   0.007s) [main thread     ]               main.cpp:446      0| HTTP_ACCEPT_LANGUAGE=en-GB,en;q=0.9,en-US;q=0.8,ro;q=0.7
2018-06-20 23:14:05.565 (   0.007s) [main thread     ]               main.cpp:446      0| HTTP_REFERER=https://192.168.178.37/
2018-06-20 23:14:05.566 (   0.007s) [main thread     ]               main.cpp:446      0| SERVER_PROTOCOL=HTTP/1.1
2018-06-20 23:14:05.566 (   0.007s) [main thread     ]               main.cpp:446      0| SSL_CIPHER_USEKEYSIZE=128
2018-06-20 23:14:05.566 (   0.008s) [main thread     ]               main.cpp:446      0| HTTP_ACCEPT_ENCODING=gzip, deflate, br
2018-06-20 23:14:05.566 (   0.008s) [main thread     ]               main.cpp:446      0| REDIRECT_STATUS=200
2018-06-20 23:14:05.567 (   0.008s) [main thread     ]               main.cpp:446      0| SSL_PROTOCOL=TLSv1.2
2018-06-20 23:14:05.567 (   0.008s) [main thread     ]               main.cpp:446      0| REQUEST_METHOD=GET
2018-06-20 23:14:05.567 (   0.009s) [main thread     ]               main.cpp:446      0| SERVER_ADDR=192.168.178.37
2018-06-20 23:14:05.567 (   0.009s) [main thread     ]               main.cpp:446      0| PWD=/system/sdcard/www/cgi-bin
2018-06-20 23:14:05.568 (   0.009s) [main thread     ]               main.cpp:446      0| HTTPS=on
2018-06-20 23:14:05.568 (   0.009s) [main thread     ]               main.cpp:446      0| SERVER_PORT=443
2018-06-20 23:14:05.568 (   0.010s) [main thread     ]               main.cpp:446      0| SCRIPT_NAME=/cgi-bin/action.cgi
2018-06-20 23:14:05.568 (   0.010s) [main thread     ]               main.cpp:446      0| SERVER_NAME=192.168.178.37
2018-06-20 23:14:05.569 (   0.010s) [main thread     ]               main.cpp:446      0| SSL_CIPHER_ALGKEYSIZE=128
2018-06-20 23:14:05.569 (   0.010s) [main thread     ]               main.cpp:449      0| === end ===
2018-06-20 23:14:07.860 (   2.302s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

2018-06-20 23:14:07.864 (   2.305s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
2018-06-20 23:14:08.606 (   3.047s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
2018-06-20 23:14:08.607 (   3.048s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
2018-06-20 23:14:08.607 (   3.048s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
2018-06-20 23:14:08.631 (   3.073s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
2018-06-20 23:14:08.633 (   3.074s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
2018-06-20 23:14:09.653 (   4.095s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
2018-06-20 23:14:09.654 (   4.095s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
2018-06-20 23:14:09.654 (   4.096s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
2018-06-20 23:14:09.655 (   4.096s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
2018-06-20 23:14:09.657 (   4.099s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
2018-06-20 23:14:09.658 (   4.100s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
2018-06-20 23:14:09.658 (   4.100s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
2018-06-20 23:14:09.659 (   4.100s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
2018-06-20 23:14:09.659 (   4.100s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
2018-06-20 23:14:09.659 (   4.100s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
2018-06-20 23:14:09.659 (   4.101s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
2018-06-20 23:14:09.662 (   4.103s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
2018-06-20 23:14:09.662 (   4.104s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
2018-06-20 23:14:09.663 (   4.104s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-20 23:14:10.060 (   4.502s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
2018-06-20 23:14:10.061 (   4.503s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
2018-06-20 23:14:10.136 (   4.578s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-20 23:14:10.137 (   4.578s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-20 23:14:10.214 (   4.655s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
2018-06-20 23:14:10.214 (   4.656s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-20 23:14:10.215 (   4.656s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-20 23:14:10.215 (   4.657s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-20 23:14:21.314 (  15.756s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-20 23:14:21.323 (  15.764s) [main thread     ]ServerMediaSubsession.c:29       0| Creating H264 Source...
2018-06-20 23:14:21.334 (  15.776s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : video/H264
2018-06-20 23:14:21.347 (  15.789s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-20 23:14:21.348 (  15.789s) [main thread     ]ServerMediaSubsession.c:42       0| Creating normal Source...
2018-06-20 23:14:21.348 (  15.790s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : audio/MPEG
2018-06-20 23:14:21.373 (  15.815s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-20 23:14:21.374 (  15.815s) [main thread     ]ServerMediaSubsession.c:29       0| Creating H264 Source...
2018-06-20 23:14:21.374 (  15.816s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : video/H264
2018-06-20 23:14:21.387 (  15.828s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-20 23:14:21.387 (  15.829s) [main thread     ]ServerMediaSubsession.c:42       0| Creating normal Source...
2018-06-20 23:14:21.388 (  15.829s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : audio/MPEG
RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero!
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
2018-06-20 23:55:03.084 (   0.007s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
2018-06-20 23:55:03.084 (   0.007s) [main thread     ]               main.cpp:446      0| USER=root
2018-06-20 23:55:03.085 (   0.007s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
2018-06-20 23:55:03.085 (   0.008s) [main thread     ]               main.cpp:446      0| SHLVL=2
2018-06-20 23:55:03.085 (   0.008s) [main thread     ]               main.cpp:446      0| HOME=/
2018-06-20 23:55:03.085 (   0.008s) [main thread     ]               main.cpp:446      0| OLDPWD=/sys/class/gpio
2018-06-20 23:55:03.086 (   0.008s) [main thread     ]               main.cpp:446      0| TERM=vt102
2018-06-20 23:55:03.086 (   0.009s) [main thread     ]               main.cpp:446      0| PATH=/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
2018-06-20 23:55:03.086 (   0.009s) [main thread     ]               main.cpp:446      0| SHELL=/bin/sh
2018-06-20 23:55:03.086 (   0.009s) [main thread     ]               main.cpp:446      0| PWD=/sys/class/gpio/gpio77
2018-06-20 23:55:03.087 (   0.009s) [main thread     ]               main.cpp:446      0| rmem=15644K@0x30B9000
2018-06-20 23:55:03.087 (   0.010s) [main thread     ]               main.cpp:449      0| === end ===
2018-06-20 23:55:05.927 (   2.850s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

2018-06-20 23:55:05.931 (   2.854s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
2018-06-20 23:55:06.780 (   3.703s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
2018-06-20 23:55:06.781 (   3.704s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
2018-06-20 23:55:06.782 (   3.704s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
2018-06-20 23:55:06.835 (   3.758s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
2018-06-20 23:55:06.836 (   3.759s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
2018-06-20 23:55:07.857 (   4.780s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
2018-06-20 23:55:07.858 (   4.781s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
2018-06-20 23:55:07.858 (   4.781s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
2018-06-20 23:55:07.859 (   4.782s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
2018-06-20 23:55:07.865 (   4.788s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
2018-06-20 23:55:07.866 (   4.789s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
2018-06-20 23:55:07.866 (   4.789s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-20 23:55:07.869 (   4.792s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
2018-06-20 23:55:07.870 (   4.793s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
2018-06-20 23:55:07.870 (   4.793s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
2018-06-20 23:55:07.871 (   4.793s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
2018-06-20 23:55:07.871 (   4.794s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
2018-06-20 23:55:07.871 (   4.794s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
2018-06-20 23:55:07.871 (   4.794s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
2018-06-20 23:55:08.283 (   5.206s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
2018-06-20 23:55:08.284 (   5.207s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
2018-06-20 23:55:08.465 (   5.388s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-20 23:55:08.467 (   5.389s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-20 23:55:08.550 (   5.473s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-20 23:55:08.551 (   5.473s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-20 23:55:08.551 (   5.474s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-20 23:55:08.562 (   5.485s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
2018-06-20 23:55:29.158 (  26.081s) [update_thread   ]         ImpEncoder.cpp:409      0| Changed NIGHTVISION
2018-06-20 23:55:55.520 (  52.442s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-20 23:55:55.523 (  52.445s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-20 23:55:55.523 (  52.446s) [ivsMoveDetection]         ImpEncoder.cpp:752      0| Detect !!
2018-06-20 23:55:57.594 (  54.517s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-20 23:55:57.597 (  54.520s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-20 23:55:59.635 (  56.558s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-20 23:55:59.638 (  56.560s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-20 23:55:59.638 (  56.561s) [ivsMoveDetection]         ImpEncoder.cpp:752      0| Detect !!
2018-06-20 23:56:00.795 (  57.718s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-20 23:56:00.802 (  57.724s) [main thread     ]ServerMediaSubsession.c:29       0| Creating H264 Source...
2018-06-20 23:56:00.832 (  57.755s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : video/H264
2018-06-20 23:56:00.840 (  57.763s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-20 23:56:00.840 (  57.763s) [main thread     ]ServerMediaSubsession.c:42       0| Creating normal Source...
2018-06-20 23:56:00.840 (  57.763s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : audio/MPEG
2018-06-20 23:56:00.859 (  57.782s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-20 23:56:00.860 (  57.783s) [main thread     ]ServerMediaSubsession.c:29       0| Creating H264 Source...
2018-06-20 23:56:00.860 (  57.783s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : video/H264
2018-06-20 23:56:00.864 (  57.787s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-20 23:56:00.865 (  57.788s) [main thread     ]ServerMediaSubsession.c:42       0| Creating normal Source...
2018-06-20 23:56:00.872 (  57.795s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : audio/MPEG
RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero!
2018-06-20 23:56:01.763 (  58.686s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-20 23:56:01.766 (  58.689s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-20 23:56:14.354 (  71.276s) [DeviceSource    ]         ImpEncoder.cpp:1106   ERR| Polling stream timeout
2018-06-20 23:56:14.354 (  71.277s) [DeviceSource    ]       DeviceSource.cpp:94     ERR| error:Connection timed out
2018-06-20 23:56:14.354 (  71.277s) [DeviceSource    ]       DeviceSource.cpp:99       0| end thread
2018-06-20 23:56:15.850 (  72.772s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:17.853 (  74.776s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:19.855 (  76.778s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:21.858 (  78.781s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:22.000 (  78.923s) [ivsMoveDetection]         ImpEncoder.cpp:704    ERR| IMP_IVS_PollingResult(0,-1) failed
2018-06-20 23:56:23.868 (  80.791s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:25.871 (  82.794s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:27.874 (  84.796s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:29.876 (  86.799s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:31.879 (  88.802s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:33.882 (  90.805s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:35.884 (  92.807s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:37.887 (  94.810s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:39.890 (  96.813s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:41.893 (  98.816s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:43.896 ( 100.818s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:45.898 ( 102.821s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:47.901 ( 104.824s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:49.903 ( 106.826s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:51.906 ( 108.829s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:53.908 ( 110.831s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:55.911 ( 112.834s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:56.317 ( 113.240s) [main thread     ]       DeviceSource.cpp:110      0| V4L2DeviceSource::doStopGettingFrames
2018-06-20 23:56:56.318 ( 113.241s) [main thread     ]       DeviceSource.cpp:110      0| V4L2DeviceSource::doStopGettingFrames
2018-06-20 23:56:56.319 ( 113.241s) [main thread     ]       DeviceSource.cpp:110      0| V4L2DeviceSource::doStopGettingFrames
2018-06-20 23:56:56.319 ( 113.242s) [main thread     ]       DeviceSource.cpp:110      0| V4L2DeviceSource::doStopGettingFrames
2018-06-20 23:56:57.913 ( 114.836s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:56:59.916 ( 116.839s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:01.919 ( 118.842s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:03.921 ( 120.844s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:05.924 ( 122.847s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:07.926 ( 124.849s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:09.929 ( 126.852s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:11.931 ( 128.854s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:13.934 ( 130.856s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:15.936 ( 132.859s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:17.939 ( 134.861s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:19.286 ( 136.209s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-20 23:57:19.287 ( 136.209s) [main thread     ]ServerMediaSubsession.c:29       0| Creating H264 Source...
2018-06-20 23:57:19.287 ( 136.210s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : video/H264
2018-06-20 23:57:19.296 ( 136.219s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-20 23:57:19.297 ( 136.219s) [main thread     ]ServerMediaSubsession.c:42       0| Creating normal Source...
2018-06-20 23:57:19.297 ( 136.220s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : audio/MPEG
2018-06-20 23:57:19.941 ( 136.864s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:21.944 ( 138.866s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:22.508 ( 139.431s) [main thread     ]       DeviceSource.cpp:110      0| V4L2DeviceSource::doStopGettingFrames
2018-06-20 23:57:22.508 ( 139.431s) [main thread     ]       DeviceSource.cpp:110      0| V4L2DeviceSource::doStopGettingFrames
2018-06-20 23:57:22.509 ( 139.432s) [main thread     ]       DeviceSource.cpp:110      0| V4L2DeviceSource::doStopGettingFrames
2018-06-20 23:57:22.509 ( 139.432s) [main thread     ]       DeviceSource.cpp:110      0| V4L2DeviceSource::doStopGettingFrames
2018-06-20 23:57:23.946 ( 140.869s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:25.949 ( 142.872s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:27.952 ( 144.874s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:29.954 ( 146.877s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:31.957 ( 148.879s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:33.959 ( 150.882s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:35.962 ( 152.885s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:37.964 ( 154.887s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:39.967 ( 156.890s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:41.970 ( 158.892s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:43.972 ( 160.895s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:45.974 ( 162.897s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:46.093 ( 163.016s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-20 23:57:46.093 ( 163.016s) [main thread     ]ServerMediaSubsession.c:29       0| Creating H264 Source...
2018-06-20 23:57:46.093 ( 163.016s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : video/H264
2018-06-20 23:57:46.104 ( 163.027s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-20 23:57:46.105 ( 163.028s) [main thread     ]ServerMediaSubsession.c:42       0| Creating normal Source...
2018-06-20 23:57:46.105 ( 163.028s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : audio/MPEG
2018-06-20 23:57:47.977 ( 164.900s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:49.523 ( 166.446s) [main thread     ]       DeviceSource.cpp:110      0| V4L2DeviceSource::doStopGettingFrames
2018-06-20 23:57:49.524 ( 166.447s) [main thread     ]       DeviceSource.cpp:110      0| V4L2DeviceSource::doStopGettingFrames
2018-06-20 23:57:49.524 ( 166.447s) [main thread     ]       DeviceSource.cpp:110      0| V4L2DeviceSource::doStopGettingFrames
2018-06-20 23:57:49.525 ( 166.448s) [main thread     ]       DeviceSource.cpp:110      0| V4L2DeviceSource::doStopGettingFrames
2018-06-20 23:57:49.979 ( 166.902s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| Polling stream timeout
2018-06-20 23:57:51.982 ( 168.905s) [update_thread   ]         ImpEncoder.cpp:1041   ERR| �X�o�"E�����?G�VG�����o�N��X�o���X�o�-E�����?G�WG�N����o�bD�N��2�h�o�+%w�h�o�D�i�o�i�o�?G����C     

 $.' ",#(7),01444'9=82<.342��C         

2!!22222222222222222222222222222222222222222222222222���"��  
���}!1AQa"q2���#B��R��$3br�  
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz���������������������������������������������������������������������������   
���w!1AQaq"2�B����   #3R�br�
$4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz��������������������������������������������������������������������������?�UѼ+�5�*�X�oaI�k�v�wtd�N~^�������
xX��%���ح������(ʱ�Oξ�H?)o���~�}#��略wM�D��h����y��|K�����n��2���d�p��^�'�o�Z�����;I��l�,-��K�B��
��wg��4�w��wT����<24�n�'��ᇩ>���j:�|�o�I�˩�ڐ�ob���Aa� 0�A�jủ�O�c�W����֟v��sx7jv&[����0s⏉l�-~W��^��Mj�\
Dopeyr commented 6 years ago

I don't know the cause but this looks relevant:

2018-06-21 01:00:34.964 (   2.313s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

2018-06-21 01:00:34.967 (   2.317s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1

-1 == SENSOR_TYPE_INVALID

EliasKotlyar commented 6 years ago

Could you please run:

echo 1 >/proc/jz/sinfo/info cat /proc/jz/sinfo/info

and post the output here?

asecor commented 6 years ago

Hi @EliasKotlyar, thanks for checking. This is the output:

[root@S1:~]# echo 1 >/proc/jz/sinfo/info
[root@S1:~]# cat /proc/jz/sinfo/info
sensor not found

[root@S1:~]# ls /proc/
1/                    149/                  2/                    39/                   73/                   cpu-feature-override  iomem                 locks                 proc-pmon             tty/
10/                   15/                   20/                   4/                    8/                    cpuinfo               ioports               meminfo               scsi/                 uid_stat/
101/                  152/                  21/                   5/                    81/                   crypto                irq/                  misc                  self/                 uptime
102/                  17/                   22/                   56/                   9/                    devices               jz/                   modules               softirqs              version
103/                  170/                  23/                   6/                    98/                   diskstats             kallsyms              mounts                stat                  vmallocinfo
11/                   18/                   2517/                 60/                   buddyinfo             driver/               kcore                 mtd                   swaps                 vmstat
112/                  185/                  2518/                 62/                   bus/                  execdomains           kmsg                  net/                  sys/                  zoneinfo
12/                   188/                  3/                    64/                   cgroups               filesystems           kpagecount            pagetypeinfo          sysrq-trigger
13/                   19/                   37/                   66/                   cmdline               fs/                   kpageflags            partitions            sysvipc/
14/                   192/                  38/                   7/                    consoles              interrupts            loadavg               proc-exec             timer_list

[root@S1:~]# ls /proc/jz/
audio/  clock/  ddr/    debug/  gpio/   isp/    motor/  reset/  sinfo/  vic/

[root@S1:~]# ls /proc/jz/sinfo/info .
.ash_history      .busybox_aliases  .profile
asecor commented 6 years ago

If it's of any help, I have observed that after a restart (or start-up) when connected to the RTSP stream (via VLC in this case) after around 1:30 minutes the "rtsp-h264" services crashes and have to restart the whole camera to repeat the same issue:

Content of v4l2rtspserver-master.log

================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
1970-01-01 08:00:16.581 (   0.004s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
1970-01-01 08:00:16.582 (   0.005s) [main thread     ]               main.cpp:446      0| USER=root
1970-01-01 08:00:16.582 (   0.005s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
1970-01-01 08:00:16.583 (   0.005s) [main thread     ]               main.cpp:446      0| SHLVL=2
1970-01-01 08:00:16.583 (   0.005s) [main thread     ]               main.cpp:446      0| HOME=/
1970-01-01 08:00:16.583 (   0.006s) [main thread     ]               main.cpp:446      0| OLDPWD=/sys/class/gpio
1970-01-01 08:00:16.583 (   0.006s) [main thread     ]               main.cpp:446      0| OPENSSL_CONF=/system/sdcard/config/openssl.cnf
1970-01-01 08:00:16.584 (   0.006s) [main thread     ]               main.cpp:446      0| TERM=vt102
1970-01-01 08:00:16.584 (   0.006s) [main thread     ]               main.cpp:446      0| PATH=/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
1970-01-01 08:00:16.584 (   0.007s) [main thread     ]               main.cpp:446      0| SHELL=/bin/sh
1970-01-01 08:00:16.584 (   0.007s) [main thread     ]               main.cpp:446      0| PWD=/sys/class/gpio/gpio77
1970-01-01 08:00:16.584 (   0.007s) [main thread     ]               main.cpp:446      0| rmem=15644K@0x30B9000
1970-01-01 08:00:16.585 (   0.007s) [main thread     ]               main.cpp:449      0| === end ===
1970-01-01 08:00:18.882 (   2.304s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

1970-01-01 08:00:18.885 (   2.308s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
1970-01-01 08:00:19.410 (   2.833s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
1970-01-01 08:00:19.411 (   2.833s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
1970-01-01 08:00:19.411 (   2.834s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
1970-01-01 08:00:19.446 (   2.869s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
1970-01-01 08:00:19.448 (   2.870s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
1970-01-01 08:00:20.462 (   3.884s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 08:00:20.466 (   3.888s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
1970-01-01 08:00:20.466 (   3.889s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
1970-01-01 08:00:20.466 (   3.889s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
1970-01-01 08:00:20.467 (   3.889s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
1970-01-01 08:00:20.467 (   3.889s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
1970-01-01 08:00:20.467 (   3.890s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
1970-01-01 08:00:20.467 (   3.890s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
1970-01-01 08:00:20.485 (   3.907s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
1970-01-01 08:00:20.485 (   3.908s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
1970-01-01 08:00:20.485 (   3.908s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
1970-01-01 08:00:20.486 (   3.908s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
1970-01-01 08:00:20.493 (   3.915s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
1970-01-01 08:00:20.493 (   3.916s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
1970-01-01 08:00:20.886 (   4.308s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
1970-01-01 08:00:20.887 (   4.309s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
1970-01-01 08:00:21.059 (   4.482s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 08:00:21.060 (   4.483s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 08:00:21.165 (   4.588s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 08:00:21.166 (   4.588s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 08:00:21.166 (   4.588s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 08:00:21.172 (   4.595s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
1970-01-01 08:00:22.647 (   6.070s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOn.sh
1970-01-01 08:00:22.650 (   6.073s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOn.sh returned:-1
1970-01-01 08:00:22.650 (   6.073s) [ivsMoveDetection]         ImpEncoder.cpp:752      0| Detect !!
1970-01-01 08:00:24.712 (   8.135s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOff.sh
1970-01-01 08:00:24.715 (   8.138s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOff.sh returned:-1
1970-01-01 08:00:26.768 (  10.191s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOn.sh
1970-01-01 08:00:26.771 (  10.194s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOn.sh returned:-1
1970-01-01 08:00:26.772 (  10.194s) [ivsMoveDetection]         ImpEncoder.cpp:752      0| Detect !!
1970-01-01 08:00:28.847 (  12.269s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOff.sh
1970-01-01 08:00:28.851 (  12.273s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOff.sh returned:-1
1970-01-01 08:00:37.007 (  20.429s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOn.sh
1970-01-01 08:00:37.010 (  20.433s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOn.sh returned:-1
1970-01-01 08:00:37.010 (  20.433s) [ivsMoveDetection]         ImpEncoder.cpp:752      0| Detect !!
1970-01-01 08:00:39.045 (  22.468s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOff.sh
1970-01-01 08:00:39.048 (  22.470s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOff.sh returned:-1
1970-01-01 08:00:41.102 (  24.525s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOn.sh
1970-01-01 08:00:41.111 (  24.533s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOn.sh returned:-1
1970-01-01 08:00:41.111 (  24.534s) [ivsMoveDetection]         ImpEncoder.cpp:752      0| Detect !!
1970-01-01 08:00:43.170 (  26.592s) [ivsMoveDetection]         ImpEncoder.cpp:558      0| Will execute command /system/sdcard/scripts/detectionOff.sh
1970-01-01 08:00:43.172 (  26.595s) [ivsMoveDetection]         ImpEncoder.cpp:560      0| Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-24 23:51:17.130 (1529855460.553s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-24 23:51:17.130 (1529855460.553s) [main thread     ]ServerMediaSubsession.c:29     Creating H264 Source...
2018-06-24 23:51:17.137 (1529855460.560s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : video/H264
2018-06-24 23:51:17.143 (1529855460.566s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-24 23:51:17.143 (1529855460.566s) [main thread     ]ServerMediaSubsession.c:42     Creating normal Source...
2018-06-24 23:51:17.144 (1529855460.566s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : audio/MPEG
2018-06-24 23:51:17.160 (1529855460.582s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-24 23:51:17.160 (1529855460.583s) [main thread     ]ServerMediaSubsession.c:29     Creating H264 Source...
2018-06-24 23:51:17.161 (1529855460.583s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : video/H264
2018-06-24 23:51:17.168 (1529855460.591s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-24 23:51:17.169 (1529855460.592s) [main thread     ]ServerMediaSubsession.c:42     Creating normal Source...
2018-06-24 23:51:17.170 (1529855460.593s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : audio/MPEG
RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero!
2018-06-24 23:51:26.951 (1529855470.374s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-24 23:51:26.954 (1529855470.376s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-24 23:51:26.954 (1529855470.377s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-24 23:51:28.998 (1529855472.421s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-24 23:51:29.010 (1529855472.432s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-24 23:51:35.170 (1529855478.593s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-24 23:51:35.174 (1529855478.596s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-24 23:51:35.174 (1529855478.597s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-24 23:51:37.229 (1529855480.652s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-24 23:51:37.233 (1529855480.656s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-24 17:53:33.664 (1529855597.087s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-24 17:53:33.665 (1529855597.087s) [main thread     ]ServerMediaSubsession.c:29     Creating H264 Source...
2018-06-24 17:53:33.665 (1529855597.088s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : video/H264
2018-06-24 17:53:33.686 (1529855597.109s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-24 17:53:33.687 (1529855597.110s) [main thread     ]ServerMediaSubsession.c:42     Creating normal Source...
2018-06-24 17:53:33.688 (1529855597.111s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : audio/MPEG
RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero!
RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero!
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
2018-06-25 20:10:51.657 (   0.004s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
2018-06-25 20:10:51.658 (   0.005s) [main thread     ]               main.cpp:446      0| USER=root
2018-06-25 20:10:51.658 (   0.005s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
2018-06-25 20:10:51.659 (   0.005s) [main thread     ]               main.cpp:446      0| SHLVL=2
2018-06-25 20:10:51.659 (   0.005s) [main thread     ]               main.cpp:446      0| HOME=/
2018-06-25 20:10:51.659 (   0.006s) [main thread     ]               main.cpp:446      0| OLDPWD=/sys/class/gpio
2018-06-25 20:10:51.659 (   0.006s) [main thread     ]               main.cpp:446      0| TERM=vt102
2018-06-25 20:10:51.660 (   0.006s) [main thread     ]               main.cpp:446      0| PATH=/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
2018-06-25 20:10:51.660 (   0.006s) [main thread     ]               main.cpp:446      0| SHELL=/bin/sh
2018-06-25 20:10:51.660 (   0.007s) [main thread     ]               main.cpp:446      0| PWD=/sys/class/gpio/gpio77
2018-06-25 20:10:51.660 (   0.007s) [main thread     ]               main.cpp:446      0| rmem=15644K@0x30B9000
2018-06-25 20:10:51.660 (   0.007s) [main thread     ]               main.cpp:449      0| === end ===
2018-06-25 20:10:53.958 (   2.305s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

2018-06-25 20:10:53.962 (   2.308s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
2018-06-25 20:10:54.486 (   2.833s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
2018-06-25 20:10:54.487 (   2.833s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
2018-06-25 20:10:54.487 (   2.833s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
2018-06-25 20:10:54.512 (   2.859s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
2018-06-25 20:10:54.514 (   2.861s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
2018-06-25 20:10:55.529 (   3.876s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-25 20:10:55.532 (   3.878s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
2018-06-25 20:10:55.533 (   3.880s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
2018-06-25 20:10:55.533 (   3.880s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
2018-06-25 20:10:55.534 (   3.880s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
2018-06-25 20:10:55.534 (   3.881s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
2018-06-25 20:10:55.532 (   3.879s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
2018-06-25 20:10:55.536 (   3.883s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
2018-06-25 20:10:55.537 (   3.883s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
2018-06-25 20:10:55.537 (   3.884s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
2018-06-25 20:10:55.537 (   3.884s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
2018-06-25 20:10:55.537 (   3.884s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
2018-06-25 20:10:55.553 (   3.900s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
2018-06-25 20:10:55.554 (   3.900s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
2018-06-25 20:10:55.953 (   4.299s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
2018-06-25 20:10:55.954 (   4.301s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
2018-06-25 20:10:56.131 (   4.478s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-25 20:10:56.132 (   4.478s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-25 20:10:56.215 (   4.562s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-25 20:10:56.216 (   4.563s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-25 20:10:56.216 (   4.563s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-25 20:10:56.227 (   4.574s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
2018-06-25 20:12:25.643 (   0.004s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
2018-06-25 20:12:25.643 (   0.005s) [main thread     ]               main.cpp:446      0| USER=root
2018-06-25 20:12:25.644 (   0.005s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
2018-06-25 20:12:25.644 (   0.005s) [main thread     ]               main.cpp:446      0| SHLVL=2
2018-06-25 20:12:25.644 (   0.005s) [main thread     ]               main.cpp:446      0| HOME=/
2018-06-25 20:12:25.644 (   0.006s) [main thread     ]               main.cpp:446      0| OLDPWD=/sys/class/gpio
2018-06-25 20:12:25.645 (   0.006s) [main thread     ]               main.cpp:446      0| TERM=vt102
2018-06-25 20:12:25.645 (   0.006s) [main thread     ]               main.cpp:446      0| PATH=/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
2018-06-25 20:12:25.645 (   0.006s) [main thread     ]               main.cpp:446      0| SHELL=/bin/sh
2018-06-25 20:12:25.645 (   0.007s) [main thread     ]               main.cpp:446      0| PWD=/sys/class/gpio/gpio77
2018-06-25 20:12:25.646 (   0.007s) [main thread     ]               main.cpp:446      0| rmem=15644K@0x30B9000
2018-06-25 20:12:25.646 (   0.007s) [main thread     ]               main.cpp:449      0| === end ===
2018-06-25 20:12:27.944 (   2.305s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

2018-06-25 20:12:27.948 (   2.309s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
2018-06-25 20:12:28.471 (   2.833s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
2018-06-25 20:12:28.472 (   2.833s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
2018-06-25 20:12:28.472 (   2.834s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
2018-06-25 20:12:28.497 (   2.858s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
2018-06-25 20:12:28.499 (   2.860s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
2018-06-25 20:12:29.514 (   3.875s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-25 20:12:29.517 (   3.878s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
2018-06-25 20:12:29.518 (   3.879s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
2018-06-25 20:12:29.518 (   3.879s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
2018-06-25 20:12:29.518 (   3.879s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
2018-06-25 20:12:29.518 (   3.879s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
2018-06-25 20:12:29.519 (   3.880s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
2018-06-25 20:12:29.519 (   3.880s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
2018-06-25 20:12:29.519 (   3.881s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
2018-06-25 20:12:29.520 (   3.881s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
2018-06-25 20:12:29.520 (   3.881s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
2018-06-25 20:12:29.521 (   3.882s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
2018-06-25 20:12:29.530 (   3.891s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
2018-06-25 20:12:29.530 (   3.891s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
2018-06-25 20:12:29.936 (   4.297s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
2018-06-25 20:12:29.937 (   4.299s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
2018-06-25 20:12:30.114 (   4.476s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-25 20:12:30.115 (   4.476s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-25 20:12:30.201 (   4.562s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
2018-06-25 20:12:30.202 (   4.563s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
2018-06-25 20:12:30.202 (   4.563s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
2018-06-25 20:12:30.212 (   4.574s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
2018-06-25 20:13:32.988 (  67.349s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-25 20:13:32.988 (  67.349s) [main thread     ]ServerMediaSubsession.c:29       0| Creating H264 Source...
2018-06-25 20:13:32.989 (  67.350s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : video/H264
2018-06-25 20:13:32.990 (  67.351s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-25 20:13:32.990 (  67.351s) [main thread     ]ServerMediaSubsession.c:42       0| Creating normal Source...
2018-06-25 20:13:32.991 (  67.352s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : audio/MPEG
2018-06-25 20:13:32.997 (  67.358s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-25 20:13:32.997 (  67.358s) [main thread     ]ServerMediaSubsession.c:29       0| Creating H264 Source...
2018-06-25 20:13:32.997 (  67.359s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : video/H264
2018-06-25 20:13:33.002 (  67.363s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
2018-06-25 20:13:33.002 (  67.363s) [main thread     ]ServerMediaSubsession.c:42       0| Creating normal Source...
2018-06-25 20:13:33.003 (  67.364s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : audio/MPEG
RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero!
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
1970-01-01 02:00:14.763 (   0.004s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
1970-01-01 02:00:14.764 (   0.005s) [main thread     ]               main.cpp:446      0| USER=root
1970-01-01 02:00:14.764 (   0.005s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
1970-01-01 02:00:14.764 (   0.005s) [main thread     ]               main.cpp:446      0| SHLVL=2
1970-01-01 02:00:14.764 (   0.005s) [main thread     ]               main.cpp:446      0| HOME=/
1970-01-01 02:00:14.765 (   0.006s) [main thread     ]               main.cpp:446      0| OLDPWD=/sys/class/gpio
1970-01-01 02:00:14.765 (   0.006s) [main thread     ]               main.cpp:446      0| TERM=vt102
1970-01-01 02:00:14.765 (   0.006s) [main thread     ]               main.cpp:446      0| PATH=/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
1970-01-01 02:00:14.765 (   0.006s) [main thread     ]               main.cpp:446      0| SHELL=/bin/sh
1970-01-01 02:00:14.766 (   0.007s) [main thread     ]               main.cpp:446      0| PWD=/sys/class/gpio/gpio77
1970-01-01 02:00:14.766 (   0.007s) [main thread     ]               main.cpp:446      0| rmem=15644K@0x30B9000
1970-01-01 02:00:14.766 (   0.007s) [main thread     ]               main.cpp:449      0| === end ===
1970-01-01 02:00:17.065 (   2.306s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

1970-01-01 02:00:17.068 (   2.309s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
1970-01-01 02:00:17.592 (   2.833s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
1970-01-01 02:00:17.593 (   2.834s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
1970-01-01 02:00:17.593 (   2.834s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
1970-01-01 02:00:17.618 (   2.859s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
1970-01-01 02:00:17.620 (   2.861s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
1970-01-01 02:00:18.635 (   3.876s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 02:00:18.638 (   3.879s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
1970-01-01 02:00:18.639 (   3.880s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
1970-01-01 02:00:18.639 (   3.880s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
1970-01-01 02:00:18.640 (   3.881s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
1970-01-01 02:00:18.640 (   3.881s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
1970-01-01 02:00:18.638 (   3.879s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
1970-01-01 02:00:18.643 (   3.883s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
1970-01-01 02:00:18.643 (   3.884s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
1970-01-01 02:00:18.643 (   3.884s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
1970-01-01 02:00:18.643 (   3.884s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
1970-01-01 02:00:18.643 (   3.884s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
1970-01-01 02:00:18.651 (   3.892s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
1970-01-01 02:00:18.652 (   3.901s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
1970-01-01 02:00:19.053 (   4.294s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
1970-01-01 02:00:19.054 (   4.295s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
1970-01-01 02:00:19.235 (   4.475s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 02:00:19.235 (   4.476s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 02:00:19.320 (   4.561s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 02:00:19.321 (   4.562s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 02:00:19.321 (   4.562s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 02:00:19.338 (   4.579s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
1970-01-01 02:00:19.739 (   4.980s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
1970-01-01 02:00:19.739 (   4.980s) [main thread     ]ServerMediaSubsession.c:29       0| Creating H264 Source...
1970-01-01 02:00:19.740 (   4.981s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : video/H264
1970-01-01 02:00:19.741 (   4.982s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
1970-01-01 02:00:19.741 (   4.982s) [main thread     ]ServerMediaSubsession.c:42       0| Creating normal Source...
1970-01-01 02:00:19.742 (   4.983s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : audio/MPEG
1970-01-01 02:00:19.749 (   4.990s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
1970-01-01 02:00:19.750 (   4.991s) [main thread     ]ServerMediaSubsession.c:29       0| Creating H264 Source...
1970-01-01 02:00:19.750 (   4.991s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : video/H264
1970-01-01 02:00:19.760 (   5.001s) [main thread     ]ServerMediaSubsession.c:25       0| Creating Source...
1970-01-01 02:00:19.761 (   5.002s) [main thread     ]ServerMediaSubsession.c:42       0| Creating normal Source...
1970-01-01 02:00:19.762 (   5.003s) [main thread     ]ServerMediaSubsession.c:51       0| Creating Sink for format : audio/MPEG
RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero!
2018-06-25 20:21:18.690 (1529950863.931s) [main thread     ]       DeviceSource.cpp:110    V4L2DeviceSource::doStopGettingFrames
2018-06-25 20:21:18.691 (1529950863.932s) [main thread     ]       DeviceSource.cpp:110    V4L2DeviceSource::doStopGettingFrames
2018-06-25 20:21:18.691 (1529950863.932s) [main thread     ]       DeviceSource.cpp:110    V4L2DeviceSource::doStopGettingFrames
2018-06-25 20:22:49.091 (1529950954.332s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-25 20:22:49.091 (1529950954.332s) [main thread     ]ServerMediaSubsession.c:29     Creating H264 Source...
2018-06-25 20:22:49.092 (1529950954.332s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : video/H264
2018-06-25 20:22:49.098 (1529950954.339s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-25 20:22:49.098 (1529950954.339s) [main thread     ]ServerMediaSubsession.c:42     Creating normal Source...
2018-06-25 20:22:49.099 (1529950954.340s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : audio/MPEG
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
1970-01-01 02:00:14.841 (   0.004s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
1970-01-01 02:00:14.842 (   0.005s) [main thread     ]               main.cpp:446      0| USER=root
1970-01-01 02:00:14.842 (   0.005s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
1970-01-01 02:00:14.842 (   0.005s) [main thread     ]               main.cpp:446      0| SHLVL=2
1970-01-01 02:00:14.843 (   0.005s) [main thread     ]               main.cpp:446      0| HOME=/
1970-01-01 02:00:14.843 (   0.006s) [main thread     ]               main.cpp:446      0| OLDPWD=/sys/class/gpio
1970-01-01 02:00:14.843 (   0.006s) [main thread     ]               main.cpp:446      0| TERM=vt102
1970-01-01 02:00:14.843 (   0.006s) [main thread     ]               main.cpp:446      0| PATH=/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
1970-01-01 02:00:14.844 (   0.006s) [main thread     ]               main.cpp:446      0| SHELL=/bin/sh
1970-01-01 02:00:14.844 (   0.007s) [main thread     ]               main.cpp:446      0| PWD=/sys/class/gpio/gpio77
1970-01-01 02:00:14.844 (   0.007s) [main thread     ]               main.cpp:446      0| rmem=15644K@0x30B9000
1970-01-01 02:00:14.844 (   0.007s) [main thread     ]               main.cpp:449      0| === end ===
1970-01-01 02:00:17.143 (   2.306s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

1970-01-01 02:00:17.146 (   2.309s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
1970-01-01 02:00:17.670 (   2.833s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
1970-01-01 02:00:17.671 (   2.834s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
1970-01-01 02:00:17.671 (   2.834s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
1970-01-01 02:00:17.697 (   2.859s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
1970-01-01 02:00:17.699 (   2.862s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
1970-01-01 02:00:18.714 (   3.877s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 02:00:18.716 (   3.879s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
1970-01-01 02:00:18.717 (   3.880s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
1970-01-01 02:00:18.717 (   3.880s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
1970-01-01 02:00:18.718 (   3.880s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
1970-01-01 02:00:18.718 (   3.881s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
1970-01-01 02:00:18.718 (   3.881s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
1970-01-01 02:00:18.718 (   3.881s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
1970-01-01 02:00:18.719 (   3.882s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
1970-01-01 02:00:18.719 (   3.882s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
1970-01-01 02:00:18.720 (   3.883s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
1970-01-01 02:00:18.720 (   3.883s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
1970-01-01 02:00:18.729 (   3.892s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
1970-01-01 02:00:18.730 (   3.893s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
1970-01-01 02:00:19.134 (   4.297s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
1970-01-01 02:00:19.135 (   4.298s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
1970-01-01 02:00:19.317 (   4.480s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 02:00:19.318 (   4.481s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 02:00:19.416 (   4.579s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 02:00:19.417 (   4.580s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 02:00:19.417 (   4.580s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 02:00:19.423 (   4.586s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast"
2018-06-25 21:10:19.418 (1529953804.581s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-25 21:10:19.429 (1529953804.592s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-25 21:10:19.430 (1529953804.593s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-25 21:10:21.448 (1529953806.610s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-25 21:10:21.450 (1529953806.613s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-25 21:10:23.037 (1529953808.200s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-25 21:10:23.037 (1529953808.200s) [main thread     ]ServerMediaSubsession.c:29     Creating H264 Source...
2018-06-25 21:10:23.038 (1529953808.201s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : video/H264
2018-06-25 21:10:23.040 (1529953808.202s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-25 21:10:23.040 (1529953808.203s) [main thread     ]ServerMediaSubsession.c:42     Creating normal Source...
2018-06-25 21:10:23.054 (1529953808.217s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : audio/MPEG
2018-06-25 21:10:23.061 (1529953808.223s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-25 21:10:23.061 (1529953808.224s) [main thread     ]ServerMediaSubsession.c:29     Creating H264 Source...
2018-06-25 21:10:23.061 (1529953808.224s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : video/H264
2018-06-25 21:10:23.085 (1529953808.248s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-25 21:10:23.085 (1529953808.248s) [main thread     ]ServerMediaSubsession.c:42     Creating normal Source...
2018-06-25 21:10:23.086 (1529953808.249s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : audio/MPEG
RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero!
2018-06-25 21:12:51.351 (1529953956.514s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-25 21:12:51.357 (1529953956.520s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-25 21:12:51.357 (1529953956.520s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-25 21:12:53.388 (1529953958.551s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-25 21:12:53.393 (1529953958.555s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-25 21:12:55.443 (1529953960.606s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOn.sh
2018-06-25 21:12:55.452 (1529953960.615s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOn.sh returned:-1
2018-06-25 21:12:55.453 (1529953960.615s) [ivsMoveDetection]         ImpEncoder.cpp:752    Detect !!
2018-06-25 21:12:57.514 (1529953962.677s) [ivsMoveDetection]         ImpEncoder.cpp:558    Will execute command /system/sdcard/scripts/detectionOff.sh
2018-06-25 21:12:57.516 (1529953962.679s) [ivsMoveDetection]         ImpEncoder.cpp:560    Execute /system/sdcard/scripts/detectionOff.sh returned:-1
2018-06-25 21:15:48.010 (1529954133.173s) [main thread     ]       DeviceSource.cpp:110    V4L2DeviceSource::doStopGettingFrames
2018-06-25 21:15:48.019 (1529954133.182s) [main thread     ]       DeviceSource.cpp:110    V4L2DeviceSource::doStopGettingFrames
2018-06-25 21:15:48.020 (1529954133.183s) [main thread     ]       DeviceSource.cpp:110    V4L2DeviceSource::doStopGettingFrames
2018-06-25 21:15:48.020 (1529954133.183s) [main thread     ]       DeviceSource.cpp:110    V4L2DeviceSource::doStopGettingFrames
2018-06-25 21:16:48.034 (1529954193.197s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-25 21:16:48.035 (1529954193.198s) [main thread     ]ServerMediaSubsession.c:29     Creating H264 Source...
2018-06-25 21:16:48.044 (1529954193.207s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : video/H264
2018-06-25 21:16:48.048 (1529954193.211s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-25 21:16:48.048 (1529954193.211s) [main thread     ]ServerMediaSubsession.c:42     Creating normal Source...
2018-06-25 21:16:48.049 (1529954193.212s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : audio/MPEG
2018-06-25 21:19:37.941 (1529954363.104s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-25 21:19:37.942 (1529954363.104s) [main thread     ]ServerMediaSubsession.c:29     Creating H264 Source...
2018-06-25 21:19:37.942 (1529954363.105s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : video/H264
2018-06-25 21:19:37.959 (1529954363.122s) [main thread     ]ServerMediaSubsession.c:25     Creating Source...
2018-06-25 21:19:37.960 (1529954363.122s) [main thread     ]ServerMediaSubsession.c:42     Creating normal Source...
2018-06-25 21:19:37.961 (1529954363.124s) [main thread     ]ServerMediaSubsession.c:51     Creating Sink for format : audio/MPEG
RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero!
RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero!
================== START ===============
/system/sdcard/bin/v4l2rtspserver-master  -E MP3:44100   
1970-01-01 02:00:14.805 (   0.004s) [main thread     ]               main.cpp:443      0| === Dumping environment variables ===
1970-01-01 02:00:14.805 (   0.005s) [main thread     ]               main.cpp:446      0| USER=root
1970-01-01 02:00:14.806 (   0.005s) [main thread     ]               main.cpp:446      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
1970-01-01 02:00:14.806 (   0.005s) [main thread     ]               main.cpp:446      0| SHLVL=2
1970-01-01 02:00:14.806 (   0.005s) [main thread     ]               main.cpp:446      0| HOME=/
1970-01-01 02:00:14.806 (   0.006s) [main thread     ]               main.cpp:446      0| OLDPWD=/sys/class/gpio
1970-01-01 02:00:14.807 (   0.006s) [main thread     ]               main.cpp:446      0| TERM=vt102
1970-01-01 02:00:14.807 (   0.006s) [main thread     ]               main.cpp:446      0| PATH=/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
1970-01-01 02:00:14.807 (   0.006s) [main thread     ]               main.cpp:446      0| SHELL=/bin/sh
1970-01-01 02:00:14.807 (   0.006s) [main thread     ]               main.cpp:446      0| PWD=/sys/class/gpio/gpio77
1970-01-01 02:00:14.808 (   0.007s) [main thread     ]               main.cpp:446      0| rmem=15644K@0x30B9000
1970-01-01 02:00:14.808 (   0.007s) [main thread     ]               main.cpp:449      0| === end ===
1970-01-01 02:00:17.106 (   2.305s) [main thread     ]         ImpEncoder.cpp:1172   ERR| ##### sensor not found

1970-01-01 02:00:17.109 (   2.308s) [main thread     ]         ImpEncoder.cpp:1185     0| Found Sensor with ID:-1
1970-01-01 02:00:17.632 (   2.831s) [main thread     ]         ImpEncoder.cpp:1423     0| encoderMode: 2
1970-01-01 02:00:17.632 (   2.832s) [main thread     ]         ImpEncoder.cpp:1462     0| Using VBR mode.
1970-01-01 02:00:17.633 (   2.832s) [main thread     ]         ImpEncoder.cpp:1467     0| Set initial bitrate (from sharedmem) to 5000
i264e[info]: profile Constrained Baseline, level 3.1
1970-01-01 02:00:17.659 (   2.858s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 0,0,1279,36
1970-01-01 02:00:17.661 (   2.860s) [main thread     ]         ImpEncoder.cpp:123      0| OSD pos 1240,0,1279,39
1970-01-01 02:00:18.676 (   3.875s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 02:00:18.678 (   3.878s) [main thread     ]               main.cpp:557      0| Create ALSA Source.../dev/dsp
1970-01-01 02:00:18.679 (   3.878s) [main thread     ]        ALSACapture.cpp:94       0| Audio In GetPubAttr samplerate : 8000
1970-01-01 02:00:18.679 (   3.878s) [main thread     ]        ALSACapture.cpp:95       0| Audio In GetPubAttr   bitwidth : 16
1970-01-01 02:00:18.680 (   3.879s) [update_thread   ]         ImpEncoder.cpp:413      0| Attempt to changed Bitrate to 5000
1970-01-01 02:00:18.680 (   3.879s) [update_thread   ]         ImpEncoder.cpp:431      0| Setting VBR maxBitrate.
1970-01-01 02:00:18.681 (   3.880s) [update_thread   ]         ImpEncoder.cpp:511      0| Changed motion sensitivity=4
1970-01-01 02:00:18.681 (   3.880s) [update_thread   ]         ImpEncoder.cpp:652      0| Detection region= ((0,0)-(1279,719))
1970-01-01 02:00:18.683 (   3.882s) [main thread     ]        ALSACapture.cpp:96       0| Audio In GetPubAttr  soundmode : 1
1970-01-01 02:00:18.683 (   3.883s) [main thread     ]        ALSACapture.cpp:97       0| Audio In GetPubAttr     frmNum : 40
1970-01-01 02:00:18.684 (   3.883s) [main thread     ]        ALSACapture.cpp:98       0| Audio In GetPubAttr  numPerFrm : 1600
1970-01-01 02:00:18.684 (   3.883s) [main thread     ]        ALSACapture.cpp:99       0| Audio In GetPubAttr     chnCnt : 1
1970-01-01 02:00:18.692 (   3.891s) [update_thread   ]         ImpEncoder.cpp:516      0| Changed motion region
1970-01-01 02:00:18.692 (   3.891s) [update_thread   ]         ImpEncoder.cpp:524      0| Display motion OSD color=2
1970-01-01 02:00:19.085 (   4.284s) [main thread     ]        ALSACapture.cpp:126      0| Audio In GetChnParam usrFrmDepth : 20
1970-01-01 02:00:19.094 (   4.293s) [main thread     ]        ALSACapture.cpp:154      0| Audio In GetVol    vol : 70
1970-01-01 02:00:19.277 (   4.476s) [main thread     ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 02:00:19.277 (   4.477s) [main thread     ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 02:00:19.361 (   4.561s) [DeviceSource    ]       DeviceSource.cpp:91       0| begin thread
1970-01-01 02:00:19.362 (   4.561s) [DeviceSource    ]        ALSACapture.cpp:379      0| Enabled highfilter
1970-01-01 02:00:19.362 (   4.561s) [DeviceSource    ]        ALSACapture.cpp:396      0| NS Filter=1
1970-01-01 02:00:19.368 (   4.567s) [main thread     ]               main.cpp:152      0| Play this stream using the URL "rtsp://192.168.178.37:8554/unicast" 
tookus123 commented 6 years ago

Possible good news for Xiaofang 1s users that haven't been able to get rtsp working. Some Xiaofang 1s users don't have problems but for others like me, this is what i did.

Replace the ##Start Sensor section in run.sh with what i have below. @EliasKotlyar - The modules loaded are the same as the Dafang Classic/Wyzecam V2. Looks like there might be two versions of the Xiaofang 1s? One that uses sensor_jxf22 and one that uses sensor_jxf23? Thanks for the great work on this project.

## Start Sensor:
insmod /driver/tx-isp.ko isp_clk=100000000
insmod /driver/sensor_jxf22.ko data_interface=2 pwdn_gpio=-1 reset_gpio=18 sensor_gpio_func=0
insmod /system/sdcard/driver/sinfo.ko
asecor commented 6 years ago

@tookus123 - the existing run.sh already includes the modules you mention so why modify?

P.S. I have modified run.sh as suggested, but still no luck.

## Start Sensor:
insmod /driver/tx-isp.ko isp_clk=100000000
if [ -f /driver/sensor_jxf23.ko ]; then
  # Its a Xioafang 1S
  insmod /driver/sensor_jxf23.ko data_interface=2 pwdn_gpio=-1 reset_gpio=18 sensor_gpio_func=0
else
  # Its a Dafang Classic/Wyzecam V2
  insmod /driver/sensor_jxf22.ko data_interface=2 pwdn_gpio=-1 reset_gpio=18 sensor_gpio_func=0
fi
insmod /system/sdcard/driver/sinfo.ko
tookus123 commented 6 years ago

@asecor - Here's the problem that i run into with my Xiaofang 1S. Run.sh looks for /driver/sensor_jxf23.ko. If that file exists, it's detected as Xiaofang 1S and sensor_jxf23.ko is inserted.

if [ -f /driver/sensor_jxf23.ko ]; then
  # Its a Xioafang 1S
  insmod /driver/sensor_jxf23.ko data_interface=2 pwdn_gpio=-1 reset_gpio=18 sensor_gpio_func=0

When i do a ls of the /driver directory, i see both sensor_jxf23.ko and sensor_jxf22.ko listed. Because both modules are listed in the /driver directory, sensor_jxf23.ko is inserted.

[root@DAFANG:~]# ls /driver | grep sensor
sensor_jxf22.ko
sensor_jxf23.ko

Problem is, my Xiaofang 1S doesn't have jfx23 as the sensor. It has jxf22. By looking at dmesg, i can confirm jxf22 is detected on my Xiaofang 1S and it works when i modify run.sh to load sensor_jxf22.ko.

[root@DAFANG:~]# dmesg | grep jxf
[   18.542714] info: success sensor find : jxf22
[   18.582129] probe ok ------->jxf22
[   18.607987] -----jxf22_detect: 432 ret = 0, v = 0x0f
[   18.608403] -----jxf22_detect: 440 ret = 0, v = 0x22
[   18.608419] jxf22 0-0040: jxf22 chip found @ 0x40 (i2c0)
[   18.613967] tx_isp: Registered sensor subdevice jxf22 0-0040
[   19.157448] jxf22 stream on

In short, my Xiaofang 1S works just like a Dafang Classic/Wyzecam V2 as far as this sensor is concerned. This leads me to believe there are possibly 2 versions of the Xiaofang 1S using 2 different sensors. I also tried some of the fixes you did. I kept getting errors and Found Sensor with ID:-1. To get mine working all i did was download a fresh copy of firmware_mod and make the changes i mentioned to run.sh. Your issue may be different. On a fresh install, if you ssh in and run dmesg can you see anything about jxf22?

dmesg | grep jxf

mic159 commented 6 years ago

I also faced the same issue.

My Xiaofang 1S has a jxf22 camera, but it has both sensor_jxf23.ko AND sensor_jxf22.ko in /driver, so it selects the wrong one in run.sh. I had to edit run.sh to force it to the 22 variant.

asecor commented 6 years ago

@tookus123 - thanks for tips. Indeed my one looks to have the 23 sensor:

[root@DAFANG:~]# dmesg | grep jxf
[   16.656800] probe ok ------->jxf23
[   16.810038] -----jxf23_detect: 529 ret = 0, v = 0x0f
[   16.810463] -----jxf23_detect: 537 ret = 0, v = 0x23
[   16.810480] jxf23 0-0040: jxf23 chip found @ 0x40 (i2c0)
[   16.815978] tx_isp: Registered sensor subdevice jxf23 0-0040
[   17.105398] jxf23 stream on

I have forced the 23 in run.sh once more and if it doesn't hold I will try again with a fresh install:

## Start Sensor:
insmod /driver/tx-isp.ko isp_clk=100000000
insmod /driver/sensor_jxf23.ko data_interface=2 pwdn_gpio=-1 reset_gpio=18 sensor_gpio_func=0
insmod /system/sdcard/driver/sinfo.ko
mic159 commented 6 years ago

It appears the original software detects the sensor (maybe something on I2C?)

Here is some logs from the original software bootup:

--------------------------------------------------

xxq:begin to check the sensor type
[    8.342439]  sensor_read: addr=0xa value = 0xf
[    8.347433]  sensor_read: addr=0xb value = 0x22
[    8.412592]  sensor_read: addr=0xa value = 0xf
[    8.417592]  sensor_read: addr=0xb value = 0x22
[    8.422311] info: success sensor find : jxf22
##### sensor : jxf22
tookus123 commented 6 years ago

@asecor

Thanks for verifying the sensor. I guess there are two versions of the S1. You shouldn't need the modification i had to use. I'm not sure why you're getting the sensor error. At least you do get video. When i got the sensor error i couldn't get anything. Not even for a second.

I would definitely update to a newer version of the firmware_mod files. Just by looking at your logs i can tell we're both using different versions due to the line numbers.

(yours) main.cpp:443 0| === Dumping environment variables ===

(mine) main.cpp:449 0| === Dumping environment variables ===

Since you can get video but can't keep it running, i suggest going to Service, disable autorun for everything but rtsp-h264. Then go to Settings, set video to 640x360, bitrate 1000, framerate 10, SMART. Then go to audio and set audio format OFF. Reboot your camera. Go to camera controls and make sure the only things are ir-cut, blue led, and rtsp-h264. Now see if you can keep the video stream running. If it works, you can up the video to 960x540. If it still stays up then try adding in audio. Try PCM first. Reason for this is that the Xiaofang 1S doesn't have a lot of memory. If you're using too large a resolution or adding in audio, resource usage goes up. Sometimes it's too much for the 1S to handle. So start low and work you're way up.

asecor commented 6 years ago

Hi @tookus123

Thank you very much for the tips. I have implemented them (as well as the more recent suggestions in https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/563) but unfortunately it still reboots after 1-2 minutes.

Here are the full logs, maybe you can see something I haven't - https://pastebin.com/QEfzPDWw

jmtatsch commented 6 years ago

I would also guess that this is memory related so reduce image size. Verify via vlc that the image size really is reduced, there has been a bug where the changes weren't correctly applied. Also format you sdcard and start with a fresh repo checkout.

tookus123 commented 6 years ago

@asecor

I looked through your logs and compared to mine. Even though it detects and loads jxf23 like it should, and you can get video for a while, for some reason it can't detect the sensor name "info: failed sensor find". Same thing in v4l2rtspserver-master.log where it can't find the sensor name "ImpEncoder.cpp:1198 0| Found Sensor with ID:-1". If you have the very latest version (within the last 7 hours of this post) of Dafang Hacks, it will try and log the sensor name under /system/sdcard/log/startup.log. I'm guessing it still won't display jxf23 but you can try the new version and have a look. This is beyond my skill level but i believe it's the /system/sdcard/driver/sinfo.ko module that does this detection. Maybe @jmtatsch or @EliasKotlyar could give some more insight. I don't know for sure but i suspect this might be why v4l2rtspserver-master crashes.

Edit: In one of your logs, v4l2rtspserver-master ran for around 95 minutes. There were a lot of timeout errors. Are you connecting with vlc or another type of media player using the rtsp:// url? What happens if you just monitor from the default website interface with no external connections? Do you still get those timeout error? And how long will it stay up running this way?

Your Logs:

[   20.238301] error: sensor_read,172 ret = -5
[   20.242625]  sensor_read: addr=0x3008 value = 0x0
[   20.247469] err sensor read addr = 0x3008, value = 0x0
[   20.252780] info: failed sensor find
[   20.257018] misc sinfo_release
[   20.286610] set sensor gpio as PA-low-10bit
[   20.293416] probe ok ------->jxf23
[   20.444292] -----jxf23_detect: 529 ret = 0, v = 0x0f
[   20.444717] -----jxf23_detect: 537 ret = 0, v = 0x23
[   20.444733] jxf23 0-0040: jxf23 chip found @ 0x40 (i2c0)
[   20.450206] tx_isp: Registered sensor subdevice jxf23 0-0040
2018-07-10 01:53:04.097 (   2.374s) [main thread     ]         ImpEncoder.cpp:1185   ERR| ##### sensor not found
2018-07-10 01:53:04.100 (   2.377s) [main thread     ]         ImpEncoder.cpp:1198     0| Found Sensor with ID:-1

My Logs:

[   22.824120] error: sensor_read,172 ret = -5
[   22.828429]  sensor_read: addr=0x300a value = 0x0
[   22.833300] err sensor read addr = 0x300a, value = 0x0
[   22.898840]  sensor_read: addr=0xa value = 0xf
[   22.903845]  sensor_read: addr=0xb value = 0x22
[   22.908519] info: success sensor find : jxf22
[   22.913127] misc sinfo_release
[   22.945387] set sensor gpio as PA-low-10bit
[   22.952458] probe ok ------->jxf22
[   22.978329] -----jxf22_detect: 432 ret = 0, v = 0x0f
[   22.978747] -----jxf22_detect: 440 ret = 0, v = 0x22
[   22.978763] jxf22 0-0040: jxf22 chip found @ 0x40 (i2c0)
[   22.985476] tx_isp: Registered sensor subdevice jxf22 0-0040
2018-07-14 22:22:21.654 (   2.131s) [main thread     ]         ImpEncoder.cpp:1198     0| Found Sensor with ID:22
tomtoump commented 6 years ago

Any update on this? I cannot get RTSP to work with a similar log file as @asecor.

nobleking commented 6 years ago

Hi, I just figure out the issue of "sensor not found" on my Xiaofang 1s. The root cause is wrong sinfo.ko You must use /driver/sinfo.ko which is from cwf-1.0.bin. So, you need to flash it first. Then you can change in run.sh from insmod /system/sdcard/driver/sinfo.ko To insmod /driver/sinfo.ko

Reboot the cam. it should solve sensor not found issue.

tomtoump commented 6 years ago

Indeed it solves the issue! Did you manage to get RTSP working as well?

d-litvinov commented 6 years ago

It solved the "sensor not found" for me too. But I'm still getting "RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero!" on connecting to rtsp.

================== START =============== /system/sdcard/bin/v4l2rtspserver-master -fMJPG -W1280 -H720 -E MP3:16000:44100 -r 2 -U entrance-cctv-user:cMGCT3KUTkwKWSwGm63JCFzST8mAaY -P 8554 2018-10-06 00:38:16.994 ( 0.001s) [main thread ] main.cpp:450 0| === Dumping environment variables === 2018-10-06 00:38:16.995 ( 0.002s) [main thread ] main.cpp:453 0| GATEWAY_INTERFACE=CGI/1.1 2018-10-06 00:38:16.995 ( 0.002s) [main thread ] main.cpp:453 0| HTTP_AUTHORIZATION=Basic cm9vdDppc21hcnQxMg== 2018-10-06 00:38:16.996 ( 0.003s) [main thread ] main.cpp:453 0| REMOTE_USER=root 2018-10-06 00:38:16.996 ( 0.003s) [main thread ] main.cpp:453 0| SSL_CIPHER=ECDHE-RSA-AES256-GCM-SHA384 2018-10-06 00:38:16.996 ( 0.003s) [main thread ] main.cpp:453 0| HTTP_DNT=1 2018-10-06 00:38:16.996 ( 0.003s) [main thread ] main.cpp:453 0| HTTP_X_REQUESTED_WITH=XMLHttpRequest 2018-10-06 00:38:16.997 ( 0.004s) [main thread ] main.cpp:453 0| REMOTE_ADDR=192.168.77.100 2018-10-06 00:38:16.997 ( 0.004s) [main thread ] main.cpp:453 0| LD_LIBRARY_PATH=/system/sdcard/lib:/thirdlib:/system/lib 2018-10-06 00:38:16.997 ( 0.004s) [main thread ] main.cpp:453 0| SHLVL=2 2018-10-06 00:38:16.997 ( 0.004s) [main thread ] main.cpp:453 0| QUERY_STRING=cmd=start&script=rtsp-mjpeg 2018-10-06 00:38:16.998 ( 0.005s) [main thread ] main.cpp:453 0| DOCUMENT_ROOT=/system/sdcard/www 2018-10-06 00:38:16.998 ( 0.005s) [main thread ] main.cpp:453 0| REMOTE_PORT=52582 2018-10-06 00:38:16.998 ( 0.005s) [main thread ] main.cpp:453 0| HTTP_USER_AGENT=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15 2018-10-06 00:38:16.998 ( 0.005s) [main thread ] main.cpp:453 0| AUTH_TYPE=Basic 2018-10-06 00:38:16.999 ( 0.006s) [main thread ] main.cpp:453 0| HTTP_ACCEPT=/ 2018-10-06 00:38:16.999 ( 0.006s) [main thread ] main.cpp:453 0| CONTENT_LENGTH=0 2018-10-06 00:38:16.999 ( 0.006s) [main thread ] main.cpp:453 0| SCRIPT_FILENAME=/system/sdcard/www/cgi-bin/scripts.cgi 2018-10-06 00:38:16.999 ( 0.006s) [main thread ] main.cpp:453 0| HTTP_HOST=entrance-camera.lan 2018-10-06 00:38:17.000 ( 0.007s) [main thread ] main.cpp:453 0| REQUEST_URI=/cgi-bin/scripts.cgi?cmd=start&script=rtsp-mjpeg 2018-10-06 00:38:17.000 ( 0.007s) [main thread ] main.cpp:453 0| SERVER_SOFTWARE=lighttpd/1.4.50-devel-lighttpd-1.4.49-7-g26fb8d3e 2018-10-06 00:38:17.000 ( 0.007s) [main thread ] main.cpp:453 0| REQUEST_SCHEME=https 2018-10-06 00:38:17.000 ( 0.007s) [main thread ] main.cpp:453 0| HTTP_CONNECTION=keep-alive 2018-10-06 00:38:17.001 ( 0.007s) [main thread ] main.cpp:453 0| HTTP_ACCEPT_LANGUAGE=en-us 2018-10-06 00:38:17.001 ( 0.008s) [main thread ] main.cpp:453 0| HTTP_REFERER=https://entrance-camera.lan/ 2018-10-06 00:38:17.001 ( 0.008s) [main thread ] main.cpp:453 0| SERVER_PROTOCOL=HTTP/1.1 2018-10-06 00:38:17.001 ( 0.008s) [main thread ] main.cpp:453 0| SSL_CIPHER_USEKEYSIZE=256 2018-10-06 00:38:17.002 ( 0.008s) [main thread ] main.cpp:453 0| HTTP_ACCEPT_ENCODING=br, gzip, deflate 2018-10-06 00:38:17.002 ( 0.009s) [main thread ] main.cpp:453 0| REDIRECT_STATUS=200 2018-10-06 00:38:17.002 ( 0.009s) [main thread ] main.cpp:453 0| SSL_PROTOCOL=TLSv1.2 2018-10-06 00:38:17.002 ( 0.009s) [main thread ] main.cpp:453 0| REQUEST_METHOD=GET 2018-10-06 00:38:17.002 ( 0.009s) [main thread ] main.cpp:453 0| SERVER_ADDR=192.168.77.55 2018-10-06 00:38:17.003 ( 0.010s) [main thread ] main.cpp:453 0| PWD=/system/sdcard/www/cgi-bin 2018-10-06 00:38:17.003 ( 0.010s) [main thread ] main.cpp:453 0| HTTPS=on 2018-10-06 00:38:17.003 ( 0.010s) [main thread ] main.cpp:453 0| SERVER_PORT=443 2018-10-06 00:38:17.004 ( 0.010s) [main thread ] main.cpp:453 0| SCRIPT_NAME=/cgi-bin/scripts.cgi 2018-10-06 00:38:17.004 ( 0.011s) [main thread ] main.cpp:453 0| SERVER_NAME=entrance-camera.lan 2018-10-06 00:38:17.004 ( 0.011s) [main thread ] main.cpp:453 0| SSL_CIPHER_ALGKEYSIZE=256 2018-10-06 00:38:17.004 ( 0.011s) [main thread ] main.cpp:456 0| === end === 2018-10-06 00:38:17.006 ( 0.013s) [main thread ] ImpEncoder.cpp:687 0| Try to read extra configuration on /system/sdcard/bin/v4l2rtspserver-master.ini 2018-10-06 00:38:17.007 ( 0.014s) [main thread ] ImpEncoder.cpp:690 0| Can't load 'v4l2rstpserver.ini' 2018-10-06 00:38:17.092 ( 0.099s) [main thread ] ImpEncoder.cpp:997 0| Found Sensor with ID:0 2018-10-06 00:38:17.592 ( 0.599s) [main thread ] ImpEncoder.cpp:1234 0| encoderMode: 2 2018-10-06 00:38:17.593 ( 0.599s) [main thread ] ImpEncoder.cpp:1273 0| Using VBR mode. 2018-10-06 00:38:17.593 ( 0.600s) [main thread ] ImpEncoder.cpp:1278 0| Set initial bitrate (from sharedmem) to 5000 i264e[info]: profile Constrained Baseline, level 3.1 2018-10-06 00:38:17.639 ( 0.646s) [update_thread ] OSD.cpp:22 0| [OSD]: Created OSD(1248, 0, 32, 32, 0) 2018-10-06 00:38:17.639 ( 0.646s) [update_thread ] OSD.cpp:22 0| [OSD]: Created OSD(0, 0, 1280, 10, 1) 2018-10-06 00:38:17.640 ( 0.647s) [update_thread ] ImpEncoder.cpp:182 0| Attempt to changed Bitrate to 5000 2018-10-06 00:38:17.641 ( 0.648s) [update_thread ] ImpEncoder.cpp:200 0| Setting VBR maxBitrate. 2018-10-06 00:38:17.641 ( 0.648s) [update_thread ] ImpEncoder.cpp:217 0| Attempt to change fps to 25,1 2018-10-06 00:38:17.641 ( 0.648s) [update_thread ] ImpEncoder.cpp:251 0| Font name:/system/sdcard/fonts/NotoSans-Regular.ttf 2018-10-06 00:38:17.650 ( 0.657s) [update_thread ] ImpEncoder.cpp:263 0| Changed OSD font 2018-10-06 00:38:17.671 ( 0.678s) [update_thread ] ImpEncoder.cpp:293 0| Max font bitmap height is 31 and baseline offset is -6 2018-10-06 00:38:17.671 ( 0.678s) [update_thread ] ImpEncoder.cpp:295 0| Changed OSD size 2018-10-06 00:38:17.671 ( 0.678s) [update_thread ] ImpEncoder.cpp:318 0| Changed motion sensitivity=4 2018-10-06 00:38:17.672 ( 0.679s) [update_thread ] ImpEncoder.cpp:499 0| Detection region= ((0,0)-(1279,719)) 2018-10-06 00:38:17.675 ( 0.682s) [update_thread ] ImpEncoder.cpp:322 0| Changed motion region 2018-10-06 00:38:17.676 ( 0.683s) [update_thread ] ImpEncoder.cpp:339 0| Display motion OSD color=-16776961 2018-10-06 00:38:18.068 ( 1.075s) [update_thread ] ImpEncoder.cpp:380 0| Failed to read the JPEG stream: Polling stream timeout 2018-10-06 00:38:18.157 ( 1.164s) [main thread ] main.cpp:566 0| Create ALSA Source.../dev/dsp 2018-10-06 00:38:18.158 ( 1.165s) [main thread ] ALSACapture.cpp:96 0| Audio In GetPubAttr samplerate : 16000 2018-10-06 00:38:18.158 ( 1.165s) [main thread ] ALSACapture.cpp:97 0| Audio In GetPubAttr bitwidth : 16 2018-10-06 00:38:18.159 ( 1.165s) [main thread ] ALSACapture.cpp:98 0| Audio In GetPubAttr soundmode : 1 2018-10-06 00:38:18.159 ( 1.166s) [main thread ] ALSACapture.cpp:99 0| Audio In GetPubAttr frmNum : 50 2018-10-06 00:38:18.159 ( 1.166s) [main thread ] ALSACapture.cpp:100 0| Audio In GetPubAttr numPerFrm : 3200 2018-10-06 00:38:18.159 ( 1.166s) [main thread ] ALSACapture.cpp:101 0| Audio In GetPubAttr chnCnt : 1 2018-10-06 00:38:18.161 ( 1.168s) [DeviceSource ] DeviceSource.cpp:91 0| begin thread 2018-10-06 00:38:18.161 ( 1.168s) [DeviceSource ] DeviceSource.cpp:94 ERR| error:Success 2018-10-06 00:38:18.162 ( 1.168s) [DeviceSource ] DeviceSource.cpp:99 0| end thread 2018-10-06 00:38:18.562 ( 1.569s) [main thread ] ALSACapture.cpp:128 0| Audio In GetChnParam usrFrmDepth : 50 2018-10-06 00:38:18.563 ( 1.570s) [main thread ] ALSACapture.cpp:155 0| Audio In GetVol vol : 70 2018-10-06 00:38:18.619 ( 1.626s) [main thread ] ALSACapture.cpp:382 0| Enabled highfilter 2018-10-06 00:38:18.632 ( 1.639s) [main thread ] ALSACapture.cpp:402 0| Enabled aec 2018-10-06 00:38:18.633 ( 1.640s) [main thread ] ALSACapture.cpp:427 0| NS Filter=1 2018-10-06 00:38:18.692 ( 1.699s) [main thread ] main.cpp:152 0| Play this stream using the URL "rtsp://192.168.77.55:8554/unicast" 2018-10-06 00:38:18.692 ( 1.699s) [DeviceSource ] DeviceSource.cpp:91 0| begin thread 2018-10-06 00:38:18.693 ( 1.700s) [DeviceSource ] ALSACapture.cpp:382 0| Enabled highfilter 2018-10-06 00:38:18.699 ( 1.706s) [DeviceSource ] ALSACapture.cpp:402 0| Enabled aec 2018-10-06 00:38:18.699 ( 1.706s) [DeviceSource ] ALSACapture.cpp:427 0| NS Filter=1 2018-10-06 00:39:47.405 ( 90.412s) [main thread ]ServerMediaSubsession.c:25 0| Creating Source... 2018-10-06 00:39:47.405 ( 90.412s) [main thread ]ServerMediaSubsession.c:39 0| Creating JPG Source... 2018-10-06 00:39:47.413 ( 90.420s) [main thread ]ServerMediaSubsession.c:51 0| Creating Sink for format : video/JPEG 2018-10-06 00:39:47.414 ( 90.421s) [main thread ]ServerMediaSubsession.c:25 0| Creating Source... 2018-10-06 00:39:47.414 ( 90.421s) [main thread ]ServerMediaSubsession.c:42 0| Creating normal Source... 2018-10-06 00:39:47.414 ( 90.421s) [main thread ]ServerMediaSubsession.c:51 0| Creating Sink for format : audio/MPEG 2018-10-06 00:40:07.515 ( 110.522s) [main thread ]ServerMediaSubsession.c:25 0| Creating Source... 2018-10-06 00:40:07.515 ( 110.522s) [main thread ]ServerMediaSubsession.c:39 0| Creating JPG Source... 2018-10-06 00:40:07.515 ( 110.522s) [main thread ]ServerMediaSubsession.c:51 0| Creating Sink for format : video/JPEG 2018-10-06 00:40:27.669 ( 130.675s) [main thread ]ServerMediaSubsession.c:25 0| Creating Source... 2018-10-06 00:40:27.669 ( 130.676s) [main thread ]ServerMediaSubsession.c:42 0| Creating normal Source... 2018-10-06 00:40:27.670 ( 130.677s) [main thread ]ServerMediaSubsession.c:51 0| Creating Sink for format : audio/MPEG RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero! RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero! 2018-10-06 00:40:37.764 ( 140.771s) [main thread ] DeviceSource.cpp:110 0| V4L2DeviceSource::doStopGettingFrames 2018-10-06 00:40:37.764 ( 140.771s) [main thread ] DeviceSource.cpp:110 0| V4L2DeviceSource::doStopGettingFrames 2018-10-06 00:40:37.765 ( 140.772s) [main thread ] DeviceSource.cpp:110 0| V4L2DeviceSource::doStopGettingFrames 2018-10-06 00:40:37.765 ( 140.772s) [main thread ] DeviceSource.cpp:110 0| V4L2DeviceSource::doStopGettingFrames 2018-10-06 00:40:57.911 ( 160.918s) [main thread ]ServerMediaSubsession.c:25 0| Creating Source... 2018-10-06 00:40:57.911 ( 160.918s) [main thread ]ServerMediaSubsession.c:39 0| Creating JPG Source... 2018-10-06 00:40:57.911 ( 160.918s) [main thread ]ServerMediaSubsession.c:51 0| Creating Sink for format : video/JPEG 2018-10-06 00:41:07.940 ( 170.947s) [main thread ]ServerMediaSubsession.c:25 0| Creating Source... 2018-10-06 00:41:07.941 ( 170.948s) [main thread ]ServerMediaSubsession.c:42 0| Creating normal Source... 2018-10-06 00:41:07.942 ( 170.948s) [main thread ]ServerMediaSubsession.c:51 0| Creating Sink for format : audio/MPEG RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero! RTCPInstance::RTCPInstance error: totSessionBW parameter should not be zero!

nobleking commented 6 years ago

RTSP is working but got "RTCPInstance error: totSessionBW parameter should not be zero!" too

Dopeyr commented 6 years ago

Hi,

This is normal. There's an outstanding issue https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/28 It's been there since the start of the project - it's just a warning.

@nobleking @d-litvinov You should be able to view via RTSP despite this message. Is RTSP working for you?

d-litvinov commented 6 years ago

I've just checked and it works! I was misled by VLC (osx version), it didn't show the stream. But with other players it works fine! Thanks for the help!

nobleking commented 6 years ago

RTSP is working. I can view from VLC

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.