Tvheadend and iptv tokens
Added by KJB KJB over 7 years ago
Hi all,
Currently trying to set up my local FTA channels with TVHeadend and struggling to get these to work at all.
I have a feeling the streams themselves request a token each time they are playing and TVHeadend does not seem to recognise this when scanning the channel. I am just getting the following error and cannot subscribe.
httpc: Invalid url 'K301800.key'
Am I missing something or is this not possible at the moment?
An example of one of the links.
https://sevenwestmedia01-i.akamaihd.net/hls/live/224813/MEL1/master.m3u8
Any idea?
Thanks
Replies (7)
RE: Tvheadend and iptv tokens - Added by Robert Cameron over 7 years ago
AIUI, HLS streams are not supported for IPTV. You need MPEG-TS streams for IPTV.
RE: Tvheadend and iptv tokens - Added by KJB KJB over 7 years ago
Thank you.
Can node-ffmpeg-mpegts-proxy be used to overcome this or is there no workaround at the moment?
RE: Tvheadend and iptv tokens - Added by Robert Cameron over 7 years ago
I believe you can use the pipe://
protocol with ffmpeg
for HLS streams. There shouldn't be any problem as long as you can normally consume the stream with ffmpeg
, just be sure to set your format specifier as -f mpegts
.
RE: Tvheadend and iptv tokens - Added by KJB KJB over 7 years ago
Did some investigating and pipe works great. Thank you!
RE: Tvheadend and iptv tokens - Added by Omri Danieli over 7 years ago
hello,
Is it possible to get some help with using pipe as well?
I connected to an IPTV server with Token apparently:
http://client-proiptv.com:8080/live/AAAAA/BBBBB/3298.ts
How to I phrase it to use PIPE?
RE: Tvheadend and iptv tokens - Added by KJB KJB over 7 years ago
Hi,
Give the following a try.
pipe:///home/pi/ffmpeg/ffmpeg -i http://client-proiptv.com:8080/live/AAAAA/BBBBB/3298.ts -vcodec copy -acodec copy -f mpegts pipe:1
I'm not sure if the link you gave is correct as I am getting an authorisation failed but that is what i've been using and it's fine.
Thanks