Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

cgi (mjpg) streaming video

Hardware/software/hints and tips/discussion/webcam links etc
Post Reply
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

cgi (mjpg) streaming video

Post by gwheelo »

I am able to access my cameras video stream using:

<img src="http://<IP address>/anony/mjpg.cgi?Resolution=320x240&Quality=Standard" width="320" height="240" alt="Webcam" />

It displays perfectly in Chrome, Firefox, and Opera.

With IE I get an image box with a red X in the middle - anyone have a solution to displaying the file in IE - at least IE9?

George Wheelock
Image
tobyspond
Posts: 252
Joined: Fri 24 Jun 2011 5:57 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Lamoine, Maine, USA

Re: cgi (mjpg) streaming video

Post by tobyspond »

Hi George,

If this is the webpage: http://www.wheelocknet.net/cam/index.htm?gb, then it working fine in IE8 and IE9 for me.

Kerry
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: cgi (mjpg) streaming video

Post by gwheelo »

If this is the webpage:
No - that is a still image from a Microsoft "studio" cam via ispy ftp software.

The sample I posted is for a Trendnet 410 IP camera.

GW
Image
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: cgi (mjpg) streaming video

Post by gwheelo »

OK - here is the full url for the streaming cam test page - still no luck for me with ie9 - but give it a try - perhaps it is a problem unique to my setup. If you try when it is my night you will see a gray box with time info in the top left corner - if it is daylight for me you will get a beutiful view of my laundry room wall. Let me know how it works for you and with which browsers.

http://www.wheelocknet.net/cam/camtest.html

GW
http://www.wheelocknet.net/cam/index.htm?gb
Image
6719jason
Posts: 519
Joined: Wed 08 Apr 2009 12:38 pm
Weather Station: La-Crosse WS3502
Operating System: Windows 7
Location: Holland On Sea, Essex UK

Re: cgi (mjpg) streaming video

Post by 6719jason »

Displayed fine in Chrome (Win 7)
Matt.j5b
Posts: 512
Joined: Mon 28 Nov 2011 2:13 am
Weather Station: Davis VP2/ WLL with DFARS
Operating System: RPi Raspbian (Buster)
Location: Ferny Grove, Brisbane, Australia
Contact:

Re: cgi (mjpg) streaming video

Post by Matt.j5b »

Works fine in Chrome on Windows 7 too, but I don't get anything with IE9, a blank box that disappears just after it loads.
Regards, Matt of Brisbane, Australia
Ferny Grove Weather
Image
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: cgi (mjpg) streaming video

Post by gwheelo »

blank box that disappears just after it loads.

Yes - that is my experience as well - here is the code I am using, perhaps someone knows how to deal with ie -


<![if !IE]>
<img src="http://scnet.homeserver.com:8090/anony/ ... y=Standard" width="320" height="240" alt="My snowy driveway" />
<![endif]>
<!--[if IE]>
<OBJECT ID="webcam" WIDTH="800" HEIGHT="600"
CLASSID="CLSID:62415890-4985-0825-2508-23487C2A845F"
CODEBASE="cab/ipcamera.cab#version=1,2,6,0">
<PARAM NAME="Type" VALUE="0">
<PARAM NAME="ServerIP" VALUE="http://scnet.homeserver.com:8090/anony/mjpg.cgi">
<PARAM NAME="HttpPort" VALUE="80">
<PARAM NAME="VideoEnabled" VALUE="1">
<PARAM NAME="VideoUrl" VALUE="/stream.av">
<PARAM NAME="AudioUpEnabled" VALUE="0">
<PARAM NAME="TrackerEnabled" VALUE="0">
<PARAM NAME="ShowFps" VALUE="0">
<PARAM NAME="ShowDateFmt" VALUE="2">
</OBJECT>

<![endif]-->


Once again I turn to this forum to get me out when I an way over my head.

GW
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: cgi (mjpg) streaming video

Post by mcrossley »

IE is getting a 404 not found error when it tries to download this file...

/cam/cab/ipcamera.cab
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: cgi (mjpg) streaming video

Post by gwheelo »

IE is getting a 404 not found error
Interesting ......

I think the problem is that IE doesn't test the target to analyze the filetype so has no idea what to do with it. I understand that Firefox, Chrome, and Opera do - therefore they know it is a MPEG stream. I read that Microsoft left out the 'test' to save milliseconds in the browser speed wars - and is therefore 'clueless.'

The 'anony' folder is a backdoor that Trendnet left in their code by mistake allowing entry without a p/w-ID.

The actual stream is here: http://myserver/cgi/mjpg/mjpeg.cgi & http://myserver/cgi/mpeg4/mpeg4.cgi

Now what to do about it :?: :?: :?:

GW
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: cgi (mjpg) streaming video

Post by mcrossley »

George, your <!--[if IE]> block is telling IE it needs to download that cab file, if it isn't there to download what can it do?
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: cgi (mjpg) streaming video

Post by gwheelo »

George, your <!--[if IE]> block i
Yea... that was a stab in the dark -

Try this url - this one works in everything except IE

http://www.wheelocknet.net/cam/camtest3.html

I appreciate the testing!

GW
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: cgi (mjpg) streaming video

Post by beteljuice »

Doesn't mean anything to me, but the suggestion is that the cab file is 'in' the camera and should be copied to your webspace :?
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: cgi (mjpg) streaming video

Post by mcrossley »

Internet Explorer needs to use an ActiveX control to interpret the multi-part data stream. The cab file should allow IE to download and install the ActiveX control when you load the page - but you do not have the cab file available on your site so IE can't display the data.
Post Reply