tivostream - video streaming server for Series 3 Tivos

Discussion in 'TiVo Home Media Features & TiVoToGo' started by moyekj, Aug 22, 2008.

  1. beady

    beady New Member

    60
    0
    Oct 30, 2006
    LI, NY

    Advertisements

    That makes sense. I have an S3 but I encoded the video at a High Quality 1080i format. I'm using Pinnacle Studio 11 and have not had any luck encoding the video using H.264 and then using Tivo Stream.

    I'll play around with some of the other formats to see what works.
     
  2. moyekj

    moyekj Well-Known Member

    12,322
    958
    Jan 23, 2006
    Mission...
    If you catch up to the stream buffer while playing (which can easily happen with HD mpeg2 streaming) then tivostream automatically pauses which allows for the stream buffer to build up again. However if you stay paused you should see the buffer continue to build up (and hence the green position indicator continue to shrink). It sounds like after a couple of minutes something happens and the stream is stopping completely.

    It would help to see the console messages that are printed when you stream the HD shows.
     
  3. SamD

    SamD Member

    46
    2
    Jan 28, 2007
    Redondo...
    Reporting my "research" results. First, when playback freezes no new messages come up in console window. Found that pressing Play key unfreezes streaming. First run of Ratatouille ran uninterrupted about 10 minutes, then I left the room for about half an hour. When I came back Tivo switched to Live TV. Second run demanded Play pressing almost every minute. Still no new console messages. Then playback went smoothly for about fifteen minutes and suddenly freezed (no buffer indicator) due to console message "LOG: 192.168.1.6 I/O Exception handling HTTP GET Ratatouille.mpg: Connection reset by peer: socket write error."
    In three minutes connection self restored (!), buffer indicator came up, I pressed Play and playback went on. In five minutes new socket write error and I killed connection.
     
  4. moyekj

    moyekj Well-Known Member

    12,322
    958
    Jan 23, 2006
    Mission...
    What kind of network do you have? Wired ethernet, wireless, homeplug, other? As I mentioned if you catch up to the buffer (green bar all the way to the end) then this program intentionally freezes because your network stream is not fast enough to keep up with real time playback and needs to be paused to let buffer build up. However, for cases where you are seeing the I/O Exception errors in the console that means something happened to your network connection and the stream was dropped, or Tivo is rejecting the stream. You should try moving that show to your Tivo using Tivo Desktop (or one of the many programs supporting Tivo To Come Back) to see how that goes.

    I've watched several SD shows and HD episodes of Lost via streaming method without any issues. On occasion on the HD feeds I have caught up to buffer and needed to sit at pause a couple of minutes to let buffer build up, but I have not seen the I/O errors you are seeing.
     
  5. SamD

    SamD Member

    46
    2
    Jan 28, 2007
    Redondo...

    Advertisements

    My network is wired and Tivo is connected via Linksys SD205 switch to Verizon FIOS Actiontec router. This morning I connected Tivo directly to router and the streaming worked about thirty minutes but after this I again got this socket write error.
    Looks as I need to upgrade my network to gigabit speed...

    By the way, may I again return to subtitles question, because I badly need subtitles in playback (at least for SD material that works for me). T2Sami easily allows to extract subtitles in srt text file. Is it possible to use this file in tivostreamer?
     
  6. wmcbrine

    wmcbrine Well-Known Mumbler

    11,932
    959
    Aug 2, 2003
    That won't help -- the TiVo's port is only 100 Mbps, and is underutilized as it is.
     
  7. moyekj

    moyekj Well-Known Member

    12,322
    958
    Jan 23, 2006
    Mission...
    As already mentioned above, Gigabit network won't help. THD units for TTG/streaming purposes max out around 10 Mb/sec anyway. You could try wmcbrine's video streamer application instead to see if that works any better for you.
    As far as captions: Tivo doesn't support reading captions from video streams at the moment, so it would have to be up to the HME application to implement them. Currently I don't believe any HME application that I know of supports captions, including Tivo's own YouTube application. It's been discussed a little in this thread but I haven't looked into it at all yet as I don't foresee it being an easy thing to implement.
    One final thought on captions: If Videolan VLC supports captions in any form then it's possible that wmcbrine's application may be an easy way to get captions working for video streaming.
     
  8. Sevenfeet

    Sevenfeet Gentle Giant

    165
    0
    Jun 24, 2000
    Nashville, TN
    Well I'm still working on getting ffmpegX up and working on one of my Macs. I should have all the components installed hopefully by tomorrow.

    In the meantime, Apple has just released updates for Java 1.4, 1.5 and 1.6. In the case of 1.4 and 1.5, it has finally been updated to the last stable release from Sun respectively for each version. For 1.6, I believe it is release 07 (also latest release from Sun). This puts Apple in a rare position to having Java completely up to date on the Mac for the first time in who-knows-when.

    That being said, the DNS crash i have with tivostream still happens with this release. I haven't had time to swap our DNS servers on my network to see if this problem goes away with my Solaris version (versus the Leopard version of BIND). I'll see if I can do it over the weekend.
     
  9. moyekj

    moyekj Well-Known Member

    12,322
    958
    Jan 23, 2006
    Mission...
    FYI. With latest release of kmttg (just released) I've now included encoding profiles to generate Tivo streamable mpeg4 files. The encoding profiles handle both the encoding with ffmpeg and the qt-faststart post-processing automatically.
     
  10. jebbbz

    jebbbz Member

    329
    23
    Sep 7, 2007
    35th and...
    Does anyone if the output from a Hauppauge 1212 HD-PVR component capture box would stream to an HD TiVo? (I don't have one but have read that its hardware encoder generates H.264 in a .TS container but includes software to convert to an .MP4.)
     
  11. moyekj

    moyekj Well-Known Member

    12,322
    958
    Jan 23, 2006
    Mission...
    TS container won't work but MP4 container should, but probably only after running through qt-faststart.
     
  12. beady

    beady New Member

    60
    0
    Oct 30, 2006
    LI, NY
    I ran qt_faststart.exe against one of my pinnacle generated mp4 files. I originally created the file to emai so it was pretty small. When I tried to stream it, the Tivo rebooted! Gpot tells me the following about the file:

    mp42: MP4 v2
    isom MP4 Base Media v1
    Recommended Display size 512 x 288
    Codec mp4a: MPEG-4 AAC LC
    Info 48000Hz 128kb/s tot,sterso (2/0)
    kbps 450
    Pic/s 29.940 Frame/s 29.940

    Any suggestions on what I should change so that the Tivo doesn't crash?
     
  13. moyekj

    moyekj Well-Known Member

    12,322
    958
    Jan 23, 2006
    Mission...
    Tivo currently only seems to accept H.264 (and of course mpeg2) for video. MP4 V2 is not supported. The AAC audio portion should be fine.
     
  14. halfsheep

    halfsheep New Member

    9
    0
    Nov 19, 2002
    Thank you for the app and all the work!

    I have an issue with files not playing until the end. They happen to be .mpg files (created as vobs with dvdshrink and renamed to .mpg) I had a movie that DVD shrink split into 5 vobs. I then combined them back into 1 vob about 4 gigs in size. When I played it, only the first 28 minutes of the 1.5 hour file played.

    When I played each of the individual 5 mpg files, the first 4 played fine, in their entirety, but the last one stops after 20 seconds (it's only about 4 minutes long in total but won't play past 20 seconds via streamer.)

    Both the files that cut off in streamer - play fine in total on my PC. I.e. the files are complete.

    Any ideas/suggestions?
     
  15. moyekj

    moyekj Well-Known Member

    12,322
    958
    Jan 23, 2006
    Mission...
    You are not the first to report streams that just stop for no apparent reason in this thread and I actually saw the same thing happen just last night (during playback of 1 of my HD mpeg2 files). Haven't figured out why yet but I don't have a reproducible case to experiment with.
    Is the problem with your last 4 min clip reproducible? If so that would be a great clip for me to get hold of for debugging purposes. Please PM or email me (moyekj@yahoo.com) and I can arrange an upload location for your clip so I can get hold of it. (Or if you already can upload to somewhere I can get access to that would be great).
     
  16. moyekj

    moyekj Well-Known Member

    12,322
    958
    Jan 23, 2006
    Mission...
    Update on this. I obtained the clip from halfsheep and was able to reproduce the problem while streaming to my Tivos. However I tried to transfer the clip to my Tivos using pyTivo and it chokes at exactly the same point. So clearly there are some mpeg2 files that Tivo simply can't handle and this problem is not related to tivostream itself.

    What's interesting is it's not the decoder itself as with pyTivo I was transferring without viewing and it fails. Similarly while streaming the stream buffer ends at the 20 sec point since that is where it is cut off by the Tivo. So it seems the demuxing phase is what is failing.
     
  17. moyekj

    moyekj Well-Known Member

    12,322
    958
    Jan 23, 2006
    Mission...
    Another update with a quick solution. I ran the offending clip through VideoRedo Quickstream fix and the problem went away: both via pyTivo and tivostream I played back the stream without issue. So obviously some glitch in the mpeg2 stream that Tivo can't handle that can be fixed with VRD.
     
  18. rfryar

    rfryar My Media, My Way

    244
    5
    Feb 15, 2008
    Cottage...
    How did you combine the 5 clips into one? If you did not use a MPG tool to piece them together it will have some invalid data that causes many programs to think it is over.

    Video Redo will correct this as previously stated.

    Rick
     
  19. beady

    beady New Member

    60
    0
    Oct 30, 2006
    LI, NY
    Is it possible to use ffmpeg to convert AVCHD to H.264? As far as I can tell Pinnacle Studio 11 doesn't output to H.264. I found a program called Badaboom that is in beta but it requires an Nvidia G84 or higher chipset to work wiht AVCHD.
     
  20. Oct 1, 2008 #240 of 436
    bohbot16

    bohbot16 New Member

    21
    0
    Sep 21, 2008
    Katonah, NY
    It appears to be an issue with the JmDNS used in tivostream. I noticed this in the Galleon changelog:

    "Update JmDNS package to 1.0 (not using JmDNS from hme-host-sample-1.4.jar anymore); seems to help on Mac OS X 10.5"

    I followed windracer's instructions for launching tivostream through Galleon, and the mDNS issue went away on my OS X 10.5 (Leopard) machine.
     

Share This Page

spam firewall

Advertisements