flv stream into Zoneminder ?

Forum for questions and support relating to the 1.30.x releases only.
Locked
zechs
Posts: 2
Joined: Sun Oct 23, 2016 8:49 am

flv stream into Zoneminder ?

Post by zechs »

Hello,

I just bought a Maginon IPC-25 HDC camera. I was able to connect zoneminder to it without much trouble using this stream:
http://user@password:192.168.0.50/videostream.cgi

The problem with this stream is that the resolution is only 640x480px while the camera is capturing 1280x720px frames.
To get full resolution frames, I would have to get the following stream:
http://user@password:192.168.0.50/videostream.flv

But zoneminder is not accepting it. Here are the logs:

Code: Select all

2016-10-23 11:02:12.560760	zmc_m11		23434	ERR	Unrecognised content type 'video/x-flv'	zm_remote_camera_http.cpp	856
2016-10-23 11:02:12.548857	zmc_m11		23434	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-10-23 11:02:12.546343	zmc_m11		23434	ERR	Unrecognised content type 'video/x-flv'	zm_remote_camera_http.cpp	856
2016-10-23 11:02:12.532418	zmc_m11		23434	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-10-23 11:02:12.530069	zmc_m11		23434	ERR	Unrecognised content type 'video/x-flv'	zm_remote_camera_http.cpp	856
Is there any way to get this flv stream into zoneminder ?

Thanks !
bbunge
Posts: 2975
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: flv stream into Zoneminder ?

Post by bbunge »

videostream.asf?user=[USERNAME]&pwd=[PASSWORD]&resolution=32&rate=0

I found this @ https://www.ispyconnect.com/man.aspx?n=Maginon

Try it with VLC, check the reported resolution and use those settings in Zoneminder with source type ffmpeg
zechs
Posts: 2
Joined: Sun Oct 23, 2016 8:49 am

Re: flv stream into Zoneminder ?

Post by zechs »

Sorry I should have mentioned that I already tried the "asf" thing., but I don"t get the full resolution.
I did the test again and here is what I get in VLC.
If I set the resolution parameter to 32, I get 640x480.
If I set the resolution parameter to 64 or any other value (I tested a few), I get a weird image size: 320x480.
And VLC only displays a frozen image in all cases.

Anyway, I still put the url in ZoneMinder as a ffmpeg source like you said. it works but with low resolution and poor frame rate (8 fps), exactly like with videostream.cgi

It lead me to do more tests with ffmpeg as source. I gave zoneminder the "flv" url. Now it doesn't complain about the "flv" type anymore, but it gives me the following log:

Code: Select all

2016-10-23 16:29:49.778141	zma_m3		2678	WAR	Waiting for capture daemon	zm_monitor.cpp	503
2016-10-23 16:29:48.771222	zma_m3		2678	WAR	Waiting for capture daemon	zm_monitor.cpp	503
2016-10-23 16:29:47.768089	zma_m3		2678	WAR	Waiting for capture daemon	zm_monitor.cpp	503
2016-10-23 16:29:46.765109	zma_m3		2678	WAR	Waiting for capture daemon	zm_monitor.cpp	503
What is the capture daemon? Is it ffmpeg in this case ?

Someone got to decode the streamwith just ffmpeg. Which makes me think that zoneminder should probably be able to handle it.
http://community.bluecherrydvr.com/topi ... am-t-model
Locked