# RTSP not working after upgrade to version 1.1.0

**URL:** <https://discourse.nodered.org/t/rtsp-not-working-after-upgrade-to-version-1-1-0/34154>\
**Category:** General\
**Created:** [13 October 2020 00:36 UTC](https://discourse.nodered.org/t/rtsp-not-working-after-upgrade-to-version-1-1-0/34154 "2020-10-13T00:36:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nodreduino](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nodreduino/32/27846_2.png) [@nodreduino](https://discourse.nodered.org/u/nodreduino)\
**Post date:** [13 October 2020 00:36 UTC](https://discourse.nodered.org/t/rtsp-not-working-after-upgrade-to-version-1-1-0/34154/1 "2020-10-13T00:36:21Z")

</div>

Hi All,

Not sure what is wrong - But I do have a simple flow to test my camera image from NodeRED.  
It was working all along with older version - Just when I have upgraded lately - I can NOT test my RTSP any more.  
Every time I do the test I am getting error `rc-2`.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/9/b952562383d6c89165e4076d2d6ee4339b037549.png)  
Not sure why I am getting that. I have worked with the same flow for almost a year now and I was able to scream without any issues and test my cameras.

Here is my flow - Need to change IP address and user and password for it to work (if it will at all) - Standard code from the internet not my coding.

```auto
[
  {
    "id": "9acfcc68.0f5ad",
    "type": "tab",
    "label": "Flow 2",
    "disabled": false,
    "info": ""
  },
  {
    "id": "497d43dc.b2a29c",
    "type": "exec",
    "z": "9acfcc68.0f5ad",
    "command": "ffmpeg -f rtsp -i \"rtsp://username:password@10.xx.xx.xx/live\" -f image2pipe pipe:1",
    "addpay": false,
    "append": "",
    "useSpawn": "true",
    "timer": "",
    "oldrc": false,
    "name": "Decode RTSP stream",
    "x": 520,
    "y": 240,
    "wires": [
      [
        "17660224.5db19e",
        "de6a4858.e592a8"
      ],
      [
        "16a580d2.67418f"
      ],
      [
        "e4ae4fca.f6ed6"
      ]
    ]
  },
  {
    "id": "681e4977.f13fb8",
    "type": "inject",
    "z": "9acfcc68.0f5ad",
    "name": "Start stream",
    "repeat": "",
    "crontab": "",
    "once": false,
    "onceDelay": 0.1,
    "topic": "",
    "payload": "",
    "payloadType": "date",
    "x": 190,
    "y": 240,
    "wires": [
      [
        "497d43dc.b2a29c"
      ]
    ]
  },
  {
    "id": "2a763216.ffd9ee",
    "type": "inject",
    "z": "9acfcc68.0f5ad",
    "name": "Pause all streams",
    "repeat": "",
    "crontab": "",
    "once": false,
    "onceDelay": 0.1,
    "topic": "",
    "payload": "SIGSTOP",
    "payloadType": "str",
    "x": 200,
    "y": 280,
    "wires": [
      [
        "6fa1c4f4.44c08c"
      ]
    ]
  },
  {
    "id": "3c0dccfd.8f1f74",
    "type": "inject",
    "z": "9acfcc68.0f5ad",
    "name": "Resume all streams",
    "repeat": "",
    "crontab": "",
    "once": false,
    "onceDelay": 0.1,
    "topic": "",
    "payload": "SIGCONT",
    "payloadType": "str",
    "x": 210,
    "y": 320,
    "wires": [
      [
        "6fa1c4f4.44c08c"
      ]
    ]
  },
  {
    "id": "6fa1c4f4.44c08c",
    "type": "change",
    "z": "9acfcc68.0f5ad",
    "name": "",
    "rules": [
      {
        "t": "set",
        "p": "kill",
        "pt": "msg",
        "to": "payload",
        "tot": "msg"
      }
    ],
    "action": "",
    "property": "",
    "from": "",
    "to": "",
    "reg": false,
    "x": 390,
    "y": 320,
    "wires": [
      [
        "497d43dc.b2a29c"
      ]
    ]
  },
  {
    "id": "697d4e76.39621",
    "type": "inject",
    "z": "9acfcc68.0f5ad",
    "name": "Stop all streams",
    "repeat": "",
    "crontab": "",
    "once": false,
    "onceDelay": 0.1,
    "topic": "",
    "payload": "SIGTERM",
    "payloadType": "str",
    "x": 200,
    "y": 360,
    "wires": [
      [
        "6fa1c4f4.44c08c"
      ]
    ]
  },
  {
    "id": "17660224.5db19e",
    "type": "debug",
    "z": "9acfcc68.0f5ad",
    "name": "",
    "active": true,
    "tosidebar": true,
    "console": false,
    "tostatus": true,
    "complete": "payload",
    "targetType": "msg",
    "x": 710,
    "y": 100,
    "wires": []
  },
  {
    "id": "16a580d2.67418f",
    "type": "debug",
    "z": "9acfcc68.0f5ad",
    "name": "",
    "active": true,
    "tosidebar": true,
    "console": false,
    "tostatus": true,
    "complete": "payload",
    "targetType": "msg",
    "x": 770,
    "y": 320,
    "wires": []
  },
  {
    "id": "e4ae4fca.f6ed6",
    "type": "debug",
    "z": "9acfcc68.0f5ad",
    "name": "",
    "active": true,
    "tosidebar": true,
    "console": false,
    "tostatus": true,
    "complete": "payload",
    "targetType": "msg",
    "statusVal": "payload",
    "statusType": "auto",
    "x": 710,
    "y": 380,
    "wires": []
  },
  {
    "id": "de6a4858.e592a8",
    "type": "jimp-image",
    "z": "9acfcc68.0f5ad",
    "name": "",
    "data": "payload",
    "dataType": "msg",
    "ret": "img",
    "parameter1": "",
    "parameter1Type": "msg",
    "parameter2": "",
    "parameter2Type": "msg",
    "parameter3": "",
    "parameter3Type": "msg",
    "parameter4": "",
    "parameter4Type": "msg",
    "parameter5": "",
    "parameter5Type": "msg",
    "parameter6": "",
    "parameter6Type": "msg",
    "parameter7": "",
    "parameter7Type": "msg",
    "parameter8": "",
    "parameter8Type": "msg",
    "parameterCount": 0,
    "jimpFunction": "none",
    "selectedJimpFunction": {
      "name": "none",
      "fn": "none",
      "description": "Image loading.",
      "parameters": []
    },
    "x": 710,
    "y": 160,
    "wires": [
      [
        "fcea118c.5f2c8"
      ]
    ]
  },
  {
    "id": "fcea118c.5f2c8",
    "type": "image",
    "z": "9acfcc68.0f5ad",
    "name": "",
    "width": 160,
    "data": "payload",
    "dataType": "msg",
    "thumbnail": true,
    "active": true,
    "x": 860,
    "y": 160,
    "wires": []
  }
]

```

I would be happy to know what is the issue I am having and how I can overcome it?  
Please assist.

Thanks,  
Arye

---

<div class="post-metadata">

**Author:** ![linhtranvu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/linhtranvu/32/30053_2.png) [@linhtranvu](https://discourse.nodered.org/u/linhtranvu)\
**Post date:** [13 October 2020 02:21 UTC](https://discourse.nodered.org/t/rtsp-not-working-after-upgrade-to-version-1-1-0/34154/2 "2020-10-13T02:21:03Z")

</div>

Try to run ffmpeg in terminal to see any problem. I test and everything run fine

---

<div class="post-metadata">

**Author:** ![nodreduino](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nodreduino/32/27846_2.png) [@nodreduino](https://discourse.nodered.org/u/nodreduino)\
**Post date:** [13 October 2020 03:17 UTC](https://discourse.nodered.org/t/rtsp-not-working-after-upgrade-to-version-1-1-0/34154/3 "2020-10-13T03:17:40Z")

</div>

Thanks!  
You just gave me the answer I needed. ffmpeg was broken after upgrade and reinstalling it did the trick!  
Thank you! @linhtranvu

---

<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 October 2020 03:17 UTC](https://discourse.nodered.org/t/rtsp-not-working-after-upgrade-to-version-1-1-0/34154/4 "2020-10-27T03:17:43Z")

</div>

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