Please configure Nginx-rtmp and ffmpeg to encode to any service.

vansontv

Member
Hello everyone, over time using OBS, I found this program to be quite good, but it does not generate many services, so I would like to ask if you have a stable Nginx-rtmp and ffmpeg configuration, please tell me what I can find in it. forum but can't do it forever can you shera me
 

vansontv

Member
[QUOTE = "konsolenritter, bài đăng: 554067, thành viên: 328382"]
Khá khó để hiểu những gì bạn muốn. Chính xác thì bạn có nghĩa là gì với "nhiều dịch vụ"?
[/TRÍCH DẪN]
I want to play stream youtube Facebook Twitter Instagram Nginx-rtmp and ffmpeg can I do that?
 

konsolenritter

Active Member
At least for Youtube and Facebook you don't need ffmpeg or any kind of recoding at your side. Nginx-rtmp fits totally, as long as you find a common bitrate for the providers. But: The providers/services you mean should support rtmp upload and provide an url-encoded scheme consisting the particular streamkey for your account there. Otherwise you couldn't specify the target at nginx configuration file level.

But you need a fortress in the internet, a vps server at least, for the nginx-rtmp. Cause you will upload to it once, if possible. The server then targets the service providers each (means n times bandwidth with n the number of target platforms/providers). In total sums to (n+1) times the bandwidth you send from your side.
I can't describe the whole way of setting up an rtmp server on the inet (and its out of scope for this forum, to mention), but a small last hint:

In the config file of the nginx you will insert into the rtmp->server->application section single directives for each service/provider like
"push rtmp://[server-ip]/[url-encoded-ingest-point-and-your-streamkey] ;"
Then with "push_reconnect 10s;" for instance you can say that the server retries every 10 seconds if his connection to the target service gets lost for a moment.
 

vansontv

Member
At least for Youtube and Facebook you don't need ffmpeg or any kind of recoding at your side. Nginx-rtmp fits totally, as long as you find a common bitrate for the providers. But: The providers/services you mean should support rtmp upload and provide an url-encoded scheme consisting the particular streamkey for your account there. Otherwise you couldn't specify the target at nginx configuration file level.

But you need a fortress in the internet, a vps server at least, for the nginx-rtmp. Cause you will upload to it once, if possible. The server then targets the service providers each (means n times bandwidth with n the number of target platforms/providers). In total sums to (n+1) times the bandwidth you send from your side.
I can't describe the whole way of setting up an rtmp server on the inet (and its out of scope for this forum, to mention), but a small last hint:

In the config file of the nginx you will insert into the rtmp->server->application section single directives for each service/provider like
"push rtmp://[server-ip]/[url-encoded-ingest-point-and-your-streamkey] ;"
Then with "push_reconnect 10s;" for instance you can say that the server retries every 10 seconds if his connection to the target service gets lost for a moment.
I want to configure Nginx on my machine without VPS can I configure PC Core(TM) i7-4930K RAM 48.0 GB Geforce GTX1070 my bandwidth is up to 200mbs my need to play only on 2 youtube and Facebook services ok do you have any good configuration shera for me please
 

konsolenritter

Active Member
Not really, because i've done it on a vps under linux. As said there are a lot of video on youtube how to setup one.
Search on YT, for instance, for "Nginx streaming server on windows with OBS - the easy way"

Maybe that's what you are looking for. Cause you have an older i7 nowadays you _strictly_ should avoid recoding on the nginx server. Due to the additional overhead in hardware demand beside the encoding OBS.

A complete other way is: Search in the resources section here in the forum. There is such as an multiple output plugin you may use to send to different service, if i remember.
 

52rpm

Member
are u try search obs rtmp plugins?

some time ago i make rtmp nginx server on my raspberry pi :) easy piizi or any single board computer.
 
Top