Mark Clarkstone wrote:
> Nikola Vitanović wrote:
> > So I've managed to achieve this by setting the scheduled DVR recording and it works fairly well. The problem is now I don't know how to add a channel from local file system.
> >
> > Recording is in /home/hts/TV/channel.ts
> >
> > I want to add that as an IPTV channel. I tried pipe:///home/hts/TV/channel.ts but that does not work. Should I host a local server that will serve the .ts files?
> >
> > Thanks!
>
> Try using file instead of pipe.
http://i.imgur.com/4e8ljIa.png
I've tried using file but I always get:
2017-03-07 11:39:50.000 iptv: KCN IP in local_IPTV - unsupported scheme [file]
This is the pipe way:
pipe:///usr/bin/ffmpeg -loglevel fatal -i /home/hts/TV/BelleAmie.ts -ss 00:20:00 -codec copy -bsf:v h264_mp4toannexb,dump_extra -metadata service_provider=PROVIDER -metadata service_name=TEST -tune zerolatency -f mpegts pipe:1
The problem with this implementation is thatDVR records the channels and I'm able to view them via Kodi as Recordings and also to watch them realtime or rewind/forward/pause while they are still recorded, and this is the thing I want to achieve.But If I add it as a channel then I can't rewind, how can I achieve this? I tried those streams with Kodi and VLC and I can't rewind. I'm just curios why are the recordings treated this way (which works good with rewinding/pausing/playing), but as soon as you set it as a channel you can't rewind/forward/pause?
Thanks!
<<