Giter Site home page Giter Site logo

iptv-restreamer2's Introduction

IPTV Restreamer with Adaptive Streams

example event parameter

This is a Python-based project for IPTV restreaming with adaptive streams. It uses the python-ffmpeg-video-streaming package and can be run in a Docker container.

Run from public repository

docker run -d --rm -p8000:8000 romaxa55/iptv-restreamer

How to Use

  1. Clone this repository to your local machine by running git clone https://github.com/Romaxa55/iptv-restreamer.git
  2. Install the required dependencies by running pip install -r requirements.txt
  3. Start the restreamer by running python main.py
  4. Download the playlist from ilook.tv and replace the IP addresses in the m3u8 playlist with your server's IP address and port number (e.g. http://localhost:8000).

Using Docker Build owner image

  1. Install Docker on your machine.
  2. Build the Docker image by running docker build -t iptv-restreamer .
  3. Start the Docker container by running docker run -d --rm -p8000:8000 iptv-restreamer
  4. Download the playlist from ilook.tv and replace the IP addresses in the m3u8 playlist with your server's IP address and port number (e.g. http://localhost:8000).

Configuration

The config.json file is used to configure the restreamer. Here is an example configuration:

{
  "webserver": {
    "host": "0.0.0.0",
    "port": 8000
  },
  "iptv": {
    "host": "http://username.otttv.pw"
  }
}

You can modify this file to adjust the port number, the path to the playlist, and other settings. By default, the restreamer listens on port 8000.

This program is particularly useful for places with very bad internet connections. The streamer automatically adapts the video quality to your internet channel, ensuring that the streaming is not interrupted due to low bandwidth.

License

This project is free to use and modify under the MIT License. See the LICENSE file for details.

Contact

If you have any questions or issues with the project, you can contact the developer on Telegram: @romaxa55.

iptv-restreamer2's People

Contributors

romaxa55 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.