[TVHeadEnd] Hint - Timeshift while recording ! - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: PVR Help and Support (/forumdisplay.php?fid=167)
+---- Forum: HTS Tvheadend (/forumdisplay.php?fid=168)
+---- Thread: [TVHeadEnd] Hint - Timeshift while recording ! (/showthread.php?tid=120156)
Pages: 1 2
[TVHeadEnd] Hint - Timeshift while recording ! - LastCoder - 2012-01-16 22:25
one of the most requested and used function for me and my wife (you know - WAF ) is the timeshifting while recording .. this function is atm not natively supported .. BUT there is a little circuit to get it without massive C++ hacking ..
put the DVR path location of TVHeadend to a directory that is accessible by XBMC. Then simply stop LiveTV [not recording ], go to Videos -> Files -> your TV directory and - yes - press simply play you'll see that the end time / duration of the video increases while playing .. and if you reach the end, it stops .. [I used MKV for recording, don't know if that matters] ..
you can test playing the file from the records menu but I discovered that this is much more unstable and breaks XBMC at least if you reach end of file ..
Don't know if this works with other PVR Backends ..
Now 'XBMC + PVR supports at this experimental stage everything a good PVR needs
Btw. I'd like to see a XBMC function to copy recordings to "regular" Video / Film directories / locations .. if you delete a recording it's really gone (totally okay) .. so moving would help to keep and organize recordings ...
- bimbel - 2012-01-17 09:19
really nice! i missed this feature.
- ankn - 2012-01-17 11:59
LastCoder Wrote:put the DVR path location of TVHeadend to a directory that is accessible by XBMC. Then simply stop LiveTV [not recording ], go to Videos -> Files -> your TV directory and - yes - press simply play you'll see that the end time / duration of the video increases while playing .. and if you reach the end, it stops .. [I used MKV for recording, don't know if that matters] ..
I'm not sure to understand: why tvheadend should record any file in its folder if I press STOP during the livetv session? Do you mean that I should press RECORD in the livetv session?
- LastCoder - 2012-01-17 13:16
ankn Wrote:I'm not sure to understand: why tvheadend should record any file in its folder if I press STOP during the livetv session? Do you mean that I should press RECORD in the livetv session?
I didn't mean a general - means always active recording in background independent of a timer / record event like provided by mythTV - timeshift. This is not possible as neither TVHeadEnd nor XBMC supports it. (btw. a function that I always deactivate - personally I don't need and want that).
I meant the following scenario: For example - you want to watch a movie but you have something to do first and you can't start watching it when it starts in TV (If you have little children you know what I mean ). So you'll press record or you have programmed a timer to record that movie. But if you want to watch the currently recorded program later there is atm no function that provides step back / rewind / pause of it. So principally you would have to wait until the recording is finished .. 2 hours waiting if you only missed 10 Minutes ('cause you read a bedtimestory to your children) from the beginning ?? That's oldschool :-)
So with my "hint" you can later, if you have done what you had to do stop LiveTV ('cause record is done by the PVR Backend server, stopping liveTV doesn't affect the recording itself but only the streaming of the current program to XBMC !) and start watching the recorded program as regular video and get your timeshift function .. every commerical break skip takes you closer to the synchronisation with live-stream point and if reached you simply switch back to your liveTV session ...
@dushmaniac: is it hard to embed this "simple" redirection from live-stream to recorded video stream on client side (means XBMC) .. don't see why this should be provided by the TV Backends, seams to be easier on client side ... ?!?
- opdenkamp - 2012-01-19 10:49
no timeshift until after eden. and not like this.
RE: [TVHeadEnd] Hint - Timeshift while recording ! - nmcaullay - 2012-06-27 05:39
I've been posting to TVHeadend site (feature and forum) about timeshitfing (during recording). There appears to be limited interest in turning this into a feature of TVHeadend.
I can playback a recording that is in progress via XBMC (using recordings under xbmc-PVR, or a NFS mount), but there is sequencing issues on the MKV file that TVHeadend is writing to (which result in seeking issues). From my limited understanding the TVHeadend commitment to MKV format is the barrier. Is this correct? MythTV records to MPEG and doesnt have this issue.
Given the comments above (from two influencial XMBC/OpenElec peoples), do you have any idea how this may pan out? The more I look, the more people I see asking about this functionality. Unfortunately, my coding skills date back to VB6, so I think i'd do more damage than good in the coding department.
Any ideas/thoughts appreciated, as TVHeadend is near perfect for me, just missing the icing on the cake.
RE: [TVHeadEnd] Hint - Timeshift while recording ! - adamsutton - 2012-06-27 10:43
As you point out you're definitely not the only one who wants time shifting support. The main issue is finding someone with sufficient skill to implement the feature, I haven't yet had a chance to look into the technical issues surrounding time-shifting as its not my area of expertise and I've been busy improving the EPG capabilities. But I know enough to say its not a trivial one.
One issue is that tvheadend isn't being actively developed by Andreas (the project maintainer), but there are others who are working on various aspects and feeding them back through either Andreas or Lars (since most XBMC users use his builds).
And there is a significant fork/re-write of tvheadend (called tvdaemon) that is under way. I'm not personally involved (at this stage) in that work since the timescales don't meet my requirements at the moment, but I believe they are including things like time-shifting in their list of requirements.
And as you also point out there is work required in the XBMC PVR front end to define how this will work and how it will integrate with the backend.
I do feel confident that it will eventually happen, so don't despair just yet Just got to be patient.
RE: [TVHeadEnd] Hint - Timeshift while recording ! - rcoltrane - 2012-07-01 03:26
(2012-06-27 05:39)nmcaullay Wrote: but there is sequencing issues on the MKV file that TVHeadend is writing to (which result in seeking issues). From my limited understanding the TVHeadend commitment to MKV format is the barrier. Is this correct? MythTV records to MPEG and doesnt have this issue.
You could use EricV's build of tvheadend which can write to an MPEG TS container. It doesn't experience the seek issues you have described.
RE: [TVHeadEnd] Hint - Timeshift while recording ! - nmcaullay - 2012-07-01 23:43
If i had even an ounce of coding skill i'd look into it, but alas, i'm a dummy I hope my comments arent being interpreted as demands or even requests. I am mostly interested in how experienced TVHeadend/XBMC devs think it might go. Based on the above responses, it sounds like the tvdaemon could be a good end point for me. I have had a few runs at the TVHeadend/XBMC partnership, so i have plenty of patience
My current attempt (which is working magnificently) is using the QNAP, with TVHeadend QPKG. This is working great. The only aspect stopping it being mint is the seek issue when watching live recordings (aka timeshifting). I am confident there are enough people out there who are interessted, and hopefully one of them knows how to code
Given my setup above, i have asked the QNAP QPKG maintainer to see if he can package up EricV's version. He is busy for a couple of weeks, but over the weekend I tested EricV's build on a laptop, and it worked fine (with my limited testing). If you are interested, have a look at this thread to see how it is going.
Cheers and thanks for everyones hard work on this,
RE: [TVHeadEnd] Hint - Timeshift while recording ! - adamsutton - 2012-07-02 21:32
Don't worry too much about making requests Just expect the occasional rebuttle when people can't be assed etc...
Tvdaemon "might" have some potential, but its early days yet and I'm steering clear at the moment because of the potential long lead time and lack of clear timescales. But I think they are trying to address the shortcomings of TVH.
I think the earlier point about Eric's fork is a good one, though I've not personally tried it.
But I know there are some of us trying to improve TVH so hopefully someone will step out of the shadows with a timeshifting implementation But unfortunately its not likely to be me at the moment.