How can we transcode live rtmp stream to live hls stream using ffmpeg?

后端 未结 4 829
花落未央
花落未央 2020-12-07 09:03

I am trying to convert a live rtmp stream to hls stream on real time.

I got some idea after reading

http://sonnati.wordpress.com/2011/08/30/ffmpeg-%E2%80%93-

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-07 09:35

    As an update to this question, I've managed to complete the live transcoding from RTMP to HLS without the use of ffmpeg, how?

    Well just by using the exact same nginx config file shared by user3069376 and being very careful about the paths that you are generating the .m3uh manifesto, the hls option within the RTMP module should take care of it.

    As for video player the Video.Js worked like a charm o

提交回复
热议问题