Scripts for TVHeadend (playing, streaming, etc...)
Export TVHAUTH with username and password:
export TVHAUTH=user:pass
Then view channels with, for example:
tvh=localhost ./play_channel.sh ?
Then play locally with, for example:
tvh=localhost ./play_channel.sh 70
Create a webpage with hls streaming options:
tvh=localhost ./hls_channel.sh 70
Create a webpage with a dash stream:
tvh=localhost ./stream_channel.sh 70
For hls_channel and stream_channel, you can also specify different encoding options as a second parameter. For example:
tvh=localhost ./hls_channel.sh 70 fullhd hd sd
Available options are:
fullhdhdsdfullhd_vaapihd_vaapisd_vaapifullhd_nvenchd_nvencsd_nvencfullhd_hevc_nvenchd_hevc_nvencsd_hevc_nvencfullhd_cuvidhd_cuvidsd_cuvidfullhd_hevc_cuvidhd_hevc_cuvidsd_hevc_cuvid