# Stream mjpeg in VLC

**URL:** <https://community.mobotix.com/t/stream-mjpeg-in-vlc/2450>\
**Category:** Software Integration\
**Tags:** troubleshooting, vlc, mjpeg\
**Created:** [April 14, 2020, 9:42am UTC](https://community.mobotix.com/t/stream-mjpeg-in-vlc/2450 "2020-04-14T09:42:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrei](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.mobotix.com/andrei/32/1722_2.png) [@Andrei](https://community.mobotix.com/u/Andrei)\
**Post date:** [April 14, 2020, 9:42am UTC](https://community.mobotix.com/t/stream-mjpeg-in-vlc/2450/1 "2020-04-14T09:42:06Z")

</div>

I have a problem: When I open the camera adress([url] [http://86.127.212.113/cgi-bin/faststream.jpg?[/url]](http://86.127.212.113/cgi-bin/faststream.jpg?%5B/url%5D)), it buffers for 30 seconds - 1 minute, play something fast and then buffer again. It does the same with all mobotix cams.  
Take a look here: [url][https://drive.google.com/open?id=1iOB\_ISq59Xj9kMNeaT\_Vx9awo41gpSQw[/url]](https://drive.google.com/open?id=1iOB_ISq59Xj9kMNeaT_Vx9awo41gpSQw%5B/url%5D)

---

<div class="post-metadata">

**Author:** ![derMichi](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.mobotix.com/dermichi/32/2252_2.png) [@derMichi](https://community.mobotix.com/u/derMichi)\
**Post date:** [April 16, 2020, 4:23pm UTC](https://community.mobotix.com/t/stream-mjpeg-in-vlc/2450/3 "2020-04-16T16:23:43Z")

</div>

Hi Andrei,

as shown in your video you are using the faststream with the mpeg codec by using “stream=full”

maybe you can use the MxPeg Codec for a better result:

1. Check your Preferences in VLC like this in Tools/Preferences:

 ![grafik](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/e/ea769801169f5a123901072d118ecdc82a946144.png)

1. Open your stream again with stream=mxpeg

[http://86.127.212.113/control/faststream.jpg?stream=mxpeg](http://86.127.212.113/control/faststream.jpg?stream=mxpeg)

---

<div class="post-metadata">

**Author:** ![Andrei](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.mobotix.com/andrei/32/1722_2.png) [@Andrei](https://community.mobotix.com/u/Andrei)\
**Post date:** [April 17, 2020, 1:31pm UTC](https://community.mobotix.com/t/stream-mjpeg-in-vlc/2450/4 "2020-04-17T13:31:09Z")

</div>

Thanks. Now it works fine.

---

<div class="post-metadata">

**Author:** ![Andrei](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.mobotix.com/andrei/32/1722_2.png) [@Andrei](https://community.mobotix.com/u/Andrei)\
**Post date:** [April 17, 2020, 6:52pm UTC](https://community.mobotix.com/t/stream-mjpeg-in-vlc/2450/7 "2020-04-17T18:52:02Z")

</div>

And is there another codec that is better supported?
