Forums » Tutorial and setups »
iptv doesn´t work
Added by sandro mo almost 9 years ago
I want to run iptv without paying any money for this. So I installed tvheadand and added a network. Afterwards I added muxes. The URLs of the muxes I can play in vlc without any problems. But in tvheadend the scan failed and no services detected. I have no idea why it does´t work. Can anybody solve the Problem?
Replies (7)
RE: iptv doesn´t work - Added by Mark Clarkstone almost 9 years ago
Are these streams in TS (transport stream) format because if not, that's why.
RE: iptv doesn´t work - Added by Mark Clarkstone almost 9 years ago
Well, if Tvheadend can't play them then they aren't TS streams, you'll need to use ffmpeg and pipe it into Tvheadend. See Custom_MPEG-TS_Input
RE: iptv doesn´t work - Added by sandro mo almost 9 years ago
Ok. But there is another way to run non TS streams in tvheadend https://github.com/Jalle19/node-ffmpeg-mpegts-proxy. Unfortunetly I don´t understand the steps to install the proxy.
The instruction
install the required libraries by running npm install in the project Directory
is unclear to me. What are the concrete commands I have to run in the terminal?
RE: iptv doesn´t work - Added by Mark Clarkstone almost 9 years ago
sandro mo wrote:
Ok. But there is another way to run non TS streams in tvheadend https://github.com/Jalle19/node-ffmpeg-mpegts-proxy. Unfortunetly I don´t understand the steps to install the proxy.
The instruction
install the required libraries by running npm install in the project Directory
is unclear to me. What are the concrete commands I have to run in the terminal?
All you need to do is install nodejs and its manager see here on how to do that with Ubuntu.
You then git clone the repo (git clone https://github.com/Jalle19/node-ffmpeg-mpegts-proxy.git)
cd into that directory.
then run npm install & it should do the rest.
RE: iptv doesn´t work - Added by sandro mo almost 9 years ago
Thank you Mark. After installing I run the following command in the terminal
nodejs node-ffmpeg-mpegts-proxy.js -p 9182 -a avconv -q -s /examples/sources.json
I used the original sources.json file to test the proxy. Curiously it doesn´t work. The following info comes up.
2015-11-21T19:54:16.425Z - info: Unable to read source definitions, JSON is malformed 2015-11-21T19:54:16.441Z - info: Server listening on port 9182
Has anybody an idea?
RE: iptv doesn´t work - Added by Mark Clarkstone almost 9 years ago
sandro mo wrote:
Thank you Mark. After installing I run the following command in the terminal
[...]
I used the original sources.json file to test the proxy. Curiously it doesn´t work. The following info comes up.
[...]
Has anybody an idea?
Look at the path /examples/sources.json, is the folder examples in /? where bin/usr/etc is? I doubt it, try again but add a dot to the beginning of the path so cd to the source directory and run.
nodejs node-ffmpeg-mpegts-proxy.js -p 9182 -a avconv -q -s ./examples/sources.json