# Pipe RTSP - Cam (live) video stream to YouTube?

**URL:** <https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525>\
**Category:** General\
**Created:** [9 September 2022 16:20 UTC](https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525 "2022-09-09T16:20:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Post date:** [9 September 2022 16:20 UTC](https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525/1 "2022-09-09T16:20:37Z")

</div>

Hi ho folks 🙂

After I got all my cams working with Node Red by using ffmpeg / kevin s nodes. I was thinking to live-stream the interesting stuff (chicken cams) to YouTube. With this idea I am not the first:  
[https://discourse.nodered.org/t/use-ffmpeg-to-convert-rstp-stream-to-mp4](https://discourse.nodered.org/t/use-ffmpeg-to-convert-rstp-stream-to-mp4)  
Does anybody got that working ?

---

<div class="post-metadata">

**Author:** ![lu4t](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lu4t/32/32276_2.png) [@lu4t](https://discourse.nodered.org/u/lu4t)\
**Post date:** [9 September 2022 16:25 UTC](https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525/2 "2022-09-09T16:25:05Z")

</div>

I believe YT does not support rtsp. You should think of something to be able to push rtmp instead.

---

<div class="post-metadata">

**Author:** ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Post date:** [9 September 2022 16:31 UTC](https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525/3 "2022-09-09T16:31:20Z")

</div>

The cam (Reolink) does support rtmp. But any idea how to push that to YT ?

---

<div class="post-metadata">

**Author:** ![lu4t](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lu4t/32/32276_2.png) [@lu4t](https://discourse.nodered.org/u/lu4t)\
**Post date:** [9 September 2022 16:38 UTC](https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525/4 "2022-09-09T16:38:09Z")

</div>

I am not a live youtuber, but I recall from doing some tests in the past that, when you start a live stream you get a RTMP endpoint that you have to use to point the stream to it.

Have a look at some OBS demo, and you'll see how they set the whole thing up. All you would need to do is pointing the cam as if it was OBS.

But again, I am not into live streaming to YT myself. 🙂

---

<div class="post-metadata">

**Author:** ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Post date:** [9 September 2022 16:50 UTC](https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525/5 "2022-09-09T16:50:08Z")

</div>

thx for sharing your knowledge 🙂  
I am no youtuber too. Just think it would be fun to share some chicken cams I have running at my garden or so. Maybe there is someone here who had done this before. Since ffmpeg has grown so big I better ask before messing around with it options and developing the wheel by new.

---

<div class="post-metadata">

**Author:** ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Post date:** [9 September 2022 19:32 UTC](https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525/6 "2022-09-09T19:32:38Z")

</div>

ok, got it working:

```auto
ffmpeg -f lavfi -i anullsrc -rtsp_transport udp -i rtsp://login:pass@192.168.0.52:554/h264Preview_01_main -tune zerolatency -vcodec libx264 -t 12:00:00 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/YoutubeStreamKey

```

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [10 September 2022 15:03 UTC](https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525/7 "2022-09-10T15:03:10Z")

</div>

I can't see any chickens...

---

<div class="post-metadata">

**Author:** ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Post date:** [10 September 2022 16:51 UTC](https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525/8 "2022-09-10T16:51:02Z")

</div>

lol, where are you looking for them ? I didn´t post an url. I just tested around and will integrate it as an option to my node red later. I will post an url when the setup is ready if you are interested in chicken. (To get it clear I do mean the chicken with wings and not boobs)

---

<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:** [24 September 2022 16:51 UTC](https://discourse.nodered.org/t/pipe-rtsp-cam-live-video-stream-to-youtube/67525/9 "2022-09-24T16:51:20Z")

</div>

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