# Camera problem

**URL:** <https://forum.inductiveautomation.com/t/camera-problem/6320>\
**Category:** Ignition\
**Created:** [April 25, 2013, 1:33am UTC](https://forum.inductiveautomation.com/t/camera-problem/6320 "2013-04-25T01:33:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cja7928](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@cja7928](https://forum.inductiveautomation.com/u/cja7928)\
**Post date:** [April 25, 2013, 1:33am UTC](https://forum.inductiveautomation.com/t/camera-problem/6320/1 "2013-04-25T01:33:46Z")

</div>

I am monitoring a mjpeg video source over the network using IP camera viewer - when I open the client the video works for a few seconds and then displays error “IIOException: Invalid JPEG file structure: two SOI markers” can anyone tell me what this means?

---

<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, 2013, 10:49pm UTC](https://forum.inductiveautomation.com/t/camera-problem/6320/2 "2013-04-25T22:49:37Z")

</div>

I am pretty sure that SOI marker is start of image marker. It looks like it is receiving two SOI markers in a row instead of a SOI marker then an end of frame.

---

<div class="post-metadata">

**Author:** ![maxi0361](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@maxi0361](https://forum.inductiveautomation.com/u/maxi0361)\
**Post date:** [May 8, 2014, 8:33am UTC](https://forum.inductiveautomation.com/t/camera-problem/6320/3 "2014-05-08T08:33:48Z")

</div>

I am having similar problem with Mobotix M12D  
error message is IIOException: Invalid JPEG file structure: SOS before SOF

---

<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:** [May 8, 2014, 5:21pm UTC](https://forum.inductiveautomation.com/t/camera-problem/6320/4 "2014-05-08T17:21:22Z")

</div>

Most of the information I have found in regards to this error message is that the stream is being corrupted by something. Are you able to stream the JPEG still, or MJPEG, and view it in anything else? Are you sure you are placing the correct URL for your camera in the URL property of the IP Camera Component? Have you set the Video Mode property of the component for the type of stream you are using?
