[TV] - Add timeshift buffer to a recording | Page 5

Discussion in 'Improvement Suggestions' started by RicoHTPC, April 18, 2012.

  1. shummi

    shummi Portal Pro

    Joined:
    February 24, 2010
    Messages:
    51
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Denmark Denmark
    Show System Specs
    Hi @infinite.loop



    When you watch a live show, it creates a time shift file, when you change channel it still record to the same file.
    so first i think it should create a new file on channel change.
    After that, when you after 10 min. choose to record, MP could keep this time-shift file, and rename it and move it to record folder when finished.
    Just a thought

    /Shummi
     
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mattjcurry
    • Team MediaPortal

    mattjcurry Development Group

    Joined:
    October 24, 2011
    Messages:
    261
    Likes Received:
    195
    Ratings:
    +226 / 0
    I am not sure how the appending would work since it has to appear instant to the user. Also, even after the user hits record, they should be able to move back and forth seamlessly between what has been timeshifted and what is recorded tv.

    Also, I think that the feature should be egp aware. In other words, if I started watching tv 1.5 hours ago, but then a new show comes on 10 minutes ago and I want to record it, the only part of the ts buffer that should be appended to the recording is from the beginning of the show as indicated by the egp (maybe using the default pre and post buffer options).
     
    • Like Like x 1
  4. shummi

    shummi Portal Pro

    Joined:
    February 24, 2010
    Messages:
    51
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Denmark Denmark
    Show System Specs
    @mattjcurry
    You got a point.
    I haven't found any reliable TS-file cutter, so a possibility is to create 2 TS-files, when recording starts.
    1. Normal time-shift file.
    2. Record-file, that's:
    • Named the with the actual EPG info
    • EPG-aware, so filecreation starts with pre and post buffer
    • Channel change aware. so filecreation starts when channel changes.
    This will require double (tripple) the filespace.
    Then when the user hits record, MP will:
    • Show Record "red-dot"
    • Show warning if user try to change channel
    • After recording, move the already saved file to recordfolder.
    /Shummi
     
  5. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    I think I have top clarify a bit:
    there is already a TS-file cutter in the TvService, because this feature was already available in TVE2 and experimental in TVE3, but seems to be broken currently.
    Also you don't need multiple ts files.
    You can just copy that specific part from the timeshiftbuffer-file to the beginning of the recording file.
    The hard part is to determine at which position exactly the recording started and get only the relevant part of the timeshiftfile over to the recording ;)
     
  6. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Hard? You can say that again!
    Currently it is not possible as TsWriter has no concept of "current position". All that stuff is playback domain - TsReader.
    Joining or cutting TS files is relatively simple. I think the current behaviour could be improved by joining the files automatically, but cutting to program is non-trivial. A smart solution is needed if it is possible at all.
     
  7. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    This was already looked at ?last year? and someone made a mod/branch with a lot of changes, it was able to do it. I think the changes had some undesirable effects as well.... Anyway It was also looked at by some of the MP team and it was decided that it required too many changes to make it into mediaportal.

    EDIT: Here it is
    https://forum.team-mediaportal.com/threads/step-2-add-already-watched-ts-buffer-to-recording.81937/

    EDIT2: Derp linked in first post...

    However I think this feature would be great, I could see it implemented 3 ways

    1. Press Record, MP looks at the epg, decides what time the program started and uses timeshift from that position + a precord buffer

    2. User time shifts backwards then presses record at the point he wants to record then chooses to stop recording when the program is finished via the same dialog box we get currenty (manual stop vs record current program)

    3. User time shifts backwards then presses record at the point he wants to record, chooses manual stop, then he can skip forward in the timeshift buffer and press stop. The recording could only span the timeshift buffer or it could include part of the timeshift buffer and part of the "live buffer"

    So when you press Record you get the following dialog

    Record entire show
    Record from now till show end
    Record from now till manual stop
     
    Last edited: October 24, 2012
    • Like Like x 2
  8. kkendall

    kkendall Portal Pro

    Joined:
    April 24, 2007
    Messages:
    864
    Likes Received:
    16
    Gender:
    Male
    Occupation:
    Senior Marketing & Communication
    Location:
    Gouda
    Ratings:
    +16 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Oh, man, i really hope this will become reality soon! I really mis it every week!
     
    • Like Like x 1
  9. Sepheta

    Sepheta Portal Member

    Joined:
    September 8, 2009
    Messages:
    15
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Germany Germany
    + 1

    The would be a nice feuture.
     
  10. blub
    • Premium Supporter

    blub MP Donator

    Joined:
    October 1, 2013
    Messages:
    223
    Likes Received:
    42
    Gender:
    Male
    Occupation:
    Physician
    Location:
    Giessen
    Ratings:
    +79 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi

    This a "killer feature". The Linux VDR distribution can do this, they use only one TS-file which gets deleted when you change channel.
    If you decide to record when in TS-mode it copies all the data from the show you want to record to new recording and merges it with the "live recording" stream.

    You cannot change the channel until the copying process is finished.
    One disadvantage is that when you accidentally change the channel in TS mode all data is gone and you can only resume to the show in live mode - missing quite a lot.
     
  11. Holzi
    • Team MediaPortal

    Holzi Super Moderator

    Joined:
    April 21, 2010
    Messages:
    7,928
    Likes Received:
    1,591
    Gender:
    Male
    Location:
    Ba-Wü
    Ratings:
    +2,228 / 8
    Home Country:
    Germany Germany
    Show System Specs
    Have you checked: https://forum.team-mediaportal.com/threads/include-timeshift-buffer-in-recordings.121648/
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!