Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 823 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 823 Bytes

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.