RumanticK / IPFSStreamingVideo

IPFS Streaming Video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

banner

Converts an input video file to HLS at multiple qualities, optionally adding output chunks and amended m3u8 playlists to IPFS.

Usage

Command-Line Interface

python3 src/cli.py --help

For example:

python3 src/cli.py --ipfs --input-file examples/input.mp4

Python Module

An example of IPFSStreamingVideo() Python module usage can be seen in src/cli.py

Web Player

An example HLS-capable web player can be found at examples/player.html, which can also be added to IPFS! Just change the m3u8 playlist hash in player.html to the one returned by the CLI.

Contributing

All contributions are welcome, just open a Pull Request or Issue.

About

IPFS Streaming Video


Languages

Language:Python 69.2%Language:Shell 22.4%Language:Dockerfile 8.3%