Skip to main content

The Python toolkit package and cli designed for auto loop live.

Project description

looplive

简体中文 | English

欢迎使用,欢迎提供更多反馈,欢迎 PR 贡献此项目,请勿用于违反社区规定的用途。

looplive 是一个 7 x 24 小时全自动循环推流直播工具,预计支持更多的平台。

The Python toolkit package and cli designed for auto loop live.

提前准备

首先,你的机器上需要有 ffmpeg 工具。

  • Ubuntu
sudo apt update && apt install ffmpeg -y
  • MacOS
brew install ffmpeg
  • Windows 和更多平台: 请参考 官方页面.
  • Python >= 3.8

使用

开始直播

  1. 前往 直播页面.
    • 如果你还没有直播权限,请先申请,点击 立即开通直播间,然后按照 b 站提示操作。
  2. 点击 开始直播.
  3. 获取推流服务器地址 -s 和串流密钥 -k

快速开始

为了避免命令参数被错误分隔,请使用英文双引号 " 包裹每一项参数。参数 -f 是视频文件的存放文件夹。

looplive add -s "rtmp://xxxxxxxx" -k "?streamname=xxxxxxxx" -f "your/folder/path"
looplive bili

更多用法

$ looplive -h

looplive [-h] [-V] {check,add,reset,bili} ...


The Python toolkit package and cli designed for auto loop live.

positional arguments:
  {check,add,reset,bili}
                        Subcommands
    check               Check the configuration
    add                 Add the configuration
    reset               Reset the configuration
    bili                Stream on the bilibili platform

optional arguments:
  -h, --help            show this help message and exit
  -V, --version         Print version information

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

looplive-0.0.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

looplive-0.0.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file looplive-0.0.1.tar.gz.

File metadata

  • Download URL: looplive-0.0.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for looplive-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3e28387cea42b471f74f6bcda80c24fce36ad745bad84b356829d8425e801e23
MD5 ccf9ca1256995e04734fc5c2107615b4
BLAKE2b-256 20fef15b8fe807a0b9b127c653c3fd6f18edb84f2134b386cc3dde549a5e5e54

See more details on using hashes here.

File details

Details for the file looplive-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: looplive-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for looplive-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59bca48d06314c1cc7db71a13fda87ad901df0414e6df425ce3933eb384103aa
MD5 827ddac264c4f15a2069f41b2c4e1301
BLAKE2b-256 f70c4fc20a070568b8ead00c431319b151ee38d2ff76cf9f035a80bf84e985d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page