# IP Camera Viewer problem

**URL:** <https://forum.inductiveautomation.com/t/ip-camera-viewer-problem/8364>\
**Category:** Ignition\
**Created:** [April 24, 2014, 10:49pm UTC](https://forum.inductiveautomation.com/t/ip-camera-viewer-problem/8364 "2014-04-24T22:49:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Watermark\_JS](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/watermark_js/32/32342_2.png) [@Watermark\_JS](https://forum.inductiveautomation.com/u/Watermark_JS)\
**Post date:** [April 24, 2014, 10:49pm UTC](https://forum.inductiveautomation.com/t/ip-camera-viewer-problem/8364/1 "2014-04-24T22:49:24Z")

</div>

I am trying to use the IP Camera Viewer to display video from a Dahua IPC-HFW4300S camera.

The URL I am using is: [192.168.1.107/axis-cgi/mjpg/video.cgi](http://192.168.1.107/axis-cgi/mjpg/video.cgi)?

Authentication is enabled and appears to be working.

The viewer window shows “Connected,” but I have been unable to get any video to display.

Suggestions…? ![:scratch:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/76d1620bec252bfac07050c889ff5a91dc8a9c25.gif ":scratch:")

---

<div class="post-metadata">

**Author:** ![pat.stave](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@pat.stave](https://forum.inductiveautomation.com/u/pat.stave)\
**Post date:** [April 25, 2014, 5:22am UTC](https://forum.inductiveautomation.com/t/ip-camera-viewer-problem/8364/2 "2014-04-25T05:22:45Z")

</div>

I would believe the URL you posted above is for a Axis brand camera.

Some googling it would appear that this is the stream URL for the IPC-HFW4300S:

FFMPEG  
rtsp://IPADDRESS:554//cam/realmonitor

VLC  
rtsp://IPADDRESS:554/live

---

<div class="post-metadata">

**Author:** ![Watermark\_JS](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/watermark_js/32/32342_2.png) [@Watermark\_JS](https://forum.inductiveautomation.com/u/Watermark_JS)\
**Post date:** [April 25, 2014, 2:42pm UTC](https://forum.inductiveautomation.com/t/ip-camera-viewer-problem/8364/3 "2014-04-25T14:42:31Z")

</div>

I had tried those and received the following error:

“MalformedURLException: unknown protocol: rtsp”

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [April 25, 2014, 3:22pm UTC](https://forum.inductiveautomation.com/t/ip-camera-viewer-problem/8364/4 "2014-04-25T15:22:56Z")

</div>

The first bit of information that would be most useful is what the format is. Is it MJPEG or JPEG stills? Those are the only two supported formats.

---

<div class="post-metadata">

**Author:** ![Watermark\_JS](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/watermark_js/32/32342_2.png) [@Watermark\_JS](https://forum.inductiveautomation.com/u/Watermark_JS)\
**Post date:** [April 25, 2014, 4:52pm UTC](https://forum.inductiveautomation.com/t/ip-camera-viewer-problem/8364/5 "2014-04-25T16:52:52Z")

</div>

Greg,

I have the camera set up to encode MJPEG.

I looked through the source HTML and was unable to find any reference to the appropriate path. The web-app is using a lot of Java, and I suspect that the information could be in some of the “minified” scripting, but digging through that has not revealed anything either.

James

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [April 25, 2014, 6:32pm UTC](https://forum.inductiveautomation.com/t/ip-camera-viewer-problem/8364/6 "2014-04-25T18:32:03Z")

</div>

try using

[192.168.1.107/axis-cgi/mjpg](http://192.168.1.107/axis-cgi/mjpg)

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [April 25, 2014, 6:43pm UTC](https://forum.inductiveautomation.com/t/ip-camera-viewer-problem/8364/7 "2014-04-25T18:43:19Z")

</div>

Take a look at this site

[ispyconnect.com/man.aspx?n=Dahua](http://www.ispyconnect.com/man.aspx?n=Dahua)

I have been successful in connecting to just about any IP camera a customer has come to me with. It can be a little frustrating, but trying different combinations of URLs can usually net you the connection. Also, kind of a shot in the dark, but has worked in the past, if you view your IP camera in the web browser you can sometimes right click and select “copy image url”, then paste that into the URL property in the designer. I have had that work a few times.

---

<div class="post-metadata">

**Author:** ![TheOldeBoy](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@TheOldeBoy](https://forum.inductiveautomation.com/u/TheOldeBoy)\
**Post date:** [August 29, 2014, 7:10pm UTC](https://forum.inductiveautomation.com/t/ip-camera-viewer-problem/8364/8 "2014-08-29T19:10:19Z")

</div>

Greg, great Link. I was having the same issues and I think I’m better off now.

My camera now says Connected, but isn’t showing anything. This is an improvement from “not an MJPEG”, but it’s still not what I’m going for.

Any more tips? Also, How do I know what Channel I’m using?
