Nginx-rtmp-module: Pull & Push

Created on 26 Oct 2015  路  6Comments  路  Source: arut/nginx-rtmp-module

Can this module be used to pull a remote stream and push it at the same time in a stand alone server capacity without the need for a user to visit the push url?

For example:
Pull stream1

and push it to say twitch.tv?

Most helpful comment

Try to start "static" ffmpeg commands: https://github.com/arut/nginx-rtmp-module/wiki/Directives#exec_static
exec_static ffmpeg -i rtmp://pull-sever/app/stream -c copy rtmp://localhost/live
and in live app setup push to other server.
Or just from begin restream to other server.

Or if twitch can pull stream by itself - just setup live app to pull streams from first server.

All 6 comments

Thanks @Wqer555 but I believe that is just to push 2 streams at once

I need something to grab (pull) a stream and push it at the same time

how about using exec directive to call ffmpeg?

I am also interested in something similar.

Maybe I somehow can start PULLing from other stream, on request?
I tried the pull rtmp://stream/a/b method inside dash application but I can't start to play http://site/dash/key.mpd since it does not yet exist :(

Thank you

Try to start "static" ffmpeg commands: https://github.com/arut/nginx-rtmp-module/wiki/Directives#exec_static
exec_static ffmpeg -i rtmp://pull-sever/app/stream -c copy rtmp://localhost/live
and in live app setup push to other server.
Or just from begin restream to other server.

Or if twitch can pull stream by itself - just setup live app to pull streams from first server.

@SmokE-PGF are you problem resolved? i am also interested in that problem.
but i do not have any resolution yet!

Was this page helpful?
0 / 5 - 0 ratings