Page 1 of 1
"No main content type" while trying to open rtsp camera
Posted: Thu Apr 11, 2013 2:40 pm
by Edu
Hello Everyone,
I have 4 cameras that send a RTSP stream as follows:
rtsp://192.168.1.105/live/mpeg4
I can access and view the cameras if I open the stream with a video program like VLC, but when I configure them in ZoneMinder and then try to open the image, I get a "No main content type" message after the Java applet loaded.
Do you know what causes that and how to solve it?
I can ping the cam IP from my ZM server.
Bellow is the cam configuration in ZoneMinder:
- ZM1.png (34.61 KiB) Viewed 3304 times
- ZM2.png (37.51 KiB) Viewed 3304 times
Thanks!
Re: "No main content type" while trying to open rtsp camera
Posted: Thu Apr 11, 2013 11:14 pm
by bb99
Change your monitor general tab source type to ffmpeg and reconfigure.
Re: "No main content type" while trying to open rtsp camera
Posted: Fri Apr 12, 2013 1:02 pm
by Edu
Hi, I get the same error with the following configuration
- ZM3.png (31.69 KiB) Viewed 3291 times
I also tried using rtsp://192.168.1.105/live/mpeg4 as source path
Re: "No main content type" while trying to open rtsp camera
Posted: Fri Apr 19, 2013 1:12 pm
by Edu
Still having this issue, any ideas?
Re: "No main content type" while trying to open rtsp camera
Posted: Sat Apr 20, 2013 10:33 pm
by bb99
View your camera in a browser and look at the source or properties and verify the resolution is 640*480. If it is set the camera resolution in it's firmware to 320*240 and adjust in ZM also to see what happens.
Re: "No main content type" while trying to open rtsp camera
Posted: Sat Apr 20, 2013 10:35 pm
by bb99
Also verify the cameras path as you read through the source info.
Re: "No main content type" while trying to open rtsp camera
Posted: Mon Apr 22, 2013 6:09 pm
by Edu
Well, that's the thing, I can view the stream from VideoLAN but not from ZoneMinder,
VideoLAN says the frame is 640x480, and it opens it with that URL
rtsp://192.168.1.105/live/mpeg4
Is there any way to check if ZoneMinder actually gets the stream but is not able to show it in the browser?
Re: "No main content type" while trying to open rtsp camera
Posted: Wed Apr 24, 2013 3:12 pm
by Edu
I was using Ubuntu 10.04 LTS
I've rebuilt with Ubuntu 12.10 64bits, no password for the mySQL root, and it worked.
I followed this guide:
http://kirichkov.com/368/howto-make-a-c ... oneminder/
Thanks