tivostream - video streaming server for Series 3 Tivos

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

  1. Sevenfeet

    Sevenfeet Gentle Giant

    165
    0
    Jun 24, 2000
    Nashville, TN

    Advertisements

    Thanks for the tip (and sorry it's taken so long to reply). This is not just a Mac issue but it also happens if you run tivostream on Solaris (SPARC). If it's happening on a Sun box (the mother of all Java servers), then it's a problem.
     
  2. dlfl

    dlfl Cranky old novice

    9,149
    833
    Jul 6, 2006
    Dayton OH
    I believe the answer to that is "yes".
     
  3. moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    Can you give the details of the problem? I am using Tivo's hme-host-sample.jar from HME distribution so currently don't have control over that portion of the code, but since source is available fixes should be possible. I do have access to a Solaris server (though not on my LAN) so if I can reproduce the issue there I may be able to look into this some more.
     
  4. Sevenfeet

    Sevenfeet Gentle Giant

    165
    0
    Jun 24, 2000
    Nashville, TN
    This is the same issue I gave earlier. That is, after tivostream has been running for anywhere from several minutes to a few hours, you get the following error:

    Exception in thread "JmDNS.SocketListener" java.lang.ArrayIndexOutOfBoundsException: 7 >= 7
    at java.util.Vector.elementAt(Vector.java:432)
    at javax.jmdns.DNSRecord.suppressedBy(Unknown Source)
    at javax.jmdns.DNSOutgoing.addAnswer(Unknown Source)
    at javax.jmdns.JmDNS.handleQuery(Unknown Source)
    at javax.jmdns.JmDNS$SocketListener.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:613)

    The "java.lang.ArrayIndexOutOfBoundsException: 7 >= 7" number varies...I've seen 6, 5 and 7 as output error numbers. But the error itself is always the same. You earlier asked me to set the debug flag and rerun tivostream. This had no effect...I got the same output. This problem happened with either Mac OS X Leopard (PPC) or Solaris 10 SPARC, both running Java 1.5.

    Since it looks like the folks maintaining Galleon have recently run into the same issue and offered a fix in the latest version (2.5.3). I downloaded Galleon (not sure why I haven't run Galleon before) and got it working and got tivostream working inside of it. So far, it's been running for about 16 hours without a crash, which is longer than I've ever seen it run.

    You may want to check the Galleon project to see what they did with their code.
     
  5. moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...

    Advertisements

    I've had tivostream running for the past 4 hours or so on a Solaris 5.10 host (with java 1.5). I don't have a Tivo available on the LAN (this is at work) to use as a client, but I fired off the HME simulator to use as a client and it's just sitting there connected to tivostream Solaris server sitting in file browser mode - occasionally I change directories just to keep some activity going. So far no issues, so I may not be able to reproduce this. Without reproducing the problem it makes it a lot harder to identify and fix the issue. At least it's good to see that you have a workaround by running via Galleon.

    EDIT: 8+ hours now without issue. I'll let it run over the weekend but I'm not expecting any problems so looks like I cannot reproduce this. It may be that having Tivos broadcasting on the LAN is necessary to provoke the issue...
     
  6. elsteve

    elsteve New Member

    18
    0
    Sep 14, 2005
    I have a bunch of .mkv files which contain h.264/ac3 video/audio.
    I'd like to convert them to .mp4 so I can stream them to my Tivo HD via tivostream.

    I am using FFmpeg version SVN-r15216-rdian06-0.95-win32-x86_32 as follows to get the.mkv to .mp4 format:
    ffmpeg -y -i inputfile.mkv -vcodec copy -acodec ac3 -ab 384k -f mp4 outputfile.mp4

    (I am using the -acodec ac3 -ab384k parm because for whatever reason, -acodec copy doesn't want to work - codec frame size not set - ??)

    At this point the resultant .mp4 file is >playable< on the PC with VLC but is quite choppy.

    First question: Why is the playback so poor? the .mkv file plays without a hitch and (to my limited understanding), all I've done is change the container. Any thoughts?

    *** I've also tried with the -an option to eliminate audio, just in case, but no luck...

    If I continue and run qt-faststart on the resultant .mp4 and then try to access it via tivostream from the Tivo, I get no playback at all and all the tivostream console shows is "unknown event opcode : 8"

    Second question: What's going on here? I suspect that if I resolve the first issue, the second will be fixed as well, but wanted to give the complete picture.

    Thanks for reading - and thanks for any help!!

    Steve
     
  7. moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    elsteve if you have a small sample .mkv H.264+AC3 file somewhere I can get hold of I can try out some things.
     
  8. elsteve

    elsteve New Member

    18
    0
    Sep 14, 2005
    cool...I sent you a PM with a link...

    thanks
     
  9. muerte33

    muerte33 Member

    94
    3
    Jul 4, 2008
    OK,
    I had some firewall issues, but I got this working, and I like it!
    Is it possible to play Divx or Xvid files yet?
    It failed on an AVI file I created with AVI.net, so I guess not.
     
  10. moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    This application is streaming only - so will simply send streams to Tivo as is. As documented currently Tivo only supports mpeg4 container decoding of H.264 with AC3 or AAC audio (in addition to mpeg2 of course). So no, Divx/Xvid is not supported. HME/VLC video streamer might be able to have VLC transcode to mpeg2 on the fly, and there's always pyTivo TTCB server that also can transcode.
     
  11. acslater

    acslater New Member

    9
    0
    Dec 29, 2007
    Just downloaded this tonight. It sounds really promising but I can't get it started. After clicking the bat the DOS window comes up but the application freezes after this line:

    MDNS: http://192.168.202.1:7288/videostream/

    What am I doing wrong?
     
  12. moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    Sounds like it's working fine. Leave that console window running and now you have to go over to your Tivo(s) and go to Music Photos & More and look for "Video Streamer" as shown in this picture:
    [​IMG]
     
  13. moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    With the latest announced upcoming Tivo support for Netflix streaming it would seem that VC-1 will now also be supported for streaming since that's the format used by Netflix. I don't believe the current software allows for VC-1 streaming so looks like it will be potentially in the next software update.

    By extension, if VC-1 will be supported then perhaps WMV3 (Windows Media Video 9) will also work.
     
  14. wmcbrine

    wmcbrine Well-Known Mumbler

    11,954
    971
    Aug 2, 2003
    Yeah, we've known that capability was in the chip, but it didn't seem to be activated in 9.4. Or else I just didn't find the right incantation...
     
  15. Nov 2, 2008 #275 of 436
    moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
    v0p9 - November 01, 2008
    -------------------------
    * Status bar times are now updated even when status bar is hidden so that
    there is no delay in seeing the correct times when first making it
    visible.
    * Fixed issue with upper vs. lower case file extension filtering
    Now the file extensions are case insensitive.
    * tivostream now has it's own Main function instead of using Tivo HME
    sample one. The implementation now used is a simplified version with a
    lot of overhead removed.
    NOTE: The run_win.bat and run_unix.sh scripts have been updated to
    use com.hme.tivo.videostream.Main
     
  16. Nov 5, 2008 #276 of 436
    Sevenfeet

    Sevenfeet Gentle Giant

    165
    0
    Jun 24, 2000
    Nashville, TN
    Excellent. I'll be upgrading in the next day or so.
     
  17. Nov 9, 2008 #277 of 436
    moyekj

    moyekj Well-Known Member

    12,324
    958
    Jan 23, 2006
    Mission...
  18. Nov 9, 2008 #278 of 436
    Agro

    Agro New Member

    44
    0
    Apr 20, 2003
    San Diego, CA
    I keep watching threads like this and i'm all for you guys making the TiVo a better product. However...

    The Apple TV hacked and using XBox Media Center (XBMC) is so kickass over the top of TiVo (for streaming your content) that I just cant justify using the TiVo for this.

    Anyhow, just some 411 to anyone who wants the best of the best, this is the way to go.
     
  19. Sevenfeet

    Sevenfeet Gentle Giant

    165
    0
    Jun 24, 2000
    Nashville, TN
    Do you have a link? The previous times I've looked at XBMC (running on a Mac), the setup process was so awful that it completely undid the pizazz of the interface.

    Update...nevermind...found the link to Boxee.
     
  20. jay0k

    jay0k New Member

    32
    0
    Nov 8, 2008
    I'm running OS X Leopard.

    I start and get the following output:

    STARTING tivostream...
    LOG: added factory
    MDNS: http://192.168.158.1:7288/videostream/

    What I'm confused about is the MDNS entry? The IP of my machine running this is 10.0.1.193. The Tivo HD is on the same subnet as well.

    Video Stream doesn't show up in the "Music Photos & More" section in Tivo Central.
     

Share This Page

spam firewall

Advertisements