# Axis IP Cam Mjpeg Stream with multipart decoder

**URL:** <https://discourse.nodered.org/t/axis-ip-cam-mjpeg-stream-with-multipart-decoder/56564>\
**Category:** Dashboard\
**Created:** [13 January 2022 08:45 UTC](https://discourse.nodered.org/t/axis-ip-cam-mjpeg-stream-with-multipart-decoder/56564 "2022-01-13T08:45:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chorum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chorum/32/47644_2.png) [@Chorum](https://discourse.nodered.org/u/Chorum)\
**Post date:** [13 January 2022 08:45 UTC](https://discourse.nodered.org/t/axis-ip-cam-mjpeg-stream-with-multipart-decoder/56564/1 "2022-01-13T08:45:27Z")

</div>

Hello,

as rtsp streams dont work with multipart decoder without ffmpeg, i try to get the MJPEG Stream of an AXIS CAM.

I used the Dashboard before with an Foscam IP Cam and the URL =  
[http://IP](http://IP):PORT/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=USER&pwd=PASSWORD

but i cannot bring it to work with the AXIS IP CAM.  
i tried these streams =  
[http://IP/mjpg/1/video.mjpg](http://IP/mjpg/1/video.mjpg)  
[http://IP/axis-cgi/mjpg/video.cgi](http://IP/axis-cgi/mjpg/video.cgi)  
for the authentification i used the basic authentification on the multipart decoder.  
That doesnt work. ("Unauthorized" below multipart decoder node)

next i tried these =  
[http://USER:PASSWORD@IP/axis-cgi/jpg/image.cgi](http://USER:PASSWORD@IP/axis-cgi/jpg/image.cgi)  
[http://USER:PASSWORD@IP/axis-cgi/mjpg/video.cg](http://USER:PASSWORD@IP/axis-cgi/mjpg/video.cg)  
Doesnt work.("Unauthorized" below multipart decoder node)

So in my Browser i can use =  
[http://IP/mjpg/1/video.mjpg](http://IP/mjpg/1/video.mjpg)  
[http://IP/axis-cgi/mjpg/video.cgi](http://IP/axis-cgi/mjpg/video.cgi)  
If i am logged into the Cam Webinterface

And i can use =  
[http://USER:PASSWORD@IP/axis-cgi/jpg/image.cgi](http://USER:PASSWORD@IP/axis-cgi/jpg/image.cgi)  
[http://USER:PASSWORD@IP/axis-cgi/mjpg/video.cg](http://USER:PASSWORD@IP/axis-cgi/mjpg/video.cg)  
as well.

so how can i get the videostream from the AXIS IP CAM with working authentification ?

Dearly  
Chorum

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [13 January 2022 09:57 UTC](https://discourse.nodered.org/t/axis-ip-cam-mjpeg-stream-with-multipart-decoder/56564/2 "2022-01-13T09:57:36Z")

</div>

> [@Chorum](#):
>
> as rtsp streams dont work with multipart decoder without ffmpeg

Yes indeed multipart streams having nothing to do with rtsp, so you cannot use my node for rtsp.

> [@Chorum](#):
>
> basic authentification on the multipart decoder.  
> That doesnt work. ("Unauthorized" below multipart decoder node)

Could it be that your cam only supports digest authentication? Because the multipart-stream-decoder node only supports basic authentication...

---

<div class="post-metadata">

**Author:** ![Chorum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chorum/32/47644_2.png) [@Chorum](https://discourse.nodered.org/u/Chorum)\
**Post date:** [13 January 2022 11:48 UTC](https://discourse.nodered.org/t/axis-ip-cam-mjpeg-stream-with-multipart-decoder/56564/3 "2022-01-13T11:48:08Z")

</div>

Oh thanks for that Tip.

I changed the Auth on the Cam to Basic and it works 🙂  
Now i have to get the stream more fluid 🙂

Thanks Again!  
Chorum

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 January 2022 11:48 UTC](https://discourse.nodered.org/t/axis-ip-cam-mjpeg-stream-with-multipart-decoder/56564/4 "2022-01-27T11:48:35Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
