Build Your Own RTMP Server On A Synology NAS

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024

ความคิดเห็น • 65

  • @keithbennett5179
    @keithbennett5179 3 ปีที่แล้ว

    I was tracking until half way through, then it’s flying over my non programming Brain.
    I do like your videos and your willingness to teach. I will give it another go on a work day.

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว +1

      No worries Keith. My friends & family tell me all the time they share & like my videos but haven’t a clue to what I’m saying. Lol. I do love the enthusiasm you have when delivering your content. Keep up the great work.

  • @UnkyjoesPlayhouse
    @UnkyjoesPlayhouse 3 ปีที่แล้ว

    I am going to have to explore this on my end..

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว

      UnkyJoe, you’d be able to send your live stream out to YT and other platforms simultaneously if ya wanted. Just point OBS to the RTMP server, then enter the streaming platforms into the Nginx file.

  • @deadhead73
    @deadhead73 2 ปีที่แล้ว

    THanks for making it easy to understand. your audio at least to me, was a little hard to hear. Like the mic was too sensitive.

    • @QuikTechSolutions
      @QuikTechSolutions  2 ปีที่แล้ว

      Hey Brian, thanks for watching and commenting. Glad you found the video easy to follow. I’ve changed mics since that video. Hopefully, the audio is better now.

  • @FriikD
    @FriikD 6 หลายเดือนก่อน

    ... you need to create a compose.yaml file that installs the necessary packages and either use the yaml to insert the nginx configurations or make the configuration file persistent. you don't make any configuration changes within the docker container as it's lost once your project is rebuilt, e.g. on Synology restart.

    • @QuikTechSolutions
      @QuikTechSolutions  หลายเดือนก่อน

      Thanks for watching. I sure do have the nginx.config file mapped to a folder in the Docker folder within File Station.

  • @spartan3070
    @spartan3070 3 ปีที่แล้ว

    Amazing video tony as always!!

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว

      Thank you Mac XPS. Totally appreciate your long time support of the channel. Have a great night.

  • @gonzalomoldesvieites
    @gonzalomoldesvieites 3 ปีที่แล้ว

    Thanks! :)
    Finally i have my own rtmp. :)

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว

      Hi Gonzalo, thanks for watching and commenting. Glad you were able to build your own rtmp server successfully. Please subscribe, share, and give the video a like 👍. Have a great day!

    • @gonzalomoldesvieites
      @gonzalomoldesvieites 3 ปีที่แล้ว

      @@QuikTechSolutions i leave you a like and i suscribed to channel. You have any video of how to setup pihole on synology.

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว

      Thanks so much for subscribing. I don’t currently have such a video. However, it is on my list video ideas. Keep an eye out for it soon.
      Also, check out the first several minutes of this live stream. I talked about ways to make it easier to edit the nginx.conf file without having to ssh into the root level of the container each time.
      th-cam.com/video/ypQZ2dXec0g/w-d-xo.html

  • @GrishTech
    @GrishTech 3 ปีที่แล้ว

    To make it easier to modify the file in the future, you make yourself a copy of that nginx config file, then do the following:
    Modify the docker container > add a new volume, and then mount that specific file that you can access from a file share. Example: /synologyvolume/smbshare/dockerconfigs/nginx.conf:/etc/nginx/nginx.conf
    Now you can modify the nginx.conf file from your mac/pc via an smb share, then just restart the docker container after you save your changes. No more hassle with executing a shell into the docker container to do the changes.

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว +1

      Hi David! Thank you so much for the suggestion. Yes, would definitely make life easier to edit the nginx.conf without having to go inside the shell all the time. Appreciate the tip, now I just have to get it working. 😉

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว

      David, just got this implemented and it works great. So much easier than having to ssh into the shell every time the nginx.conf file needs to be edited. Wish I had a deeper knowledge of the command line, but what I love about this community is the ability to learn from each other. Thanks again. Have a great night!

    • @GrishTech
      @GrishTech 3 ปีที่แล้ว

      @@QuikTechSolutions happy to help out our community

  • @SanderKranenbarg
    @SanderKranenbarg 8 หลายเดือนก่อน

    Thank you for the video; I managed to copy all the steps and make my own RTMP server as you did. However now I want to stream one of my IP cameras connected to my NAS to YT using the RTMP server (instead of the - unfortunately rather buggy Live Broadcast app). Do you have a follow-up video on how to do this? I am rather ignorant in this area, but I don't know how to select a stream from my NAS for streaming to YT.

    • @QuikTechSolutions
      @QuikTechSolutions  8 หลายเดือนก่อน

      Thanks for watching. I’m glad you found the video helpful. Currently I don’t have such a video, but plan on recording one this week. So, keep an eye out for it. Have a great day!

  • @Red1Wollip
    @Red1Wollip 3 ปีที่แล้ว

    Another good one Tony

  • @rijnmondmedia7324
    @rijnmondmedia7324 6 หลายเดือนก่อน

    Great video.
    Any suggestions for rtmps? Since Facebook Live doesn't allow RTMP anymore. Perhaps an instruction for stunnel on the docker?
    Tx

    • @QuikTechSolutions
      @QuikTechSolutions  6 หลายเดือนก่อน

      Thanks for watching. Actually, I’ve run nginx & stunnel on the same VM to stream to YT & FB simultaneously. I can probably put together a short video sharing my config. It works great!

    • @rijnmondmedia7324
      @rijnmondmedia7324 6 หลายเดือนก่อน

      @@QuikTechSolutions HI, I was able to add stunnel in the docker using apt install stunnel4. Configuring worked as well. However, the proces "stunnel" is not runnig by default after starting the docker. I have to logon, and then run "stunnel" from cli.
      Ofcourse there's no crontab in docker, so how can i start "stunnel" at the container startup?
      (if anyone's interested, I can add some small procedure in howto configure stunnel.)
      UPDATE: Installed docker, added stunnel. Run from start by Synology task scheduler using a userdefined script included startup of sTunnel.
      It was a fun day of programming, inspired by your video. Thanks again👌🏻

  • @PapaSharmaJi
    @PapaSharmaJi 3 ปีที่แล้ว

    Thanks for the video... It was useful..

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว

      Thanks for tuning in. Please subscribe, share, and give the video a like 👍. Have a great day.

  • @martinmatejka9518
    @martinmatejka9518 ปีที่แล้ว

    Hi! Thanks for an interresting video! I am a few steps back on this one and so far havent been able to google it O:-) . And maybe it is due to my NAS inability to work with it. So I have Synology DS218 - can I even stream video into it? If so, can you point me how? Do I need some service which enable me the RTMP? I havent been able to find anything useful so far :(
    Also I noticed that DS2x are not compatible with Docker - is that mean I have to low-end version to output the stream?
    Thanks!

  • @kmcg101
    @kmcg101 ปีที่แล้ว

    Thanks for the video. I'm hoping this will save me some money. I installed a video wall in my kitchen and I need a computer that is wired to my router to broadcast over over a UDP port that my video wall tiles are listening to. Can i substitute my UDP url where you wrote the streaming id url?

    • @QuikTechSolutions
      @QuikTechSolutions  ปีที่แล้ว +1

      Thanks for watching Kevin. If using RTMP, then yes.

    • @kmcg101
      @kmcg101 ปีที่แล้ว

      @@QuikTechSolutions I followed your instructions and the container is up and running with push udp://x.x.x.x:1234. any idea on how to bind a youtube URL to that udp port so it has something to broadcast?

  • @bike-pass-swish
    @bike-pass-swish 8 หลายเดือนก่อน

    Hi Tony I love your videos! I've got my container configured. I presume that to stream to my new RMTP server I configure the server as r,tp://IP Address:Port in the streaming software I want to use. I'm using a specific app on my iphone called SportsCam, it requires a stream key. can I generate a streamkey for the NGINX RMTP server?

    • @QuikTechSolutions
      @QuikTechSolutions  8 หลายเดือนก่อน

      Hi Tom, thanks for watching. I don’t know much about SportsCam other than it’s a remote live scoring app that gives control of managing the score to a remote person. That said, the Nginx RTMP server is used to stream to a content delivery system such as TH-cam. The URL and stream key used in the Nginx push command comes from the CDS in this case Youtbe.
      Ok, so I just watched a video on SportsCam. So what you need to do instead of streaming directly to YT from within the SportsCam app, you’re going to stream from the SportsCam to the Nginx server, then to TH-cam.
      You’ll have to schedule and create the stream right in the TH-cam Studio. Get the TH-cam server URL/stream Key and plug them into the push command in your Nginx config. If you are running Nginx in a container, you have stop and restart the container in order for the changes to the config to take effect.
      Hope this helps.

  • @AlexBaffo
    @AlexBaffo 2 ปีที่แล้ว

    Hello have Syno NAS any HDMI input port or any video input port ? I would try this: PC videocard → Video input port Syno → Stream on Twitch server via RTMP Syno in real time. Do you think is it possible ? tyvm Alex

  • @MilanReed
    @MilanReed 3 ปีที่แล้ว

    Hi there! thank you so much for this video, I've been trying to figure out how to do this for weeks and your explanation finally made it clear. My only question is how do I save the stream on the Synology NAS? I want to keep the high resolution copy before youtube adds compression. Thanks for your help!

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว

      Thanks so much. Glad you found the video helpful. What are you using as an encoder? Atem?

    • @MilanReed
      @MilanReed 3 ปีที่แล้ว

      ​@@QuikTechSolutions Yes, it is a remote setup with unstable internet, ISP has a max upload speed of 10mbps. If I can get the video from ATEM to the NAS over LAN I should be able to increase the quality setting on the ATEM and upload that after the live stream.

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว

      Why not plug an SSD into the Atem and record? The result would be the same. The Atem has one encoder so whatever the stream quality is set to on the Atem is what will be recorded & streamed. So whether it is recorded to the NAS over the LAN or saved directly to the SSD, quality is the same.

    • @MilanReed
      @MilanReed 3 ปีที่แล้ว

      @@QuikTechSolutions Right. The ATEM stream encoder saves the same quality to the USB. Right now I'm limited by the ISP. I can't set higher quality on the ATEM because the stream is unstable. So I get a low bitrate stream and low bitrate USB file. If docker can receive and save a high bitrate stream that's a step. If it can then reencode that stream at a lower bitrate and push it out that's the full solution. I'd have a low bitrate stream with a high bitrate file.
      I'm just trying to figure out part 1 right now, can docker save a high bitrate stream.

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว +2

      @@MilanReed gotcha! I believe the Nginx RTMP server has the ability to record streams at a higher rate. I’ve never tried it, but have seen a few videos out there. Now you have my interest peaked. Gonna look into it over the next few days.

  • @dbmgreen
    @dbmgreen 2 ปีที่แล้ว

    Great video, I'm trying to use the Synology "Live Stream" app to youtube, but it stops after 8 / 10 /12 hours randomly. Any notes as to whether this method "stays alive" longer?
    Also, how do you control the bandwidth via this method?
    My camera is pretty high res, and it does hog bandwidth unless I dial it down.

    • @QuikTechSolutions
      @QuikTechSolutions  2 ปีที่แล้ว +1

      Hey David, thanks for watching and commenting. I control my bandwidth in the Atem switcher. I haven’t streamed for that long a period of time, but seeing as the NAS is a robust piece of hardware, I wouldn’t expect any issues. Have a great day!

  • @familynoulet-beserra4165
    @familynoulet-beserra4165 3 ปีที่แล้ว

    Hi, great tutorial and got it working in no time!!! Just wondering if there's an easy way to access and adjust the nginx.conf file? (I tought it was mentioned in the comments before, but can't find it anymore) Cheers

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว

      Thanks so much for tuning in and commenting. Yes there is an easy way to access the config file. I talk about it at the 16:50 mark in this livestream I did following the release of that this video. th-cam.com/video/ypQZ2dXec0g/w-d-xo.html
      Please subscribe, share, and give the video a like 👍. Have a great day!

  • @RoolandTheunissen
    @RoolandTheunissen 3 ปีที่แล้ว

    so would it be possible to stream to my wordpress website on the synology ?

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว

      Hello Rooland, I really can’t speak to Wordpress as I haven’t used it in years. I found a link that should at least point you in the right direction to get started. Also try Wordpress forums.
      accesspressthemes.com/blog/add-live-streaming-to-wordpress-site/

  • @davidalbert9387
    @davidalbert9387 3 ปีที่แล้ว

    Let say I have an SDI video feed I converted to RTSP but I need to distribute locally within my LAN. I want only my local 20-30 users to watch the stream via a weblink. I am not allowed to publish to TH-cam or any other CDN, I need to distribute the video myself. Will this Synology NAS solution work?

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว

      Hi David, two different protocols. Check into VLC for viewing RTSP.

  • @jjrecourt
    @jjrecourt 3 ปีที่แล้ว

    Thanks a lot for the video Tony! I have a question, what if you don't want to send the stream to YT or similar? What I want to do is have my own youtube, where I can generate a viewing link to be directely embedded on a website or played on VLC remotely. Is a PULL command then? I'm already doing this on my mac with a little app called "Local RTMP Server" I want to do the same on my synology NAS to free the mac from that work, thanks

    • @QuikTechSolutions
      @QuikTechSolutions  3 ปีที่แล้ว +1

      Hi Jordi, Thanks for tuning in & commenting. To view through VLC and not send out to an online service, you need to comment out the "push" command in the nginx.conf file. Once this change has been made, restart the container for the change to take effect. To view a stream sent to the RTMP server through VLC, open VLC, then select File>Open Network Stream. Enter the stream URL ex. rtmp://rtmpserverip/live. Hope this helps. Have a great day.

    • @jjrecourt
      @jjrecourt 3 ปีที่แล้ว

      @@QuikTechSolutions Thanks a lot!

  • @Norain1992
    @Norain1992 2 ปีที่แล้ว

    Thanks a lot for the video! Very interesting what we can archive. If I would like to stream outside of my home network, using my phone lte, how should I configure it? Which rtmp address do I have to enter for the stream?
    Greetings and all the best

    • @QuikTechSolutions
      @QuikTechSolutions  2 ปีที่แล้ว +1

      Hi Norain! Thanks for watching. Not sure I understand. You want to stream from your phone using LTE to your NAS running the RTMP server? This isn’t possible as the device you are streaming from and the device you are streaming to must be on the same local network.

    • @Norain1992
      @Norain1992 2 ปีที่แล้ว

      @@QuikTechSolutions thanks for the fast reply, I highly appreciate that!
      Okay, so there is no way to archive that? The dji Osmo pocket is supporting live streaming and custom rtmp, same as the Lumix GH5ii. I was wondering if I could create a private stream outside my home network without using TH-cam or Facebook streaming option. (using VLC Player or obs for example)

    • @QuikTechSolutions
      @QuikTechSolutions  2 ปีที่แล้ว +1

      @@Norain1992 you could stream from your phone from outside your network to your NAS using a VPN.

    • @Norain1992
      @Norain1992 2 ปีที่แล้ว

      @@QuikTechSolutions you mean by using the NAS VPN Server?

    • @Norain1992
      @Norain1992 2 ปีที่แล้ว

      @@QuikTechSolutions Hey, thanks for your suggestion. :-) I gave it a try, unfortunately when VPN is activated WIFI-Hotspot and USB-Tethering get blocked. :-/ Is there any solution for that?

  • @CameraXuanTruongvip
    @CameraXuanTruongvip 2 ปีที่แล้ว

    Is there a way to record my livestream file?

    • @QuikTechSolutions
      @QuikTechSolutions  2 ปีที่แล้ว

      What are you using as an encoder? Atem, OBS or something else?

    • @CameraXuanTruongvip
      @CameraXuanTruongvip 2 ปีที่แล้ว

      @@QuikTechSolutions I use my phone to run the RTMP app that broadcasts the address of the Synology NAS
      Then from the new PC, get it from the NAS to the PC to livestream
      So I want to save the files from my phone to the NAS

  • @basretie5179
    @basretie5179 2 หลายเดือนก่อน

    At 5:40 you lost me.
    Shell nano things.... to bad..
    Dont even know how to open that command cmd thing...

    • @QuikTechSolutions
      @QuikTechSolutions  หลายเดือนก่อน

      Hello, thx for watching. I understand getting lost for sure. Doing this type of stuff requires some basic linux skills. Without those, it is hard to understand. Trust me, been there, done that. Been learning more & more linux command line over the last few years to have a better understanding myself. Have a great day.

  • @lovedogj
    @lovedogj ปีที่แล้ว

    When I enter the command
    root@mane:~# sudo docker exec -it f3060f511a7f bash
    OCI runtime exec failed: exec failed: container_linux.go:367: starting container process caused: exec: "bash": executable file not found in $PATH: unknown
    I am Taiwanese and my English is not good
    please teach me thank you

    • @QuikTechSolutions
      @QuikTechSolutions  ปีที่แล้ว +1

      Thanks for watching. It appears that you entered this command after already being at root. This command is entered from the user home directory. I suggest you start from scratch, rewatch the video and follow it step for step.

    • @lovedogj
      @lovedogj ปีที่แล้ว

      @@QuikTechSolutions Thank you very much. Already successful.
      Can the name STREAM be changed to another user name?