Docker image definition with an TS TCP to HLS segmenter tool installed (Segmenter's source code: online-segmenter)
- Ensure you have docker installed
- Type:
docker pull jcenzano/tstcp-segmenter
- Ensure you have docker docker and make installed
- Type
make
- You can test the image with this command (you should see the tool's help):
docker run --rm -it jcenzano/tstcp-segmenter
You can call TS TCP segmenter docker like you call the local command, just adding the TS TCP segmenter parameters (*) at the end of the docker run call, synchronous example:
docker run --rm -it jcenzano/tstcp-segmenter 5000 /tmp media_ out.m3u8 4 127.0.0.1 event
You can also running it in background (daemon) with -d
:
docker run --rm -itd jcenzano/tstcp-segmenter 5000 /tmp media_ out.m3u8 4 127.0.0.1 event
(*) See online-segmenter for more information about possible parameters.