Giter VIP home page Giter VIP logo

plex-tuner's Introduction

Plex-Tuner

兼容Plex的电视直播和数字录像机软件

配置文件

{
    "id": "iptv",
    "tuner_count": 1000,
    "listen": "0.0.0.0:33400",
    "channel": "channel.json"
}

id:同一个plex中,id不能重复

tuner_count:plex中同时可以播放的数量(实际上并不限制)

listen:监听的端口

channel:频道列表文件,支持http/https地址作为源

频道列表文件

[
    {
        "id": "bilibili",
        "name": "Bilibili",
        "url": "23900931",
        "type": "bilibili"
    },
    {
        "id": "7",
        "name": "CCTV-6电影",
        "url": "http://stream-shbu.bestvcdn.com:8080/live/program/live/cctv6hd/4000000/mnf.m3u8",
        "type": "hls"
    },
    {
        "id": "camera",
        "name": "IP Camera",
        "url": "rtsp://127.0.0.1:554/h264/ch1/main/av_stream",
        "type": "rtsp"
    }
]

id:在plex所配置的epgxml文件中与channel的id要对应上

name:在plex所配置的epgxml文件中与channel的名称要对应上

url:源地址,如果是bilibili,则为Bilibili直播间的id

type:源类型,支持hls、rtsp、bilibili

开发相关

目前初步测试,plex所支持的流为ts格式的流,mp4f的流似乎无法播放出来。

ts的流可以在流的任意一个位置开始读,mp4f的流由于需要header的信息,所以做不到任意位置读取,需要从header开始位置读取。

plex-tuner's People

Contributors

abxuz avatar

Stargazers

Fieryredhead avatar Z1nc avatar le4f avatar

Watchers

 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.