Project

General

Profile

Mpeg transport stream as input to tvheadend sat-ip server and play that stream via sat-ip protocol

Added by Evgenii Metelev over 7 years ago

Hello everyone! Trying to make this scenario: run the tvheadend with option --tsfile test.ts In test file we have mix of streams(channels) from Astra satellite. Tvheadend is set up as sat-ip server. From "services/channels" tab he sees channels from ts file. In networks settings "SAT>IP source number" set to 1. So i want to get from the output stream of some channels played by either of vlc, sat-ip player or else. In logs i see

[WARNING] satips: SAT>IP server announces an empty tuner list to a client 172.31.14.139 (missing tuner settings - global config)
I do request from vlc and sat-ip player
rtsp://172.31.14.154:554/?src=1&freq=12604&msys=dvbs&plts=off&fec=56&pol=h&ro=0.35&sr=22000&mtype=qpsk&pids=0
But in logs see
405 Error
And
"[WARNING] satips: 0/C6F7315E/7: unable to create mux DVB-S freq 12604000 H sym 22000000 fec 5/6 mod QPSK roff 35 is_id -1 pls_mode ROOT pls_code 0"

The question is is it possible such a scenario? What am i doing wrong? How to play stream from sat-ip tvheadend server?
tvheadend: version 4.2.1-7~g4d4bf14


Replies (9)

RE: Mpeg transport stream as input to tvheadend sat-ip server and play that stream via sat-ip protocol - Added by Mark Clarkstone over 7 years ago

You need to define the number of "tuners" to export in the SAT->IP server tab.

RE: Mpeg transport stream as input to tvheadend sat-ip server and play that stream via sat-ip protocol - Added by Evgenii Metelev over 7 years ago

But if i do not have them installed in the machine? I just need to set them arbitrary?

RE: Mpeg transport stream as input to tvheadend sat-ip server and play that stream via sat-ip protocol - Added by Mark Clarkstone over 7 years ago

Evgenii Metelev wrote:

But if i do not have them installed in the machine? I just need to set them arbitrary?

I believe so :p

RE: Mpeg transport stream as input to tvheadend sat-ip server and play that stream via sat-ip protocol - Added by Evgenii Metelev over 7 years ago

Set in global settings "Exported tuners" everyone tuners to 1, try to play again and get this:
2017-04-29 15:03:16.991 [WARNING] satips: 0/36BC6BF5/1: unable to create mux DVB-S freq 12604000 H sym 22000000 fec 5/6 mod QPSK roff 35 is_id -1 pls_mode ROOT pls_code 0
2017-04-29 15:03:16.991 [ ERROR] http: 172.31.14.154: RTSP/1.0 SETUP stream=1/ 405
Any ideas?

RE: Mpeg transport stream as input to tvheadend sat-ip server and play that stream via sat-ip protocol - Added by Mark Clarkstone over 7 years ago

Evgenii Metelev wrote:

Set in global settings "Exported tuners" everyone tuners to 1, try to play again and get this:
2017-04-29 15:03:16.991 [WARNING] satips: 0/36BC6BF5/1: unable to create mux DVB-S freq 12604000 H sym 22000000 fec 5/6 mod QPSK roff 35 is_id -1 pls_mode ROOT pls_code 0
2017-04-29 15:03:16.991 [ ERROR] http: 172.31.14.154: RTSP/1.0 SETUP stream=1/ 405
Any ideas?

You may want to open a bug.

You do know you can pass a complete mpegts as an IPTV stream right? Just use file:///path/to/file.ts as the URL :p

RE: Mpeg transport stream as input to tvheadend sat-ip server and play that stream via sat-ip protocol - Added by Evgenii Metelev over 7 years ago

Tried to execute server without option --tsfile. Instead created mux with file:///test.ts as input iptv network. Tvheadend saw all services from ts file. But when try to play single service with vlc by

rtsp://172.31.14.154:554/?src=1&freq=12604&msys=dvbs&plts=off&fec=56&pol=h&ro=0.35&sr=22000&mtype=qpsk&pids=0
get the following:
2017-04-29 16:06:38.333 [WARNING] satips: 0/CC9528EC/200: unable to create mux DVB-S freq 12604000 H sym 22000000 fec 5/6 mod QPSK roff 35 is_id -1 pls_mode ROOT pls_code 0
2017-04-29 16:06:38.333 [  ERROR] http: 172.31.14.154: RTSP/1.0 SETUP stream=200/  405

Also unable to play by tvheadend url
http://172.31.14.154:9981/stream/service/16c7f4fd2669d1107f2e3aac9b74da2d?ticket=FCBB2A7E86807F20DAC3CFDB7689F5D9A325E924

get the following:
2017-04-29 16:23:53.922 [WARNING] webui: Stop streaming /stream/service/16c7f4fd2669d1107f2e3aac9b74da2d?ticket=FCBB2A7E86807F20DAC3CFDB7689F5D9A325E924, timeout waiting for packets
2017-04-29 16:23:53.922 [   INFO] subscription: 000B: "HTTP" unsubscribing, hostname="172.31.14.154", client="VLC/2.2.4 LibVLC/2.2.4" 
2017-04-29 16:23:53.924 [   INFO] mpegts: iptvmux in iptvnet - tuning on IPTV
2017-04-29 16:23:53.924 [   INFO] subscription: 000C: "HTTP" subscribing to service "iptvnet/iptvmux/tvtv Digital", weight: 100, adapter: "IPTV", network: "iptvnet", mux: "iptvmux", provider: "SES ASTRA", profile="pass", hostname="172.31.14.154", client="NSPlayer/7.10.0.3059" 
2017-04-29 16:23:53.943 [   INFO] iptv: iptvnet bandwidth limited exceeded

RE: Mpeg transport stream as input to tvheadend sat-ip server and play that stream via sat-ip protocol - Added by Mark Clarkstone over 7 years ago

Evgenii Metelev wrote:

Tried to execute server without option --tsfile. Instead created mux with file:///test.ts as input iptv network. Tvheadend saw all services from ts file. But when try to play single service with vlc by [...] get the following:
[...]
Also unable to play by tvheadend url [...]
get the following:
[...]

"2017-04-29 16:23:53.943 [ INFO] iptv: iptvnet bandwidth limited exceeded" turn off the bandwidth limiting :p

RE: Mpeg transport stream as input to tvheadend sat-ip server and play that stream via sat-ip protocol - Added by Evgenii Metelev over 7 years ago

Ok, http now works fine, but what about rtsp sat-ip? It is the same situation.

RE: Mpeg transport stream as input to tvheadend sat-ip server and play that stream via sat-ip protocol - Added by Mark Clarkstone over 7 years ago

Evgenii Metelev wrote:

Ok, http now works fine, but what about rtsp sat-ip? It is the same situation.

Please open an issue for this, I'm not 100% that ts files or IPTV networks can be served over SAT>IP.

    (1-9/9)