A small web service that exports tvheadend services via HLS
tvheadend_to_hls
on..env
-File in the directory you downloaded tvheadend_to_hls
to configure it.
tvheadend_user=username
tvheadend_pass=password
tvheadend_ip=ip
tvheadend_to_hls
, run docker-compose build
and then docker-compose up
to run it.This is fine. The src subdirectory contains a Python program which acts as a web server and calls ffmpeg to create the files for the stream. It should also serve those files. This is probably not wise, as a dedicated webserver likely is faster.
This is not meant to be scalable. This is a small personal project to provide, for example, TV to a small dormatory or community.
Make sure you understand your bottleneck. If you are dealing with many different channels that are being streamed, make sure the encoder has enough oompf to handle it or lower the encoding complexity.
If your stream the same channel to a lot of people, just install a caching proxy in front of it.
tvheadend_user=user
tvheadend_pass=pass
tvheadend_ip=ip