Github项目地址:https://github.com/239144498/Streaming-Media-Server-Pro
10K+
在互联网快速发展的今天,有成千上万个用户都有观看电视的需求,而我, 想打造一个让每个人都拥有自己的电视频道的目标,每个人都可以根据自己的喜欢去筛选喜欢的节目, 并且拥有免费且流畅的观看体验。
.
├── app
│ ├── __init__.py
│ ├── main.py
│ ├── log
│ ├── api
│ │ ├── __init__.py
│ │ ├── a4gtv
│ │ │ ├── __init__.py
│ │ │ ├── endecrypt.py
│ │ │ ├── generateEpg.py
│ │ │ ├── tasks.py
│ │ │ ├── tools.py
│ │ │ └── utile.py
│ │ └── v2
│ │ ├── __init__.py
│ │ └── endpoints
│ │ ├── __init__.py
│ │ ├── more.py
│ │ └── sgtv.py
│ ├── assets
│ │ ├── EPG.xml
│ │ ├── diyepg.txt
│ ├── common
│ │ ├── __init__.py
│ │ ├── costum_logging.py
│ │ ├── diyEpg.py
│ │ ├── gitrepo.py
│ │ └── header.py
│ ├── conf
│ │ ├── __init__.py
│ │ ├── config.ini
│ │ └── config.py
│ ├── db
│ │ ├── __init__.py
│ │ ├── DBtools.py
│ │ └── dbMysql.py
│ └── scheams
│ ├── __init__.py
│ └── basic.py
├── main.py
├── requirements.txt
├── Dockerfile
├── README.md
├── Procfile
└── LICENSE
后端对接的本项目接口,可以在线观看接口内的所有电视。


如下图所示:

图中多台服务器是一种理想情况下实现,实际python程序、redis和mysql都可以在同一台服务器中实现
该项目根据分析4gtv网站的接口,通过算法得到生成ts视频的一些关键参数,省去请求网站从而得到m3u8文件的通信时长等开销,针对海外视频网站被墙隔离,支持以下几种观看方式:
python版本>=3.8+
git clone https://github.com/239144498/Streaming-Media-Server-Pro.git
pip install -r requirements.txt
python3 main.py
(docker部署)更多使用教程详情 https://www.cnblogs.com/1314h/p/16651157.html
非常感谢「 这些用户 」对本项目的赞助支持!
如果你觉得本项目对你有帮助,请考虑打赏本项目,以激励我投入更多的时间进行维护与开发。 If you find this project helpful, please consider supporting the project going forward. Your support is greatly appreciated.
Every time you spend money, you're casting a vote for the kind of world you want. -- Anna Lappe

你在GitHub给的star或者赞助是我长期维护此项目的动力所在,由衷感谢每一位支持者,“每一次你花的钱都是在为你想要的世界投票”。 另外,将本项目推荐给更多的人,也是一种支持的方式,用的人越多更新的动力越足。
Content type
Image
Digest
sha256:c0423e56a…
Size
323.6 MB
Last updated
almost 4 years ago
docker pull 239144498/streaming