Results 1 to 5 of 5

Thread: Work in progress: Stream live cache on S3

  1. #1
    Join Date
    Jan 2006
    Posts
    12

    Work in progress: Stream live cache on S3

    Attached is a patch for mfs-utils to add support for streaming of the live cache recordings. It uses a brute force approach (with a few refinements) to figure out which chunks have been used. It also tracks new parts as they are added. There's a list of things I still plan to improve, but I thought I'd throw it out there in case someone can tell me an easier/better way to do this. I've refined the approach so that I can consistently extract a single live stream from my S3 - both at SD and HD resolution. I suspect it wouldn't work well with two concurrent streams, but I haven't tried it. Some of the improvements I have planned should make that better. Thoughts?

    tail-live-stream-1.patch.gz

    --
    Steve

  2. #2
    Join Date
    Mar 2008
    Posts
    24
    Quote Originally Posted by vandebo View Post
    Attached is a patch for mfs-utils to add support for streaming of the live cache recordings. It uses a brute force approach (with a few refinements) to figure out which chunks have been used. It also tracks new parts as they are added. There's a list of things I still plan to improve, but I thought I'd throw it out there in case someone can tell me an easier/better way to do this. I've refined the approach so that I can consistently extract a single live stream from my S3 - both at SD and HD resolution. I suspect it wouldn't work well with two concurrent streams, but I haven't tried it. Some of the improvements I have planned should make that better. Thoughts?

    tail-live-stream-1.patch.gz



    --
    Steve
    this is very interesting. sorry, I'm going to break into pseudo-code here for a moment because this is beyond my level of technical knowledge, but I just want to understand what this may/may not be capable of doing.

    could HTTP Live Streaming be integrated to work with this? http://www.ioncannon.net/projects/ht...d-distributor/

    what format is the live cache?

    I truly have dreamed of something like this for years. This is way TV is meant to be - I pay for access, and I should be able to stream to any device in a non-DRM format.I'd be very interested in contributing to a project like this. This could be the holy grail if this type of delivery is possible.

  3. #3
    Join Date
    Jan 2006
    Posts
    12
    Quote Originally Posted by karpodiem View Post
    this is very interesting. sorry, I'm going to break into pseudo-code here for a moment because this is beyond my level of technical knowledge, but I just want to understand what this may/may not be capable of doing.

    could HTTP Live Streaming be integrated to work with this? http://www.ioncannon.net/projects/ht...d-distributor/

    what format is the live cache?

    I truly have dreamed of something like this for years. This is way TV is meant to be - I pay for access, and I should be able to stream to any device in a non-DRM format.I'd be very interested in contributing to a project like this. This could be the holy grail if this type of delivery is possible.
    Without looking at too many of the details, it seems very possible with all the standard caveats (hacking an S3 Tivo requires changing the prom chip). The S3 recording format is close to an mpeg transport stream. The s3tots program converts it to an mpeg transport stream. From that point you should be able to do what ever you want with ffmpeg. However, because of the way my patch works, you'll need some buffer room to watch things live. i.e. if you want to channel surf it might be kind of annoying because of the lag.

    --
    Steve

  4. #4
    Join Date
    Aug 2004
    Posts
    19
    Hi Steve,

    I'm interested in doing this with SageTV. I am in the process of acquiring a TivoHD. I haven't owned a Tivo for about 5 years since I ditched my DirecTivo. Would you mind answering a couple questions for me?

    Do you have a method for initiating recordings remotely? I am pondering a couple of options for this: TivoWeb manual recording, or the telnet interface.

    Do your mods work with the live buffer, or only with a recording?

    I'm planning on not having service from tivo. I'm not clear on whether I could schedule a manual recording with tivoweb to start immediately without service. If not, I think I would have to go with the live buffer.

    Thanks,
    Sean

  5. #5
    Join Date
    Jan 2006
    Posts
    12
    Sean, there are some bugs in my initial patch and life got in the way before I could figure them out. I've had some time recently so I've made progress again. I think I've worked out the bugs I know about. However, I needed to update my tivo to get a new channel map and ended up with a new version, so I need to pull the drive and rehack it.

    I don't remember what the patch above relies on, but I found that in boat anchor (aka no subscription) mode, even manual recordings don't work, so you have to pull recordings out of the live stream, which I'm doing. To initiate recording, I use the telnet remote interface to change the channel.

    Sorry for the slow (>1yr) reply.
    --
    Steve

    tail-live-stream-2.patch.gz
    Last edited by vandebo; 10-25-2013 at 03:02 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •