-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
twitch streaming guide #726
Comments
What's the guide or API of twitch? For example, how can you publish stream to twitch by ffmpeg? |
It should basically be 'push rtmp://live-lhr.twitch.tv/app/twitch_key;' and it should be flv for ffmpeg i've been using: This was done with arut/nginx-rtmp-module, but since it is no longer being updated I would like to move to something that is an maybe get better results in the long run :) |
You can stream to twitch the same way that you stream to any other RTMP FLV consumer via some push. |
Maybe you can try SRS edge, which proxy all stream to upstream server, without any transcoding. BTW, why transcode by ffmpeg in your previous scenario? Must you transcode it? Or just ok to proxy the stream to twitch server? The transcoding takes lots of CPU, so we should never use it unless it's necessary. |
SRS EDGE to proxy stream to one upstream: https://github.com/ossrs/srs/wiki/v1_EN_Edge |
I want to transcode on server side because this way I can keep my gaming PC CPU free, I can send 50000k video with NVENC to server (almost 0 impact on gaming pc) and then server makes it ready for twitch with good quality at 2500k. If I would use same 2500k on PC then NVENC would screw with quality and x264 would just eat up CPU. I'll start experimenting on this and see what I can come up with, thanks! |
You must use transcoding of SRS by FFMPEG, you can write the output url to use variables, please read the transcode wiki. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Sorry for a dumb question, but is there a guide for setting this up to use for transcoding and streaming to twitch for not so gifted guys with basic understanding of how stuff works? Thanks!
The text was updated successfully, but these errors were encountered: