Build Your Own RTMP Server On A Synology NAS

preview_player
Показать описание
In this video, Build Your Own RTMP Server On A Synology NAS, I walk you through the process of building your own RTMP server inside a Docker container on a Synology NAS.


Channel Support:
* Notice Regarding Patreon - I no longer have an active account.

Earn $100 Cloud Credits from Digital Ocean by signing up at:

Amazon Affiliate Storefront:

CLI Commands used in this video:
To obtain the container ID - sudo docker container ls
To get into the root level of the container - sudo docker exec -it container ID bash

To install Nano editor:
apt-get update
apt install nano

Disclaimers:

This video is not made for or intended for kids.

I participate in the Amazon Affiliate/Influencer Program. When purchasing using my Amazon Affiliate links, your price doesn't change. You pay the same, but I do get a small percentage of the sale in commission. This helps the channel to continue creating content you enjoy viewing.

About Tony:
I am a retired educator of 32 years. I started out as an instrumental music teacher and evolved into technology support. After many years of providing technology support to teachers and students, the last ten years of my career, I was in a leadership position of Technology Coordinator and also Supervisor of Technology. My passion has always been helping people. I hope to continue helping people through my YouTube channel.

Contact Tony at:

Follow me on:
Twitter @quiktechreview
Facebook @quiktechsolutionsllc
Instagram @quiktechsolutionsllc

Hope you enjoyed this video. Please subscribe, like, & share.

Regards!!
Рекомендации по теме
Комментарии
Автор

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.

keithbennett
Автор

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

PapaSharmaJi
Автор

Thanks! :)

Finally i have my own rtmp. :)

gonzalomoldes
Автор

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

UnkyjoesPlayhouse
Автор

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.

dbmgreen
Автор

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!

martinmatejka
Автор

... 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.

FriikD
Автор

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

familynoulet-beserra
Автор

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!

MilanReed
Автор

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.

SanderKranenbarg
Автор

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

jjrecourt
Автор

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?

kmcg
Автор

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

AlexBaffo
Автор

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

rijnmondmedia
Автор

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

RoolandTheunissen
Автор

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 YouTube or any other CDN, I need to distribute the video myself. Will this Synology NAS solution work?

davidalbert
Автор

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?

bike-pass-swish
Автор

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

Norain
Автор

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:

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.

GrishTech
Автор

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.

deadhead