Timeshift questions
Added by Nikola Vitanović over 7 years ago
Hi all,
I'm new here and I plan on using TVHeadend for receiving DVB-T2.
The thing that interests me the most is timeshift feature, but It's not mentioned in documentation that much.
As far as I understand timeshift allows you to pause live TV and forward/rewind it. My Question is is it possible for TVHeadend to keep 2 hours of specified channels so I can rewind them while watching live TV via Kodi for example?
I want to be able to rewind specified/all channels up to 2 hours. For example I start watching TV and see that I missed some TV show, and then I rewind it and watch from that moment. After the TV show is over I would like to forward to some other TV show that started already.
Is this possible to achieve with TVHeadend or do I need some additional software?
Also do I need multiple DVB-T2 receivers (one for every channel or only one per multiplex)?
Thanks in advance!
Replies (6)
RE: Timeshift questions - Added by Mark Clarkstone over 7 years ago
Nikola Vitanović wrote:
Hi all,
I'm new here and I plan on using TVHeadend for receiving DVB-T2.
The thing that interests me the most is timeshift feature, but It's not mentioned in documentation that much.
As far as I understand timeshift allows you to pause live TV and forward/rewind it. My Question is is it possible for TVHeadend to keep 2 hours of specified channels so I can rewind them while watching live TV via Kodi for example?I want to be able to rewind specified/all channels up to 2 hours. For example I start watching TV and see that I missed some TV show, and then I rewind it and watch from that moment. After the TV show is over I would like to forward to some other TV show that started already.
Is this possible to achieve with TVHeadend or do I need some additional software?
The timeshift function doesn't do this, it's per subscription not channel. You can however set it up to rewind up to 2 hours of active channel/subscription. Also, timeshift only works via HTSP & not HTTP.
I suppose you could do what you want by using timers & play that back if you miss anything. However you'd manually have to delete the recordings or setup a dvr profile that deletes them after 24 hours.
Also do I need multiple DVB-T2 receivers (one for every channel or only one per multiplex)?
Per mux.
Thanks in advance!
RE: Timeshift questions - Added by Nikola Vitanović over 7 years ago
So does anyone have an idea how should I start implementing this kind of timeshift. So the user can always rewind the channel/multiplex up to few hours?
I've seen some DVR settings, can I map a recording as a channel on TVHeadend?
RE: Timeshift questions - Added by Nikola Vitanović over 7 years ago
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!
RE: Timeshift questions - Added by Mark Clarkstone over 7 years ago
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.
RE: Timeshift questions - Added by Josu Lazkano over 7 years ago
Nikola Vitanović wrote:
So does anyone have an idea how should I start implementing this kind of timeshift. So the user can always rewind the channel/multiplex up to few hours?
I've seen some DVR settings, can I map a recording as a channel on TVHeadend?
Hello Nikola,
There is a feature request that you could start implementing: https://tvheadend.org/issues/3991
This will be great, I really miss this features that in other PVR as MythTV works.
I am not programer, but if you need some help just ask for it.
Kind regards.
RE: Timeshift questions - Added by Nikola Vitanović over 7 years ago
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.
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 that DVR 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!