Converts an input video file to HLS at multiple qualities, optionally adding output chunks and amended m3u8 playlists to IPFS.
python3 src/cli.py --help
For example:
python3 src/cli.py --ipfs --input-file examples/input.mp4
An example of IPFSStreamingVideo()
Python module usage can be seen in src/cli.py
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.
All contributions are welcome, just open a Pull Request or Issue.