Page 1 of 1

how to setup to recieve stream from raspberry pi

Posted: Fri Jan 25, 2019 5:02 pm
by 4bf9gSBj
i have version 1.3.4 installed from the stretch packages on a pc running amd64 kernel. i am using a raspberry pi zero w with the noir camera to send a stream with "raspivid -v -t 0 -n -b 2000000 -g 30 -ih -pf high -w 960 -h 720 -fps 30 -l -o tcp://192.168.2.70:8554". i can play the stream with "mplayer -fps 300 -demuxer h264es ffmpeg://tcp://192.168.2.70:8554". i have not found documentation for setting this up in zoneminder. any suggestions are appreciated.

Re: how to setup to recieve stream from raspberry pi

Posted: Sat Jan 26, 2019 2:44 am
by bbunge
If you can stream the camera with VLC use the same string and resolution in ZM with ffmpeg. It will work but you may have to play with the settings.

Re: how to setup to recieve stream from raspberry pi

Posted: Sat Jan 26, 2019 12:18 pm
by 4bf9gSBj
cvlc tcp/h264://192.168.2.70:8554 is able to play the stream. if i use tcp/h264://192.168.2.70:8554 as source path in zoneminder the log shows "Unable to open input tcp/h264://192.168.2.70:8554 due to: No such file or directory". if i use h264://192.168.2.70:8554 as source path the log shows "Unable to open input h264://192.168.2.70:8554 due to: Success". in both instances there is no connection to the pi zero.

Re: how to setup to recieve stream from raspberry pi

Posted: Sat Jan 26, 2019 4:19 pm
by 4bf9gSBj
i got it to work using tcp://192.168.2.70:8554 as source path but i can not get more than about 5 frames per second. i set raspivid to 30 fps and zoneminder to 300 fps. in the monitor it shows 30 fps but it appears to be about 5 fps

Re: how to setup to recieve stream from raspberry pi

Posted: Sat Jan 26, 2019 8:12 pm
by bbunge
ZM is a security camera system not HD movie maker! 5 FPS should be sufficient. Max FPS in Zoneminder settings is for local cameras and that setting should be blank.

Re: how to setup to recieve stream from raspberry pi

Posted: Sun Feb 17, 2019 9:55 pm
by fatboy
For 10 years I've been running 15fps.