Here is another attempt to simplify my setup:
I am using the following stream:
http://abclive.abcnews.com/i/abc_live4@136330/index_1200_av-b.m3u8?sd=10&b=1200&rebase=on
I can confirm that I can watch it with:
ffmpeg -i ‘http://abclive.abcnews.com/i/abc_live4@136330/index_1200_av-b.m3u8?sd=10&b=1200&rebase=on' test.mp4
I’ve created a DVB-Input
Networks: IPTV Network
added the URL in an item of Muxes
created a Service and an Item in Channel/EPG
I try: (also tried without the “/play/“)
ffmpeg -i 'http://localhost:9981/play/stream/channel/60a2813c8c7379cfb4aaaf3086dfe48b?title=500%20%3A%20abc-news-channel' test.mp4
result:
[...]
[http @ 0x80c865000] Stream ends prematurely at 0, should be 18446744073709551615
http://localhost:9981/play/stream/channel/60a2813c8c7379cfb4aaaf3086dfe48b?title=500%20%3A%20abc-news-channel: Input/output error
tvheadend.log:
2018-01-01 11:18:21.234 [ DEBUG]:service: 1: abc-news-channel si 0x805042540 <unknown> weight 0 prio 11 error 0
2018-01-01 11:18:21.234 [ INFO]:mpegts: abc-news in ABCdirect - tuning on IPTV
2018-01-01 11:18:21.251 [ DEBUG]:mpegts: abc-news in ABCdirect - started
2018-01-01 11:18:21.251 [ DEBUG]:mpegts: abc-news in ABCdirect - open PID 0012 (18) [20/0x80505c800]
2018-01-01 11:18:21.251 [ DEBUG]:tbl-eit: eit: installed table handlers
2018-01-01 11:18:21.251 [ DEBUG]:tbl-eit: eit: grab started
2018-01-01 11:18:21.251 [ DEBUG]:mpegts: abc-news in ABCdirect - open PID 1FFB (8187) [20/0x80505b000]
2018-01-01 11:18:21.251 [ DEBUG]:tbl-eit: mgt: installed table handlers
2018-01-01 11:18:21.251 [ DEBUG]:psip: psip: grab started
2018-01-01 11:18:21.251 [ DEBUG]:mpegts: abc-news in ABCdirect - open PID 0FFF (4095) [8/0x805c29000]
2018-01-01 11:18:21.251 [ DEBUG]:mpegts: abc-news in ABCdirect - open PID 0100 (256) [8/0x805c29000]
2018-01-01 11:18:21.251 [ DEBUG]:mpegts: abc-news in ABCdirect - open PID 0101 (257) [8/0x805c29000]
2018-01-01 11:18:21.251 [ DEBUG]:mpegts: abc-news in ABCdirect - open PID 0FFF (4095) [16/0x80506d000]
2018-01-01 11:18:21.251 [ INFO]:subscription: 0127: "HTTP" subscribing on channel "abc-news-channel", weight: 100, adapter: "IPTV", network: "ABCdirect", mux: "abc-news", service: "abc-news", profile="pass", hostname="127.0.0.1", client="Lavf/57.83.100"
2018-01-01 11:18:21.315 [ DEBUG]:mpegts: abc-news in ABCdirect - open PID 0000 (0) [20/0x805369800]
2018-01-01 11:18:21.315 [ DEBUG]:mpegts: abc-news in ABCdirect - open PID 0001 (1) [16/0x805368000]
2018-01-01 11:18:21.315 [ DEBUG]:mpegts: abc-news in ABCdirect - open PID 0010 (16) [16/0x805287000]
2018-01-01 11:18:21.315 [ DEBUG]:mpegts: abc-news in ABCdirect - open PID 0011 (17) [20/0x805288800]
2018-01-01 11:18:21.315 [ DEBUG]:mpegts: abc-news in ABCdirect - open PID 0011 (17) [16/0x8053ca000]
2018-01-01 11:18:21.316 [ DEBUG]:service: ABCdirect/abc-news/{PMT:4095}: Status changed to [Hardware input]
2018-01-01 11:18:21.316 [ DEBUG]:service: ABCdirect/abc-news/{PMT:4095}: Status changed to [Hardware input] [Input on service]
2018-01-01 11:18:21.316 [ DEBUG]:service: ABCdirect/abc-news/{PMT:4095}: Status changed to [Hardware input] [Input on service] [Demuxed packets]
2018-01-01 11:18:21.316 [ DEBUG]:service: ABCdirect/abc-news/{PMT:4095}: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled packets]
2018-01-01 11:18:21.316 [ DEBUG]:webui: Start streaming /stream/channel/60a2813c8c7379cfb4aaaf3086dfe48b?title=500%20%3A%20abc-news-channel
2018-01-01 11:18:21.316 [ DEBUG]:webui: Stop streaming /stream/channel/60a2813c8c7379cfb4aaaf3086dfe48b?title=500%20%3A%20abc-news-channel, client hung up
2018-01-01 11:18:21.316 [ INFO]:subscription: 0127: "HTTP" unsubscribing from "abc-news-channel", hostname="127.0.0.1", client="Lavf/57.83.100"
2018-01-01 11:18:21.316 [ DEBUG]:mpegts: abc-news in ABCdirect - close PID 0FFF (4095) [16/0x80506d000]
2018-01-01 11:18:21.317 [ DEBUG]:mpegts: abc-news in ABCdirect - close PID 0FFF (4095) [8/0x805c29000]
2018-01-01 11:18:21.317 [ DEBUG]:mpegts: abc-news in ABCdirect - close PID 0100 (256) [8/0x805c29000]
2018-01-01 11:18:21.317 [ DEBUG]:mpegts: abc-news in ABCdirect - close PID 0101 (257) [8/0x805c29000]
2018-01-01 11:18:21.317 [ DEBUG]:mpegts: abc-news in ABCdirect - stopping mux
2018-01-01 11:18:21.317 [ DEBUG]:mpegts: abc-news in ABCdirect - close PID 0000 (0) [20/0x805369800]
2018-01-01 11:18:21.317 [ DEBUG]:mpegts: abc-news in ABCdirect - close PID 0001 (1) [16/0x805368000]
2018-01-01 11:18:21.317 [ DEBUG]:mpegts: abc-news in ABCdirect - close PID 0010 (16) [16/0x805287000]
2018-01-01 11:18:21.317 [ DEBUG]:mpegts: abc-news in ABCdirect - close PID 0011 (17) [16/0x8053ca000]
2018-01-01 11:18:21.317 [ DEBUG]:mpegts: abc-news in ABCdirect - close PID 0011 (17) [20/0x805288800]
2018-01-01 11:18:21.317 [ DEBUG]:mpegts: abc-news in ABCdirect - close PID 0012 (18) [20/0x80505c800]
2018-01-01 11:18:21.317 [ DEBUG]:mpegts: abc-news in ABCdirect - close PID 1FFB (8187) [20/0x80505b000]
2018-01-01 11:18:21.317 [ DEBUG]:epggrab: grab done for abc-news in ABCdirect (stolen)
I am trying to setup tvheadend to relay or proxy the IPTV network stream but I don't know how to configure it.