"No main content type" while trying to open rtsp camera

Forum for questions and support relating to the 1.25.x releases only.
Locked
Edu
Posts: 5
Joined: Thu Apr 11, 2013 2:27 pm

"No main content type" while trying to open rtsp camera

Post 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
ZM1.png (34.61 KiB) Viewed 3296 times
ZM2.png
ZM2.png (37.51 KiB) Viewed 3296 times
Thanks!
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: "No main content type" while trying to open rtsp camera

Post by bb99 »

Change your monitor general tab source type to ffmpeg and reconfigure.
Edu
Posts: 5
Joined: Thu Apr 11, 2013 2:27 pm

Re: "No main content type" while trying to open rtsp camera

Post by Edu »

Hi, I get the same error with the following configuration
ZM3.png
ZM3.png (31.69 KiB) Viewed 3283 times
I also tried using rtsp://192.168.1.105/live/mpeg4 as source path
Edu
Posts: 5
Joined: Thu Apr 11, 2013 2:27 pm

Re: "No main content type" while trying to open rtsp camera

Post by Edu »

Still having this issue, any ideas?
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: "No main content type" while trying to open rtsp camera

Post 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.
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: "No main content type" while trying to open rtsp camera

Post by bb99 »

Also verify the cameras path as you read through the source info.
Edu
Posts: 5
Joined: Thu Apr 11, 2013 2:27 pm

Re: "No main content type" while trying to open rtsp camera

Post 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?
Edu
Posts: 5
Joined: Thu Apr 11, 2013 2:27 pm

Re: "No main content type" while trying to open rtsp camera

Post 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
Locked