2015-03-01, 14:47
Is there a way to get this running on a Pi 2 running OpenELEC? Bit of a linux newbie here, and from what I gather there are no build tools/package managers available for the OS
(2015-03-01, 14:47)username145 Wrote: Is there a way to get this running on a Pi 2 running OpenELEC? Bit of a linux newbie here, and from what I gather there are no build tools/package managers available for the OS
Quote:install the required libraries by running npm install in the project directoryWhat are the required libraries and where is project directory? Could anybody please post the concrete commands I have to run in the terminal?
git clone https://github.com/Jalle19/node-ffmpeg-mpegts-proxy.git
cd node-ffmpeg-mpegts-proxy
npm install
nodejs node-ffmpeg-mpegts-proxy.js -p 9182 -a avconv -v -s /examples/sources.json
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
[
{
"name": "daserste",
"provider": "Provider One",
"url": "/channel1",
"source": "http://api.iptv.ink/pl.m3u8?ch=71565725"
},
{
"name": "HR",
"provider": "Provider Two",
"url": "/channel2",
"source": "http://api.iptv.ink/pl.m3u8?ch=92038145"
},
{
"name": "WDR HD",
"provider": "Provider Two",
"url": "/channel3",
"source": "http://api.iptv.ink/pl.m3u8?ch=86222576"
}
]
error: avconv exited with code 255
(2014-12-05, 12:19)negge Wrote: You can take the stream URL from tvheadend and add it as a channel in the remuxer, then add the necessary parameters to get the stream working in Logitech Media server. That's assuming the latter can play stuff from HTTP.