# Display rstp video on dashboard

**URL:** <https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034>\
**Category:** Dashboard\
**Created:** [26 December 2023 09:57 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034 "2023-12-26T09:57:23Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![telescopio](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@telescopio](https://discourse.nodered.org/u/telescopio)\
**Post date:** [26 December 2023 09:57 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/1 "2023-12-26T09:57:23Z")

</div>

@kevinGodell

I am trying to display my cam stream to my dashboard, I have look a lot of videos and article but I can't make it to work.

I have Foscam VZ4 4MP Outdoor Security WiFi Camera can you PLSEASE show me how.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [26 December 2023 10:01 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/2 "2023-12-26T10:01:12Z")

</div>

If you search the forum for "Foscam dashboard" there are several hits... including [IP Cam Stream on Dashboard](https://discourse.nodered.org/t/ip-cam-stream-on-dashboard/50584)

Do they not work any more ?

---

<div class="post-metadata">

**Author:** ![telescopio](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@telescopio](https://discourse.nodered.org/u/telescopio)\
**Post date:** [26 December 2023 10:51 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/3 "2023-12-26T10:51:09Z")

</div>

First, HAPPY HOLIDAYS  
Thanks for your fast response, I try this one [IP Cam Stream on Dashboard](https://discourse.nodered.org/t/ip-cam-stream-on-dashboard/50584) changing the URL to this one that Foscam . [http://10.0.4.119:88/cgi-bin/CGStream?cmd=snapPicture&usr=tele&pwd=Telescopio69](http://10.0.4.119:88/cgi-bin/CGStream?cmd=snapPicture&usr=tele&pwd=Telescopio69). This list work and show my the stream on a browser.

It gave me this error Request failed with status code 404 on the Multipart decoder.

---

<div class="post-metadata">

**Author:** ![kevinGodell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kevingodell/32/27040_2.png) [@kevinGodell](https://discourse.nodered.org/u/kevinGodell)\
**Post date:** [28 December 2023 11:34 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/4 "2023-12-28T11:34:43Z")

</div>

@telescopio, i can help you, but i need a few details first, since most of my answers to any type of video / ip cam will be using ffmpeg.

- Are you familiar with FFmpeg?
- Can you view your video cam using VLC?
- Which nodes have you installed and how have you tried to make it work?

---

<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:** [28 December 2023 11:49 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/5 "2023-12-28T11:49:01Z")

</div>

Hi @telescopio,

It looks to me that you are mixing things. You say that you want to capture an _ **RTSP** _ stream. But you als say that you get an error on my multipart-decoder node, which can be used only for _ **MJPEG** _ streams. And in your url I see "cmd=snapPicture": are you sure that is an url for a live stream? Don't know anything about Foscam, but looks to me like an url to get a single snapshot _ **JPEG** _ image...

Bart

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [28 December 2023 12:05 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/6 "2023-12-28T12:05:00Z")

</div>

How many cameras do you have/want to view?

I use node-red for all of my nvr viewing needs but I use a [motioneye](https://github.com/motioneye-project/motioneye) to get my video streams and videos into node-red dashboard. \<------ just another thought on how to skin this cat. Dealing with getting node-red to handle the stream is a pain.

This is node-red dashboard handling getting my videos by date and time.

 ![Screenshot from 2023-12-28 06-57-21](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/3/a35f7027e7e2f920020a2b39159ec2ffa1645e99.jpeg)

---

<div class="post-metadata">

**Author:** ![telescopio](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@telescopio](https://discourse.nodered.org/u/telescopio)\
**Post date:** [29 December 2023 00:34 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/8 "2023-12-29T00:34:54Z")

</div>

First thank for your time

No I not familiar with ffmpeg  
Yes I can see video in VLC  
I try mjpgcamera, onvif-nodes, puppeteer-new, rstp and many other following soem videos bout they don't wrk with the cam foscam Zv4 that I have  
I was not able to make it work, I was able to take a screenshot and see on the flow ,

I am willing to make any change to make ti work.THis is for a backyard observatory project that I am working on if, I have all the flow for the full automation of the OBS, but the camera is killing me

I have some knowledge of programing and that is why I work out the flow to control the OBS. Is tes an is working and what I need are the cam to be able to see it live since I going to installaed on a remote location. ANy help will be apreciate

Luis RIvera  
Puerto RIco

---

<div class="post-metadata">

**Author:** ![telescopio](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@telescopio](https://discourse.nodered.org/u/telescopio)\
**Post date:** [29 December 2023 00:39 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/9 "2023-12-29T00:39:30Z")

</div>

Yes you are right that is the only url that I make it work and it bring a JPEG image. I was looking to see is I can update the image so I can see what is going in My remote backyard observatory. I have a flow that is controlling all the equipment but I am stuck with the cam. Any help will be appreciate

---

<div class="post-metadata">

**Author:** ![telescopio](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@telescopio](https://discourse.nodered.org/u/telescopio)\
**Post date:** [29 December 2023 00:40 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/10 "2023-12-29T00:40:34Z")

</div>

Thanks for your time, I want only one cam

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [29 December 2023 00:55 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/11 "2023-12-29T00:55:39Z")

</div>

Set the camera to mjpeg output and use that stream like this -

```auto
Step1: Set the MJPEG stream format:

http://ip address:port/cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat&format=1&usr=xxx&pwd=xxx

Step2: Get the MJPEG stream:

http://ip address:port/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=xxx&pwd=xxx

```

---

<div class="post-metadata">

**Author:** ![telescopio](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@telescopio](https://discourse.nodered.org/u/telescopio)\
**Post date:** [29 December 2023 01:35 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/12 "2023-12-29T01:35:53Z")

</div>

> [@Sean-McG](#):
>
> ```auto
> http://ip address:port/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=xxx&pwd=xxx
> 
> ```

SMSGANN00

I was able to connect using this url [http://ip](http://ip) address:port/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=xxx&pwd=xxx. Can you let me know show me how to make the flow and to display on the dashboard  
I will try to see it a can do it in the mean time

Thanks.

---

<div class="post-metadata">

**Author:** ![telescopio](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@telescopio](https://discourse.nodered.org/u/telescopio)\
**Post date:** [29 December 2023 02:04 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/13 "2023-12-29T02:04:50Z")

</div>

I use this flow [[node-red-contrib-multipart-stream-decoder (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-multipart-stream-decoder)]  
with this url ```  
[http://ip](http://ip) address:port/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=xxx&pwd=xxx

```and

```

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [29 December 2023 02:10 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/14 "2023-12-29T02:10:12Z")

</div>

if you open that url in a browser do you see live video ?

If so then a simple ui template node using the url as image src should work.

---

<div class="post-metadata">

**Author:** ![telescopio](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@telescopio](https://discourse.nodered.org/u/telescopio)\
**Post date:** [29 December 2023 02:14 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/15 "2023-12-29T02:14:24Z")

</div>

Thank I did it, using a template and Encode. Thanks to all member for your help and a VERY happy NEW YEAR to all

---

<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:** [29 December 2023 06:49 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/16 "2023-12-29T06:49:56Z")

</div>

> [@meeki007](#):
>
> Dealing with getting node-red to handle the stream is a pain.

You are always welcome to help @kevinGodell and me to improve our pain-nodes 😉

---

<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:** [12 January 2024 06:50 UTC](https://discourse.nodered.org/t/display-rstp-video-on-dashboard/84034/17 "2024-01-12T06:50:43Z")

</div>

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