JasonRivers / Docker-nginx-rtmp

Docker Image for RTMP streams using Nginx
180 stars 114 forks source link

Live Transcoding #11

Open Tythus opened 6 years ago

Tythus commented 6 years ago

Would it be possible for this to have optional transcoding also? or would you happen to know a container that already does this or a way to do this.

coffeebean-dev commented 6 years ago

It's not a Docker Container yet: https://github.com/fyroc/RTMP-Playlist

JasonRivers commented 6 years ago

I was going to look at optional transcoding, as part of a bigger project we're working on we're looking at having multiple feeds at multiple bitrates, the RTMP stuff from @fyroc might be a good start on this. Our general idea is to have seperate containers to do the transcoding for each bitrate and a master RTMP server, this means that the you would push your RTMP to the master, and the transcoding containers would then pull from there and finally all push to a "broadcast" container, This means under heavier load this could run across multiple systems and also be deployed on multiple networks. Part of the idea here is that for bandwidth limited locations you would push a single RTMP feed in to the network and deploy the stack of transcoding containers there, people on that network would then be pointed to the "local" broadcast container.

All of this is pretty high on my todo list, and I'm hoping this weekend (which is a hackathon for this type of stuff) I will get time to get my head down and create a mostly working prototype that I can then clean up for production.