Forums » Tutorial and setups »
IPTV - MagentaTV - Cannot create services (scan, no data failed)
Added by Bene Fein over 5 years ago
Hello,
I am new to tvheadend and the forum and looking for help.
I installed tvheadend 4.2.6 on opensuse 15.0. After starting the service etc., I can logon via the web-interface and can run the setup wizzard.
When creating "IPTV - Automatic Network" I can enter my the m3u file which is provided by Fritz.Box/Telekom (I am a MagentaTV user).
When continuing the wizzard can setup the muxes, but it is not able to create a service.
This is shown up in the trace.
2019-04-02 22:50:16.104 mpegts: telekom.m3u - (38) ZDF HD in IPTV Automatic Network - tuning on IPTV
2019-04-02 22:50:16.104 epggrab: telekom.m3u - (38) ZDF HD in IPTV Automatic Network - registering mux for OTA EPG
2019-04-02 22:50:16.104 subscription: 005C: "scan" subscribing to mux "telekom.m3u - (38) ZDF HD", weight: 5, adapter: "IPTV", network: "IPTV Automatic Network", service: "Raw PID Subscription"
2019-04-02 22:50:21.104 mpegts: telekom.m3u - (38) ZDF HD in IPTV Automatic Network - scan no data, failed
2019-04-02 22:50:21.104 subscription: 005C: "scan" unsubscribing
When I use Windows with VLC I can enter an address like "rtp://@239.35.10.3:10000" and network streaming is working.
However, the same test does not work with VLC on my opensuse setup.
I also tried the gnome video player with the following result: "The RTP protocol source is required to play the file, but is not installed."
Any hints?
If RTP is missing, Is just a package missing?
Replies (4)
RE: IPTV - MagentaTV - Cannot create services (scan, no data failed) - Added by Hiro Protagonist over 5 years ago
What format is the rtp payload stream?
TVH expects a transport stream [xxx.ts], for other stream types, you'll have to pipe through ffmpeg - you'll need an entry like this in your .m3u file:
pipe:///usr/bin/ffmpeg -loglevel fatal -headers User-Agent:Mozilla\r\n -i URL -map 0 -c copy -metadata service_name=SVC -f mpegts pipe:1
You should replace URL and SVC with your URL and service name [if you have one] respectively.
You may not need the User-Agent header, but some services require it.
RE: IPTV - MagentaTV - Cannot create services (scan, no data failed) - Added by Bene Fein over 5 years ago
Hi,
thanks for the info. Honestly, I don't know for sure but your hint was very useful.
Now I found some github repo which is providing m3u with the expected pipes.
I will try the evening.
https://github.com/jnk22/entertain-iptv/blob/master/iptv/pipe/pipe_tv.m3u
Example Entry:
#EXTINF:-1 tvg-name="RTL" tvg-id="RTL.de" group-title="Entertain" tvg-logo="https://raw.githubusercontent.com/jnk22/entertain-iptv/master/logos/tv/rtl.png",RTL
pipe:///usr/bin/ffmpeg -loglevel fatal -i rtp://@239.35.20.10:10000 -vcodec copy -acodec copy -metadata service_name=RTL -metadata service_provider=Entertain -mpegts_service_type advanced_codec_digital_sdtv -f mpegts pipe:1
Regards
RE: IPTV - MagentaTV - Cannot create services (scan, no data failed) - Added by Bene Fein over 5 years ago
Ok, now I tried with the linked/printed entry above.
Unfortunately, it does not work either.
2019-04-03 20:23:22.386 mpegts: my_tv_main.m3u - RTL in IPTV Automatic Network - tuning on IPTV
2019-04-03 20:23:22.386 epggrab: my_tv_main.m3u - RTL in IPTV Automatic Network - registering mux for OTA EPG
2019-04-03 20:23:22.387 subscription: 002A: "scan" subscribing to mux "my_tv_main.m3u - RTL", weight: 5, adapter: "IPTV", network: "IPTV Automatic Network", service: "Raw PID Subscription"
2019-04-03 20:23:22.387 spawn: Executing "/usr/bin/ffmpeg"
2019-04-03 20:23:27.386 mpegts: my_tv_main.m3u - RTL in IPTV Automatic Network - scan no data, failed
2019-04-03 20:23:27.386 subscription: 002A: "scan" unsubscribing
The muxes are created but no channels found.
When I press play on one mux and open with VLC, I get the following log entry:
Apr 03 20:26:14 suppe vlc.desktop[1722]: [0000562b58b16b60] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Apr 03 20:26:15 suppe vlc.desktop[1722]: [0000562b58b11350] main playlist: playlist is empty
Apr 03 20:31:45 suppe firefox.desktop[3138]: [0000555e1c40bb60] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
When I open the Mux with GnomeVideo it says:
2019-04-03 20:40:49.771 subscription: 0035: "HTTP" subscribing to mux "my_tv_main.m3u - RTL", weight: 10, adapter: "IPTV", network: "IPTV Automatic Network", service: "Raw PID Subscription", hostname="::1", client="Videos/3.26.0"
2019-04-03 20:40:49.771 spawn: Executing "/usr/bin/ffmpeg"
2019-04-03 20:40:49.790 http: ::1: using ticket 0690A69AAC6D47A17EBED8893C051A925ACE550E for /stream/mux/2f3e6d7864f64c244842a52bca50ab4c
2019-04-03 20:40:49.790 subscription: 0036: "HTTP" subscribing to mux "my_tv_main.m3u - RTL", weight: 10, adapter: "IPTV", network: "IPTV Automatic Network", service: "Raw PID Subscription", hostname="::1", client="gvfs/1.34.2.1"
2019-04-03 20:40:59.791 subscription: 0036: service instance is bad, reason: No input detected
2019-04-03 20:40:59.791 subscription: 0035: service instance is bad, reason: No input detected
2019-04-03 20:41:01.791 subscription: 0036: No input source available for subscription "HTTP" to mux "my_tv_main.m3u - RTL in IPTV Automatic Network"
2019-04-03 20:41:01.791 subscription: 0035: No input source available for subscription "HTTP" to mux "my_tv_main.m3u - RTL in IPTV Automatic Network"
2019-04-03 20:41:01.791 webui: Couldn't start streaming /stream/mux/2f3e6d7864f64c244842a52bca50ab4c?ticket=0690A69AAC6D47A17EBED8893C051A925ACE550E, No input detected
2019-04-03 20:41:01.791 subscription: 0036: "HTTP" unsubscribing, hostname="::1", client="gvfs/1.34.2.1"
2019-04-03 20:41:01.791 webui: Couldn't start streaming /stream/mux/2f3e6d7864f64c244842a52bca50ab4c?ticket=0690A69AAC6D47A17EBED8893C051A925ACE550E, No input detected
2019-04-03 20:41:01.792 subscription: 0035: No input source available for subscription "HTTP" to mux "my_tv_main.m3u - RTL in IPTV Automatic Network"
2019-04-03 20:41:01.793 subscription: 0035: "HTTP" unsubscribing, hostname="::1", client="Videos/3.26.0"
2019-04-03 20:41:07.290 iptv: m3u parse: 0 new mux(es) in network 'IPTV Automatic Network' (total 5)
RE: IPTV - MagentaTV - Cannot create services (scan, no data failed) - Added by Bene Fein over 5 years ago
Good news. The opensuse firewalld is active by default.
I added UDP port 10000 as exception, which now lets tvh find the services and also the streams can be played without pipes.
Unfortunately, the stream was always aborted after ~90 seconds.
When I completely disable the firewall tvh seems to work as expected.
Ticket can be closed.
Perhaps someone can suggest which additional ports/protocols should be enabled.