-
Streamlink is a tool that is able to play streams from sites such as Twitch or others, and can make that stream available in some port by using the option --player-external-http, so that the ip and port are logged when using it (for example: 127.0.0.1:12091) Is there a way to pipe the stream Streamlink provides when using the option --player-external-http to video.js? Just using ip:port as the video src does not seem to work. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
it's an interesting idea |
Beta Was this translation helpful? Give feedback.
-
streamlink team (well currently only one is on it.. ) doesn't want to restream , i m pretty confident it would have been easy for them to implement the option to output to an rtmp server but.. . so what you do is pipe to stdout the streamlink input and then use ffmpeg to grab the input and restream where you want |
Beta Was this translation helpful? Give feedback.
It's been some time but I was able to resolve this some months ago by using node-rtmp-hls instead of nginx (with nginx the stream video was corrupted somehow).
I also made a script to do it automatically which I uploaded here.