Forums » Tutorial and setups »
Multiple services in one chanel
Added by Jose Antonio over 6 years ago
I have connected tvheadend with my iris 9900 satellite device, which allows me to play through any player by entering the address http://192.168.x.x/live.ts
So far, all right, I add the iptv network and add the mux, in which I put the stream address, and then I start the scan. I scan the channel well (I also scan more services that do not work) and even there all right.
The problem is when I change the channel in the satellite tuner, which causes tvheadend to detect it as a new service and, consequently, as a different channel.
How can I make tvheadend reproduce what is in the stream direction without taking into account anything else?
Before.rar (423 KB) Before.rar | Before change channel | ||
after.PNG (334 KB) after.PNG |
Replies (29)
RE: Multiple services in one chanel - Added by saen acro over 6 years ago
please explain more colourful we are not in room with you ;)
you ask your stb from link with command stb to stream on static url
this is what i understand
RE: Multiple services in one chanel - Added by Jose Antonio over 6 years ago
I have this satellite tuner: Iris 9900hd2
Which offers an iptv service if I connect to your ip address in the web browser:
https://image.ibb.co/m66xBx/1.png
Which gives me a link (it's always the same, http: //192.168.x.x/live.ts) when I want to watch a channel.
I can only watch one channel at a time, as is evident, which I can change on the web or from the tuner. But the link is the same
That link can be displayed on a player, vlc, media player, etc.
https://image.ibb.co/gGGfWx/Captura.png
Now, what I want is to have a channel in tvheadend with which I can see the content of that address.
To do this, add an iptv network
https://image.ibb.co/jhWB4H/Captura.png
And I add a multiplexer which points to the address of the tuner
https://image.ibb.co/koRHdc/Captura.png
The multiplexer scans the services and I manually map the channel to add it
https://image.ibb.co/cs2ZPH/a.png
Now I have my channel where I see what's in my tuner
https://image.ibb.co/ngStjH/Captura.png
So far so good, now comes the problem, and that is that when I change the channel in the tuner, I can not visualize it
I scan the multiplexer and I detect new services
https://image.ibb.co/gcWErx/Captura.png
among which is the service that has the channel, I proceed to map it so that the channel appears. So now I would have two channels, one in which nothing is seen and another if, if I change channels again of the same, if I return to one of the previous channels I have to put their respective channel.
I would like to have a single channel where you can see everything broadcast in the direction of the tuner, without having to map new services or add new channels.
RE: Multiple services in one chanel - Added by saen acro over 6 years ago
You need playlist not temporary url
RE: Multiple services in one chanel - Added by Jose Antonio over 6 years ago
Not is a temporary url.
the channels are always seen through the same link, what changes is the tvheadend service
RE: Multiple services in one chanel - Added by saen acro over 6 years ago
Still not see any errors from log or etc.
Get playlist with will work in any player ex. VLC.
then will continue conversation.
RE: Multiple services in one chanel - Added by Jose Antonio over 6 years ago
There is no error, only that I need to be able to see the channels even if they are changed without having to add the new service.
I do not know how to get the VLC playlist.
The only link I have is the address of the tuner's ip to access its website and the one it provides to view it in a player (http: //x.x.x.x/live.ts)
RE: Multiple services in one chanel - Added by saen acro over 6 years ago
http: //x.x.x.x/live.ts is static url
until you don't find way to get
http: //x.x.x.x/live.ts/channel X
now one can help you
Contact to support, local dealer, distributor
see how its done with clones Tiger etc.
Write you homework
RE: Multiple services in one chanel - Added by Jose Antonio over 6 years ago
I've been looking and I can not find any support that can provide me with that information or any official site to send it to. Is there any way I can find out on my own ?.
If tvheadend is capable of recognizing what is inside /live.ts I should also be able to be able
RE: Multiple services in one chanel - Added by saen acro over 6 years ago
TVH do not include AI still, so need more information
more then simple is to play stream with VLC from program A
then play program B and see is there a difference with url
RE: Multiple services in one chanel - Added by Jose Antonio over 6 years ago
What differences do you want me to observe?
In both I introduce the same link, what changes is the metadata of the link, so when I change channel vlc it stops playing. What I want is to be able to continue playing even if the metadata of the same link changes.
RE: Multiple services in one chanel - Added by Nicolas Rioja over 6 years ago
@Jose Antonio,
What you are trying to do it´s not possible, believe me... I´ve been an owner of an Iris 2600 HD and the url format stream was the same that you are indicating in your post.
Maybe you can try creating an IPTV Automatic network with an .m3u file wich contains...
#EXTM3U #EXTINF:-1 Iris 9600 HD http: //192.168.x.x/live.ts
...to see what happens... But I´m not confident about that.
What I was doing when I had my Iris and I would like watch it outside my network was to forward any port you want in the WAN side to the satellite_IP_address:80.
I mean... something like that (writing this addres in a VLC or similar outside of your network):
http://your_wan_IP_addres:8080:/live.ts
In this way if you make the port forwarding in your router of the por 8080 to your satellite ip addres with port 80 you will able to see the stream without no problems.
But, take care if you start to watch the stream with your mobile phone becuse you are under the risk to consume all the 4G/3G data.
Try before the .m3u option and let us know.
Hasta luego
RE: Multiple services in one chanel - Added by saen acro over 6 years ago
Interesting how to change channel with this playlist
RE: Multiple services in one chanel - Added by Jose Antonio over 6 years ago
@ saen acro
That's another issue, there are uploading a file with a list of channels to the tuner.
@Nicolas Rioja
The ability to connect to the tuner from the outside had already done it before, you have to open 2 ports, one that goes to the port 8080 of the tuner to view the web and change channel, and another port to port 9891 tuner, which is where you send the video, so I have 2 links;
http: //x.x.x.x: 8080 / live.ts To be able to access the web.
http: //x.x.x.x: 9891 / live.ts To put in VLC from abroad.
The problem with this is that it seems that tvheadend compresses the image enough so that when I reproduce the tuner through tvheadend from the outside it works perfectly, but when I play it directly connecting to the tuner, both the image and the audio go extremely wrong, so much so that it is almost not heard or seen.
It's the reason why I want to be able to connect through tvheadend.
About the automatic IPTV list, It does not work either:
https://image.ibb.co/gHZ2jH/1.png
https://image.ibb.co/h9Gtrx/2.png
If I add a mux and put the address in this, it does not work either
RE: Multiple services in one chanel - Added by saen acro over 6 years ago
So to work you need "play call proxy"
playlist "proxy", with will translate call to web request, with will switch channel.
TVH playlist entery > proxy > stb/webui channel call > stb/play.ts
finally play url will be same but with requested channel will switch.
RE: Multiple services in one chanel - Added by Jose Antonio over 6 years ago
I do not understand very well what you say,
What do I have to do exactly? I do not see the webui channel call in tvheadend
RE: Multiple services in one chanel - Added by saen acro over 6 years ago
Definitely ;)
In TVH will have only play list
Proxy betwin TVH and STB will change channels
You need to find "command call" url witch change channel.
RE: Multiple services in one chanel - Added by Jose Antonio over 6 years ago
I found that link;
http://x.x.x.x/json/channel/list
I have removed it from a plugin for kodi.
http://planetstation.org/index.php/56-otros-temas/iris-9900-hd/120-tutorial-web-remote-para-iris-9900-hd-tus-canales-en-otro-dispositivo-red-interna
But when I put it in tvheadend in the mux it does not detect anything.
default.py (5.99 KB) default.py |
RE: Multiple services in one chanel - Added by saen acro over 6 years ago
this plugin make what im telling you
but proxy will make it without UI part
let's make some more ASCII drawing
+------+ +-------------------+ +----------+ +-------+ | User | |TVH |Playlist| |Proxy | | STB | | +--> | +-----------> | +--> | | +------+ | |ch1 | | | | | | |ch3 | +----+-----+ +-+-----+ | |ch4 | ^ | | |ch5 | +------------+ | |ch6 | | |ch7 | Stream from STB | |chXXX | +-------------------+
User request channel
tvh send request to proxy
proxy request web ui to switch channel
and tvh receive stream with channel
ex. of playlist
#EXTM3U #EXTINF:-1 ch1 http://proxy:port/ch1 #EXTINF:-1 ch2 http://proxy:port/ch2
I see there is a STB community, maby some one can make something,
with will solve case.
RE: Multiple services in one chanel - Added by Nicolas Rioja over 6 years ago
saen acro wrote:
this plugin make what im telling you
but proxy will make it without UI partlet's make some more ASCII drawing
[...]
User request channel
tvh send request to proxy
proxy request web ui to switch channel
and tvh receive stream with channelex. of playlist
[...]I see there is a STB community, maby some one can make something,
with will solve case.
This is the best approach right now for what @Jose Antonio wants to do...
Jose Antonio wrote:
About the automatic IPTV list, It does not work either:
https://image.ibb.co/gHZ2jH/1.png
https://image.ibb.co/h9Gtrx/2.png
If I add a mux and put the address in this, it does not work either
Watching your pictures attached in your post, it seems like you have not created a .m3u file, you have only written the URL in a "IPTV Automatic Network".. but this is not what I said:
Nicolas Rioja wrote:
Maybe you can try creating an IPTV Automatic network with an .m3u file wich contains...
[...]
If you are interested in this way... Please follow this procedure to create an "IPTV Automatic network" with an .m3u file:
https://tvheadend.org/projects/tvheadend/wiki/Automatic_IPTV_Network
Going back to the kodi addon and what saen acro said the idea of create a playlist which makes proxy requests to the STB it´s good.
Jose Antonio, the creator of that addon it was an user called "viruslogic". This user is still present in this forum: www.decomaniacos.es but it has no activity from October 2016.
Maybe you can contact with him and ask it about this issue... just to know how the addon works to knows which channel wants to play in the STB and create in a correct way the playlist in Tvheadend.
Buena suerte!
RE: Multiple services in one chanel - Added by saen acro over 6 years ago
Plugin is written on python language, so can be run without need of Kodi.
but still need code for relaying streams.
It's 1/2 written, keep finger crossed
On same platform there is a other STB's as Tiger.
Just more searching and good developer and puzzle will be solved,
and you can use STB as beckend without problem.
RE: Multiple services in one chanel - Added by Jose Antonio over 6 years ago
@Nicolas Rioja
If I create an m3u file, but I wrote it wrong in tvheadend when I selected it, I put.ts instead of .m3u, I have already written it well but it still does not work.
RE: Multiple services in one chanel - Added by Antonio Fernandez Hernandez over 5 years ago
You can found a multiple IPTV IRIS Information at [https://www.forokeys.com/foro/iris-hd/]
Every where can found a m3u information
RE: Multiple services in one chanel - Added by Golan Trevize over 4 years ago
@Jose Antonio,
I found this thread and I had exactly the same issue with an IRIS 9900HD, trying to stream all the channels through TVH from that unique URL stream.
Probably a bit late but if you still do not have a solution let me know...
I finally ended up creating a simple proxy server like @saen suggested. The proxy offers unique endpoints for channels (ie /channel/5), and it does switch the channel first and then return as response the stream from the satellite tuner.
Another endpoint (/m3u) generates a playlist also from the current channels in the tuner, using the unique channels urls, and you can use that m3u URL to configure your IPTV Automatic Network.
RE: Multiple services in one chanel - Added by Jose Antonio over 4 years ago
@Golan Trevize,
I finally dropped the topic, as I didn't know how to do it and I wasn't able to fix it, although I still have the Tvheadend and IRIS9900HD.
I would appreciate if you could do a little tutorial on how to do it. It would be good for me and everyone who has the problem.
RE: Multiple services in one chanel - Added by saen acro over 4 years ago
If you mean MPTS not all STB-s support this.