1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Streambaby - new streaming application

Discussion in 'TiVo Home Media Features & TiVoToGo' started by kearygriffin, Jan 20, 2009.

  1. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    This is the expected behavior-- It generates the previews so you can see them when you ff/rewind. It needs to do this ahead of time, so even if you don't use FF/RWD they are still generated.

    You can disable the generation by editing the streambaby.ini and setting:
    preview.autogenerate=false
     
  2. MrGolden

    MrGolden New Member

    24
    0
    May 18, 2009
    Okay, I still haven't been able to get the images to work with a .txt metadata file, and the .html file doesn't display anything at all - the info screen is blank.

    Can someone please post or email me a real metadata file, txt or html (preferrably both), that they *know* works? Streambaby is running on an XP box, if that matters.

    Thanks a lot!
     
  3. bluehz

    bluehz New Member

    36
    0
    Dec 19, 2008
    I am still trying to wrap my head around the metadata usage with streambaby. I have a pretty good understanding of how the tivo.xml and pytivo.txt metadata files work and even a basic understanding of what happens with the xml transformations.

    What I want to do is manually generate an html metadata document for each video file and use that as my metadata file. The reason I want to this is that my streambaby is running on a very old PC running Ubuntu 9.0.4 and I like to optimize as much as possible the processes. When using a standard pytivo.txt or tivo.xml metadata file - there is a significant pause before generating the Info screen displaying the metadata. I can only assume this is from the overhead required to parse and transform the raw metadata to the html for used by streambaby. Hence the reason I want to manually create the html metadata files - thereby skipping the xml transformations occurring in streambaby.

    The problem I am having is nothing to do with streambaby - but more with the xml transformations. I can't seem to get a grip on writing the xslt required to transform the raw metadata into a finished html format I can use on the server. I have been scouring the internet for xslt tutorials etc, but still am having no luck.

    Does anyone have any suggestions on how I might go about converting the raw metadata (either tivo.xml or pyTivo.txt) into a usable static html metadata file.

    Thx
     
  4. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    Before you get too deep into this I would just make sure the pause is really caused by the XSLT transformation and not the HTML->jpg transformation. It could be either or both that is causing the pause. (Most likely both...)

    If I remember correctly the XSLT transformation is pretty slow the the first time it generates the info screen, but is quicker for the next movie info screen. The XSLT is compiled the first time around and then is cached and used for all subsequent info screen metadata operations.

    Keary
     
  5. bluehz

    bluehz New Member

    36
    0
    Dec 19, 2008
    Thanks - another reason for static html generation is I want a customized info screen.

     
  6. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    This seems to work (run from the streambaby/stylesheets directory):
    Code:
    xsltproc tivo-pyxml.xsl /tmp/hb2.xml  | xsltproc pytivo-html.xsl - > /tmp/hb2.html
    
    To create hb2.html from hb2.xml, where /tmp/hb2.xml is TiVo format XML metadata. It does print some warnings but the resulting HTML seems OK. (I didn't look into the warning it was giving, but it's probably some XSLT feature that is not supported by xlstproc)

    The first transform (tivo-pyxml.xsl) transform the TiVo format XML into a pseudo pyTivo format XML (if you look at the output you will see what I mean). The second transform (pytivo-html.xsl) takes the pseudo-pyTiVo XML and transforms it to HTML.

    You can copy the xsl files to something else (so you don't break streambaby ;-) and then edit it to be more in line with what you are looking for.

    As far as the actual XSLT I probably can't help too much-- It's a miracle I got what I did working for streambaby (with a lot of help from the thread...)

    If you do use this method and slowness does not end up being a problem (so you don't need the static HTML files) you can just replace pytivo-html.xsl with your new versions to get a customized info screen.

    Sorry if I am answering a part of the process you already knew the answer to-- I think the key to the process above is the first transform simplifies the TiVo format XML into something a little easier to deal with (the pseudo pyTivo format XML)
     
  7. bluehz

    bluehz New Member

    36
    0
    Dec 19, 2008
    Thanks kearygriffin. I was alreayd working with that process a bit but for some reason - must be an xslt error - only partial data is transformed (Title and description). I have been playing around with editing the pytivo-html.xsl (the tivo-pyxml.xsl is fine), but am having a heck of a time (xml/xslt is not my forte). I was hoping someone more knowledgable in xml/xslt might chime in here and offer some help. Well maybe someone will see the post and chime in. Thanks for the suggestions.

     
  8. Ronio

    Ronio OTA HD User

    10
    0
    May 12, 2008
    Central...
    Do I have to have a file on my harddrive or can I redirect a current stream off the Internet?
     
  9. moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Can't do it with streambaby, but HME/VLC supports internet streaming of certain URLs.
     
  10. wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    Streambaby only does local files. If you want to stream Internet video, have a look at HME/VLC.
     
  11. Frankoz2

    Frankoz2 New Member

    8
    0
    May 31, 2009
    Adelaide,...
    Hi,

    I wrote about a week ago with this problem, but have had no response.

    Unfortunately, the issue persists; I experience spasmodic dropouts from Streambaby. See sample log below.

    The program being watched just dropsout back to live TV. Streambaby remains connected, but it is necessary to go back via the folders to the movie and resume.

    Any help in understanding the problem would be greatly appreciated.

    Thanks
    FrankOz


    Initializing StreamBaby svn-r239...
    08/29/09 13:37:30 Listener: added factory
    08/29/09 13:37:30 Main: streambaby ready & listening.
    08/29/09 13:37:34 Listener: 192.168.1.8 icon.png HTTP GET - to factory /streamba
    by/
    08/29/09 13:37:42 Listener: 192.168.1.8 icon.png HTTP GET - to factory /streamba
    by/
    log after close : initContext version=47
    08/29/09 13:37:52 Factory: HME receiver connected
    08/29/09 13:38:38 Listener: 192.168.1.8 a7e1e2a7-33eb-4ae7-98fb-67cd8277c6e0.str
    eam HTTP GET - to factory /streambaby/
    08/29/09 13:53:56 Listener: connection to receiver closed
    08/29/09 13:53:56 Factory: HME receiver disconnected
    08/29/09 13:53:58 Listener: 192.168.1.8 I/O Exception handling HTTP GET a7e1e2a
    7-33eb-4ae7-98fb-67cd8277c6e0.stream: Connection reset by peer: socket write err
    or
    08/29/09 13:54:17 Listener: 192.168.1.8 icon.png HTTP GET - to factory /streamba
    by/
    log after close : initContext version=47
    08/29/09 13:54:21 Factory: HME receiver connected
    08/29/09 13:54:47 Listener: 192.168.1.8 6cb75681-fbc2-4118-a53c-52618638f02b.str
    eam HTTP GET - to factory /streambaby/
    08/29/09 14:10:02 Listener: connection to receiver closed
    08/29/09 14:10:02 Factory: HME receiver disconnected
    08/29/09 14:10:04 Listener: 192.168.1.8 I/O Exception handling HTTP GET 6cb7568
    1-fbc2-4118-a53c-52618638f02b.stream: Connection reset by peer: socket write err
    or
    08/29/09 14:10:17 Listener: 192.168.1.8 icon.png HTTP GET - to factory /streamba
    by/
    log after close : initContext version=47
    08/29/09 14:10:21 Factory: HME receiver connected
    08/29/09 14:10:44 Listener: 192.168.1.8 34778c0a-1be1-4f05-afe0-deb04d2d1b43.str
    eam HTTP GET - to factory /streambaby/
     
  12. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    If I had to guess I would say it has something to do with the TiVo timing out because of inactivity-- Streambaby has code to handle this (so it doesn't time out), but for whatever reason it doesn't seem to be doing the trick for you.

    I don't want to jump to conclusions, but because I haven't heard of this issue before, it's conceivable it's some kind of issue specific to Australian TiVo's.

    You can try a couple of things:
    1) Try pressing "play" (or info, or anything else) every 5 minutes or so and see if that keeps the TiVo from timing out.
    2) Try turning on extra debug information in Streambaby and see if there are any clues just before the TiVo "drops".
    http://code.google.com/p/streambaby/wiki/debugging_problems

    Sorry I can't be of more help.
     
  13. skydive05

    skydive05 New Member

    2
    0
    Jan 10, 2009
    Titusville, FL
    I am trying to get Streambaby working with VUZE converted files on a WinXP PC, but the streambaby will not show up in either TIVOs.

    They are both TIVO HDs. Then I stumbled onto this POST and thought I would try getting Streambaby working. Which I did after playing around with PATH statements until I got it to use Java 1.6 instead of 1.5 as it was erroring out.

    So now Streambaby is running, but was not sure if I needed anything else with that running, or if the IP to configure was the IP of my PC?

    Anyways Streambaby is not showing up in the TIVO either. I would love to be able to stream through the TIVO just like my XBOX or atleast download through VUZE. I tried restarting the TIVOs to see if they needed a reboot, but NO GO.

    Does Streambaby or VUZE need Tivotogo installed on the same PC or any other requirement in order to show up on the TIVO?
     
  14. Kershek

    Kershek New Member

    125
    0
    Oct 10, 2002
    Mesa, AZ
    skydive05, I'm using Streambaby without TiVo desktop installed.
     
  15. windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    Just to be sure, are you looking in the right place?

    Streambaby shows up under "Music, Photos, & Showcases" not at the bottom of your Now Playing List.
     
  16. Sep 1, 2009 #1516 of 3410
    westside_guy

    westside_guy Annoyingly ephemeral

    464
    1
    Mar 13, 2005
    The soggy...
    Hey, this is going off on a tangent but - With OS X Snow Leopard 10.6 Apple has finally moved to Java 1.6. :D

    (At least a little relevant to streambaby...)
     
  17. Sep 1, 2009 #1517 of 3410
    Kershek

    Kershek New Member

    125
    0
    Oct 10, 2002
    Mesa, AZ
    I know this is an old post, but for those who were trying to help me, I resolved my issue. I replaced my new TrendNET TEW-852BRP wireless router with a Linksys wireless router I found at a thrift store and Streambaby came right up. That TrendNET router was a POS and I highly recommend staying well away from it. DD-WRT doesn't support it, either. However, DD-WRT runs nicely on the Linksys.
     
  18. Sep 1, 2009 #1518 of 3410
    Kershek

    Kershek New Member

    125
    0
    Oct 10, 2002
    Mesa, AZ
    What's the best way to ensure that Streambaby doesn't vertically stretch fill movies that have a wider aspect ratio than the TV's 16:10?

    Also, do people have issues streaming via wireless G higher than the medium high 3,400mbps setting? It seems my TiVo can't keep up with anything higher than that.
     
  19. Sep 4, 2009 #1519 of 3410
    jannlinder

    jannlinder New Member

    106
    0
    Oct 17, 2004
    San Jose, CA
    'lo all!

    Of course with the Snow Leopard update comes a 64-bit JVM. Is streambaby optimized to use this?

    I boot my mac into 64-bit mode and would love it if streambaby were to perform better with the 64-bit optimizations.

    I know it loads ffmpeg.bin so i don't know if that is optimized for 64-bit or not.. I have compiled ffmpeg and all its required libraries as 64-bit and it seems to give a large performance gain when transcoding (7-9 fps in 32-bit vs 21+ in 64-bit with the exact same settings). Most of this coming, (I have seen) from the correct compilation of libx264 for 64-bit. This enables the following on the processor (on the MBP unibody)

    Code:
    using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
    
    which does not appear (not all anyway) when compiled for 32-bit.

    Anyway, just wondering if some tweaking could help the performance -- especially on lower-end 64-bit (Core2Duo) macs such as the Mini...
     
  20. Sep 4, 2009 #1520 of 3410
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    From my experience with engineering software in general 64 bit binaries run slower or same speed as their 32 bit counterparts, so unless we need access to >4GB RAM we try and use the 32 bit versions as much as possible. Of course a lot of it depends on the software itself and what libraries it uses etc.
     

Share This Page