Re-stream/Mirror HTTP Live Stream

9,505

you can try ffmpeg - it does have ffserver which allows to either prepare a local file for on-demand streaming, or you could also set the stream address as a source and re-broadcast it via ffserver - I did a few tests a couple of years ago - including mplayer, which I used to get the stream, re-encode via ffmpeg and push it to ffserver

My idea of "rebroadcast" was to provide a local, stream server on LAN, and have the clients connect locally, instead opening 10-20 connections to the remote and killing the WAN.

Share:
9,505

Related videos on Youtube

ndev
Author by

ndev

Updated on September 18, 2022

Comments

  • ndev
    ndev over 1 year

    I need to re-stream/mirror some HLS’s (HTTP Live Stream) using a Linux server.

    From input

    http://anystream.com/channel1.m3u8
    

    To output

    http://127.0.0.1/abc.m3u8
    

    I found several media servers but they lack of documentation. (like crtmpserver or next gen media server) But it doesn’t have to be a server solution, a how-to for ffmpeg or a PHP/Phyton script (if possible) would be great too.

    Thank you in advance.