Should I use htsp or remux to ts?
#1
The video stream in my iptv m3u is Codec: H264 - MPEG-4 AVC (part 10) (h264). Should I use htsp or remux the video to ts format? I am using Kodi 19.4 on Nvidia Shield. I sometimes have an issue where the video streams stop working but I am not sure if it has anything to do with this setting. I have timeshift enabled.
Reply
#2
HTSP is the network protocol.  As for video format TVHeadend only supports mpegts.  If your iptv is not mpegts you'll more than likely need to pipe through ffmpeg and remux to mpegts.
Reply
#3
(2022-11-23, 07:56)bluzee Wrote: HTSP is the network protocol.  As for video format TVHeadend only supports mpegts.  If your iptv is not mpegts you'll more than likely need to pipe through ffmpeg and remux to mpegts.

Yes - TV Headend uses htsp as its protocol to send streams TO clients FROM TV Headend. (It can also stream http mpegts - which are the links behind the play buttons in the configuration-channels tab). You don't use htsp format streams as a source to your TV Headend server.

As input streams to TV Headend - as @bluzee wrote - you need your sources to be in MPEG2 transport stream format (aka mpegts) (NB this doesn't mean the video is MPEG2 - just the transport stream. The video can be MPEG2, h.264/AVC, h.265/HEVC etc.).

If your IPTV provider doesn't provide streams in this format you will need to convert them to mpegts. There are a ways of doing this with shell scripts and ffmpeg - a look around the TV Headend site will show some options.  I did this when I linked two TV Headend servers in different countries over a VPN using the Secure Reliable Transport system a couple of years ago. (That used SRT format streams to carry an MPEG2 transport streams)
Reply
#4
Thanks for the response. I got it.
Reply

Logout Mark Read Team Forum Stats Members Help
Should I use htsp or remux to ts?0