n1ckyrush / wyzecam-hls

Converts MP4 files from WyzeCam NFS to HLS stream. Much more stable alternative to RTSP firmware.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need Help to set this up please

Frankhag opened this issue · comments

Hi,
I have set a Wyze Cam V3 and i seve the Records on my Synology Nas
"volume1/video/WyzeCams/xxx"
I copy the wyzecam-hls Folder to "volume1/video/wyzecam-hls"
in the Config File, i have :

HOST: '192.168.196.156',
PORT: 9001,
xxx
NFS_PATH: 'volume1/video',
xxx
NAME: 'Cam1',
xxx
{
NAME: 'cam1',
NFS_PATH: '/volume1/video/WyzeCams/7C78B22992A1'
}

Now i have a "latest.m3u8" file in the tmp/cam1 Folder. But i can not play this File in VLC, and i have no idea how to set this up in Shinobi. "http://192.168.196.156:9001/cam1/hls.m3u8" does nothing.

Can someone point me in the right direktion?

Here is the log:

/var/services/homes/frank/.pm2/logs/wyzecam-hls-out.log last 15 lines:
0|wyzecam- | NFS_CLEANUP_FOLDERS: [ 'alarm', 'photo', 'time_lapse', 'record' ],
0|wyzecam- | NFS_CLEANUP_OLD_DAYS: 2,
0|wyzecam- | NFS_CLEANUP_PERIOD_SEC: 300,
0|wyzecam- | TMP_CLEANUP_OLD_SEC: 180,
0|wyzecam- | TMP_CLEANUP_PERIOD_SEC: 180,
0|wyzecam- | CHECK_NEW_VIDEO_FILE_PERIOD_SEC: 3,
0|wyzecam- | DEBUG_MODE: 0,
0|wyzecam- | TMP_PATH: '/volume1/video/wyzecam-hls/tmp/cam1'
0|wyzecam- | }
0|wyzecam- | ]
0|wyzecam- | 2021-04-17T07:57:49.308Z [1] [cam1][cleanupNfs] stats: {"total":3,"deleted":0}
0|wyzecam- | 2021-04-17T07:57:49.310Z [1] [cam1][cleanupTmpFiles] stats: {"total":0,"deleted":0}
0|wyzecam- | 2021-04-17T07:57:49.423Z [1] [cam1][stats] stream delay: -s, segments in queue: 0, latest file: 20210417/09/56.mp4, errors: 0, warnings: 0
0|wyzecam- | 2021-04-17T07:57:49.423Z creating server on 192.168.196.156:9001
0|wyzecam- | 2021-04-17T07:57:49.423Z [1] [cam1] HLS URL: http://192.168.196.156:9001/cam1/hls.m3u8

0|wyzecam-hls | 2021-04-17T07:58:19.423Z [1] [cam1][stats] stream delay: -s, segments in queue: 0, latest file: 20210417/09/57.mp4, errors: 0, warnings: 0
0|wyzecam-hls | 2021-04-17T07:58:49.425Z [1] [cam1][stats] stream delay: -s, segments in queue: 0, latest file: 20210417/09/57.mp4, errors: 0, warnings: 0
0|wyzecam-hls | 2021-04-17T07:59:19.425Z [1] [cam1][stats] stream delay: -s, segments in queue: 0, latest file: 20210417/09/58.mp4, errors: 0, warnings: 0
0|wyzecam-hls | 2021-04-17T07:59:49.424Z [1] [cam1][stats] stream delay: -s, segments in queue: 0, latest file: 20210417/09/58.mp4, errors: 0, warnings: 0
0|wyzecam-hls | 2021-04-17T08:00:19.425Z [1] [cam1][stats] stream delay: -s, segments in queue: 0, latest file: 20210417/09/59.mp4, errors: 0, warnings: 0
0|wyzecam-hls | 2021-04-17T08:00:49.313Z [1] [cam1][cleanupTmpFiles] stats: {"total":4,"deleted":0}
0|wyzecam-hls | 2021-04-17T08:00:49.425Z [1] [cam1][stats] stream delay: -s, segments in queue: 0, latest file: 20210417/09/59.mp4, errors: 0, warnings: 0
0|wyzecam-hls | 2021-04-17T08:01:19.424Z [1] [cam1][stats] stream delay: -s, segments in queue: 0, latest file: 20210417/10/00.mp4, errors: 0, warnings: 0
0|wyzecam-hls | 2021-04-17T08:01:49.426Z [1] [cam1][stats] stream delay: -s, segments in queue: 0, latest file: 20210417/10/00.mp4, errors: 0, warnings: 0
0|wyzecam-hls | 2021-04-17T08:02:19.425Z [1] [cam1][stats] stream delay: -s, segments in queue: 0, latest file: 20210417/10/01.mp4, errors: 0, warnings: 0
0|wyzecam-hls | 2021-04-17T08:02:49.310Z [1] [cam1][cleanupNfs] stats: {"total":3,"deleted":0}
0|wyzecam-hls | 2021-04-17T08:02:49.426Z [1] [cam1][stats] stream delay: -s, segments in queue: 0, latest file: 20210417/10/01.mp4, errors: 0, warnings: 0
0|wyzecam-hls | 2021-04-17T08:03:19.426Z [1] [cam1][stats] stream delay: -s, segments in queue: 0, latest file: 20210417/10/02.mp4, errors: 0, warnings: 0
0|wyzecam-hls | 2021-04-17T08:03:49.316Z [1] [cam1][cleanupTmpFiles] stats: {"total":7,"deleted":4}

and this is everything whats in the m3u8 file is inside
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:23