Project

General

Profile

Tvheadend send raw tS streams

Added by Stefan Jäger over 8 years ago

Dear all,

I have set up raspian Jessie, kodi, tvheadend and would like to transcode live TV. For this to work I got advised that tvheadend need to send raw tS streams, instead of its own streaming format.

Unfortunately I do not know how to change the streaming format accordingly. Is there anybody who could advise me on how to do so?

Stefan


Replies (5)

RE: Tvheadend send raw tS streams - Added by Mark Clarkstone over 8 years ago

For full mux streaming use the Play links in Configuration -> DVB Inputs -> Muxes and remove the /play/ path from the URL.

Note, You may want to disable the various mux rewriting options in Configuration -> Stream -> Stream Profiles -> Pass, "Rewrite ***" etc..

If you just want to transcode a single service, use the Play links in Configuration -> Channel / EPG -> Channels and again remove the /play/ path from the url.. This will send the single service in ts/pass format.

RE: Tvheadend send raw tS streams - Added by Stefan Jäger over 8 years ago

Thanks for your swift reply! I have tried the latter option for transcode of single service but I don't know where to remove the /play/ path from?! Attached Screenshot shows the edit screen of the service but I don't have the option to remove the path from here?!

RE: Tvheadend send raw tS streams - Added by Stefan Jäger over 8 years ago

Well I now understand that I can copy the play link and remove the "play" section from it but what I am looking after is something like a more static change. Reason for that is that I am using a python script to transcode live TV. In the configuration file which is an input into the python script I am only referring to the channel like this:

ZDF HD=http://192.168.0.34:9082/bysid/11110 hd1 mpeg 6120

Hence there is no option for me to manually remove the play section from the url. The python script just expects the stream to be on raw ts form. Mmmmh, any idea on how to ask tvheadend backend to constantly change to raw ts stream? Hope that makes some sense - apologize if not, I am still new to this topic...

RE: Tvheadend send raw tS streams - Added by Mark Clarkstone over 8 years ago

Stefan Jäger wrote:

Well I now understand that I can copy the play link and remove the "play" section from it but what I am looking after is something like a more static change. Reason for that is that I am using a python script to transcode live TV. In the configuration file which is an input into the python script I am only referring to the channel like this:

ZDF HD=http://192.168.0.34:9082/bysid/11110 hd1 mpeg 6120

Hence there is no option for me to manually remove the play section from the url. The python script just expects the stream to be on raw ts form. Mmmmh, any idea on how to ask tvheadend backend to constantly change to raw ts stream? Hope that makes some sense - apologize if not, I am still new to this topic...

If you have your channels mapped by number you can request a stream using those, e.g.

http://ip:9981/stream/channelnumber/1

RE: Tvheadend send raw tS streams - Added by Stefan Jäger over 8 years ago

Thanks a lot for your support. I have changed the following in order to get it working for now:

Note, You may want to disable the various mux rewriting options in Configuration -> Stream -> Stream Profiles -> Pass, "Rewrite *** etc.. 

and changed calling the channels in the python script to

http://ip:9981/stream/channelnumber/1

Now at least my first transcoding works. Thanks!

Well, does anybody know how I analyze (maybe via log file) in which stream configuration a channel will be provided (e.g. raw ts)?

    (1-5/5)