Forums » Tutorial and setups »
IPTV on 4.0
Added by Anton Bungin over 9 years ago
I installed 4.0 on test machine and tried to set up IPTV.
Adding mux in TVH:
pipe:///usr/bin/ffmpeg -loglevel fatal -re -i "http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000" -vcodec copy -acodec copy -tune zerolatency -f mpegts pipe:1
Log:
2015-06-22 22:29:01.000 mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -re -i "http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000" -vcodec copy -acodec copy -tune zerolatency -f mpegts pipe:1 - tuning on IPTV
2015-06-22 22:29:01.005 opentv-skyit: registering mux pipe:///usr/bin/ffmpeg -loglevel fatal -re -i "http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000" -vcodec copy -acodec copy -tune zerolatency -f mpegts pipe:1
2015-06-22 22:29:01.006 subscription: 0044: "scan" subscribing to mux "pipe:///usr/bin/ffmpeg -loglevel fatal -re -i "http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000" -vcodec copy -acodec copy -tune zerolatency -f mpegts pipe:1", weight: 5, adapter: "IPTV", network: "IPTV Network", service: "Raw PID Subscription"
2015-06-22 22:29:01.007 spawn: Executing "/usr/bin/ffmpeg"
2015-06-22 22:29:01.018 iptv: stdin pipe unexpectedly closed: No data
2015-06-22 22:29:06.000 mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -re -i "http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000" -vcodec copy -acodec copy -tune zerolatency -f mpegts pipe:1 - scan no data, failed
2015-06-22 22:29:06.000 subscription: 0044: "scan" unsubscribing
Adding mux in TVH:
pipe:///usr/bin/ffmpeg -loglevel fatal -re -i http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000 -vcodec copy -acodec copy -tune zerolatency -f mpegts pipe:1
Log:
2015-06-22 22:52:07.000 mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -re -i http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000 -vcodec copy -acodec copy -tune zerolatency -f mpegts pipe:1 - tuning on IPTV
2015-06-22 22:52:07.003 opentv-skyit: registering mux pipe:///usr/bin/ffmpeg -loglevel fatal -re -i http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000 -vcodec copy -acodec copy -tune zerolatency -f mpegts pipe:1
2015-06-22 22:52:07.005 spawn: Executing "/usr/bin/ffmpeg"
2015-06-22 22:52:07.005 subscription: 0046: "scan" subscribing to mux "pipe:///usr/bin/ffmpeg -loglevel fatal -re -i http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000 -vcodec copy -acodec copy -tune zerolatency -f mpegts pipe:1", weight: 5, adapter: "IPTV", network: "IPTV Network", service: "Raw PID Subscription"
2015-06-22 22:52:12.000 mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -re -i http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000 -vcodec copy -acodec copy -tune zerolatency -f mpegts pipe:1 - scan no data, failed
2015-06-22 22:52:12.000 subscription: 0046: "scan" unsubscribing
Console output without pipe -sucessful:
anton@anton-bung:~$ /usr/bin/ffmpeg -loglevel fatal -re -i "http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000" -vcodec copy -acodec copy -tune zerolatency -f mpegts /home/test2.ts
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
frame= 1955 fps= 6 q=-1.0 Lsize= 43280kB time=322.56 bitrate=1099.2kbits/s
Adding mux in TVH (only http-link) - successful:
http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000
Log:
2015-06-22 22:39:18.641 mpegts: http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000 in IPTV Network - tuning on IPTV
2015-06-22 22:39:18.641 subscription: 0045: "scan" subscribing to mux "http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000", weight: 6, adapter: "IPTV", network: "IPTV Network", service: "Raw PID Subscription"
2015-06-22 22:39:23.000 mpegts: http://192.168.1.17:8101/dvblink/direct?client=2&channel=56440000 in IPTV Network - scan complete
2015-06-22 22:39:23.000 subscription: 0045: "scan" unsubscribing
Where's my fault?