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. Jul 5, 2009 #1381 of 3454
    Adahn

    Adahn New Member

    9
    0
    Jun 7, 2009
    Suggestions of ones that work in linux?
     
  2. Jul 5, 2009 #1382 of 3454
    moyekj

    moyekj Well-Known Member

    11,337
    119
    Jan 23, 2006
    Mission...
    pyTivo
     
  3. Jul 5, 2009 #1383 of 3454
    windracer

    windracer joined the 10k club

    11,652
    16
    Jan 3, 2003
    St. Pete, FL
    Galleon.
     
  4. Jul 5, 2009 #1384 of 3454
    myarken

    myarken New Member

    4
    0
    May 6, 2009
    Does anyone know how to make Streambaby list the metadata information (including Cover art) of Movies/TV shows ?

    I know I've seen a screenshot of the description of the movie, actor/s and a movie poster on the screen where you hit "Start/Play from beginning".

    Anyhelp would be greatly appreciated. I have alot of files but, it'll be handy to know what each one is without going to my PC and doing an imdb lookup.
     
  5. Jul 6, 2009 #1385 of 3454
    mourning_air

    mourning_air New Member

    6
    0
    Dec 1, 2005
    See these changelog notes. I have been able to get txt and html to work but for some reason not jpg. HTML is the nicest since you can have the images, title and description just the way you want them.
     
  6. Jul 7, 2009 #1386 of 3454
    kupe

    kupe Viva 'la Tivolution!

    365
    2
    Apr 9, 2003
    Gacch...probably was a mistake posting this just before the July 4 holiday! ;) Anyhow, can I provide any additional info or get thoughts on why the Streambaby volume keeps dropping?

    Thanks!

    Kupe


     
  7. Jul 7, 2009 #1387 of 3454
    windracer

    windracer joined the 10k club

    11,652
    16
    Jan 3, 2003
    St. Pete, FL
    Are you running streambaby through Galleon like I am? Per Keary, I did some testing and found that if I run svn-239 outside of Galleon, it works just fine. The same MP4s will through the 0xffffff error if streambaby is running inside of Galleon.
     
  8. Jul 9, 2009 #1388 of 3454
    myarken

    myarken New Member

    4
    0
    May 6, 2009
    As below, I've tried the video.avi and video.avi.txt and video.txt as the metadata file but, nothing is displayed (housed in the same directory as the video) Also tried .html extensions.
    What am I doing wrong?


    excert from streambaby changes log:
    # Metadata is looked for in the form "filename.mpg.xxx" where xxx the metadata extension.
    # Metadata is looked for in the same directory of the video file, or in a subdirectory of the directory where the main file is called .meta
    # Metadata supported:
    # .txt files- Either a pyTivo metadata file or a standard txt file (autodetected)
    # .html
    # .xml
    # .gif, .png, .jpg: Use as straight images. New config property info.preserveaspect=true to control if img is allowed to be stretched
    # Metadata is transformed using XSL into either straight txt or html (either is OK)

    Update, I got the video.avi.txt to work OK. Just can't get the pictures to work. Tried jpg, gif, png. Also XML doesn't work either.
     
  9. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    I just quickly tried a jpg and it seemed to work OK. (I wasn't sure since I hadn't actually tried it since I first implemented it.)

    The steps I took were:
    1. Created video file called "test.mp4"
    2. Created a jpg in same directory called "test.mp4.jpg"
    3. Ran streambaby, selected the directory, and then selected "test.mp4"
    4. Streambaby brought up the play/quality/etc screen with the JPG image at the top.

    As far as XML, it need to be a "TiVo" format XML extracted from a .TiVo file. Most applications don't extract this file directly, they convert it to a pyTivo .txt file. (Which is a specially formatted txt file) Streambaby supports other XML formats only if you create a xslt for it in the streambaby stylesheets directory. (Which is complicated)

    Although there are applications out there to create pyTivo metadata files (pyTivo .txt files) out there, I haven't used them so you may have to google a bit.

    You can manually create a pyTivo .txt file by creating a text file like the following:

    video.mp4.txt:
    Code:
    title : Title of Movie
    description : This is a movie about something really cool
    image : images/video_cover.jpg
    
    The image tag is a special tag that I don't think any applications except streambaby supports. The path can be either absolute (like c:\images\cover.jpg) or it is relative to the directory the .txt file is in.

    The third option would be to create HTML files. This is completely free format, so you can do whatever you want but below is a simple example
    video.mp4.html:
    Code:
    <html>
    <body>
    <h1>Movie name</h1>
    <font size="4" color="#ffffff">This is a really good movie</font>
    <img src="video.mp4.jpg"/>
    </body>
    </html>
    
    The same path rules as above stand for the img tag in the above example.

    Hope this helps.

    Edit: Added spaces between key/value and the colon in the pytivo metadata example.
     
  10. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    Sorry Kupe, I was hoping someone else who may be having similar problems would chime in. I did read the thread over in pyTivoX to see if there were any clues in that discussion.

    Just to make sure I understand, the volume drops "quickly" (i.e. play a movie, wait a couple of minutes and streambaby disapears from the showcase menu)

    I really have no idea-- If it was dropping the connection say after a few hours, I would think maybe something was wrong the jmdns code (the code that alerts the tivo of running HME applications) running on the Mac (but still wouldn't have any good ideas ;-).

    If it drops quicker I am really surprised, because in most cases because streambaby doesn't "close" the jmdns connection even when it quits (due to some bugs in the jmdns). streambaby usually hangs around in the "showcases" menu for longer than should.
     
  11. Chris McMahon

    Chris McMahon New Member

    3
    0
    Jul 11, 2009
    I've got an Australian TiVo (HD equivilent?) and for the last month or so, I've been getting random crashes when streaming video. This includes video files that previously stream perfectly.

    I haven't changed any settings on my end.

    For example, my last streaming video. A 350MB Xvid avi (640x368).

    During the total video play time of 58m StreamBaby crashed 4 times:
    1. @ 9m with error "Can't Run. An error occurred while running the application. The application closed during a read (0x50006). Press select to continue." Restarting the video, StreamBaby resumes approximately 2 minutes before the time it crashed.
    2. @ 28m. No error message. TiVo just went straight to live TV. Again restart streambaby and the video started streaming approximately 2-3 minutes before the crash.
    3. @ 49m. "Can't Run. An error occurred while running the application. The application closed during a write (0xffff). Press select to continue."
    4. @ 57m. Exact repeat of 3rd error message.
    StreamBaby's consol output when the above happened:

    07/08/09 01:26:08 Listener: 192.168.1.6 icon.png HTTP GET - to factory
    /streambaby/
    log after close : initContext version=47
    07/08/09 01:26:16 Factory: HME receiver connected
    07/08/09 01:26:54 Listener: 192.168.1.6
    bf98cdba-20ba-45c3-b231-3862571133e6.stream HTTP GET - to factory /streambaby/
    07/08/09 01:36:28 Listener: 192.168.1.6 I/O Exception handling HTTP GET
    bf98cdba-20ba-45c3-b231-3862571133e6.stream: Co
    nnection reset by peer: socket write error
    07/08/09 01:36:29 Listener: connection to receiver closed
    07/08/09 01:36:29 Factory: HME receiver disconnected
    07/08/09 01:36:42 Listener: 192.168.1.6 icon.png HTTP GET - to factory
    /streambaby/
    log after close : initContext version=47
    07/08/09 01:39:23 Factory: HME receiver connected
    07/08/09 01:39:44 Listener: 192.168.1.6
    30ef28b8-0c67-410f-875d-38b11a13dc08.stream HTTP GET - to factory /streambaby/
    07/08/09 01:52:50 Listener: 192.168.1.6
    30ef28b8-0c67-410f-875d-38b11a13dc08.stream HTTP GET - to factory /streambaby/
    07/08/09 01:59:52 Listener: connection to receiver closed
    07/08/09 01:59:52 Factory: HME receiver disconnected
    07/08/09 02:00:45 Listener: 192.168.1.6 icon.png HTTP GET - to factory
    /streambaby/
    log after close : initContext version=47
    07/08/09 02:00:56 Factory: HME receiver connected
    07/08/09 02:01:19 Listener: 192.168.1.6
    fe26fec2-13bf-42e8-b62a-211d1423fd40.stream HTTP GET - to factory /streambaby/
    07/08/09 02:08:56 Listener: 192.168.1.6
    fe26fec2-13bf-42e8-b62a-211d1423fd40.stream HTTP GET - to factory /streambaby/
    07/08/09 02:20:36 Listener: connection to receiver closed
    07/08/09 02:20:36 Factory: HME receiver disconnected
    07/08/09 02:22:20 Listener: 192.168.1.6 icon.png HTTP GET - to factory
    /streambaby/
    log after close : initContext version=47
    07/08/09 02:23:19 Factory: HME receiver connected
    07/08/09 02:23:49 Listener: 192.168.1.6
    424a9ccc-e1b8-40b5-bb57-2d501604e13f.stream HTTP GET - to factory /streambaby/
    07/08/09 02:26:53 Listener: 192.168.1.6
    424a9ccc-e1b8-40b5-bb57-2d501604e13f.stream HTTP GET - to factory /streambaby/
    07/08/09 02:32:27 Listener: connection to receiver closed
    07/08/09 02:32:27 Factory: HME receiver disconnected
    07/08/09 02:34:12 Listener: 192.168.1.6 icon.png HTTP GET - to factory
    /streambaby/
    I'm running 0.27 of Streambaby on WinXP Pro SP3, NOT running as a service. I've tried going back to 0.25 but problem persisted. I also tried reinstalling 0.27, as well as R239.

    My StreamBaby.ini:
    #
    # ./streambaby --help for more configuration file options
    #

    dir.1=E:\Media\Movies
    dir.1.name=Movies
    dir.2=E:\Media\TV
    dir.2.name=TV

    # Ip address to bind to
    # most people don't need to change this.
    ip=192.168.1.3
    # port to use
    port=7290
     
  12. zabolots

    zabolots Member

    79
    0
    May 24, 2007
    NW Chicago...
    I've tried searching and tried browsing through this thread but with 45+ pages is just too hard to find something specific that doesn't come up with a search.

    Does anybody have an init script to automatically start streambaby when Linux (Fedora 10 if it matters) boots?

    Thanks...Scott
     
  13. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    I can't give specific instructions for Fedora, but there are scripts in
    extra/service/linux32 (or linux64 depending on your architecture) to start/stop streambaby.

    So for example if Fedora supports something like rc.local (a script that linux usually runs on startup) you could add a line in it like the following to start streambaby:

    /path/to/streambaby/extra/service/linux32/streambaby start

    And it will start up streambaby as a background daemon.
     
  14. bluehz

    bluehz New Member

    36
    0
    Dec 19, 2008
    Sorry for the delay in replying on this - I tried the test.mp4 as suggested and still no go. None of my mp4 would play. I then added:

    mp4module.interleave=false

    to my streambaby.ini and voila.. all the mp4 that would not play before (incl. test.mp4) played fine. This is using 0.25, 0.27 and svn-239.

    EDIT: spoke too soon.. works fine with streambaby standalone - does not work running streambaby through galleon.

     
  15. zabolots

    zabolots Member

    79
    0
    May 24, 2007
    NW Chicago...
    Thanks for pointing those out. I had completely missed them. Everything's all set up now for autostart at boot time.

    Scott
     
  16. Chris McMahon

    Chris McMahon New Member

    3
    0
    Jul 11, 2009
    Doesn't anyone have any ideas on my issue? (which I'd link to, but am not allowed - see post #1391)

    This is driving me nuts. EVERY video I try to stream crashes streambaby. And it's not just once per video, but multiple times. What's most frustrating it that Streambaby used to work perfectly and I haven't changed anything on my end.

    I've gone from considering getting another TiVo to thinking of getting rid of my TiVo altogether for a different brand DVR.:(

    I've tried different versions of streamababy. Uninstalling, reinstalling. Reinstalling Java. Letting the whole video complete caching before playing. I've checked and rechecked my ini file. Nothing helps.
     
  17. windracer

    windracer joined the 10k club

    11,652
    16
    Jan 3, 2003
    St. Pete, FL
    Just a guess but it sounds like maybe your TiVo is dropping the network connection? I'm all wireless but have never had streambaby dump in the middle of playback.

    Would you really take back your TiVo just because streambaby doesn't work? I mean, streambaby is a great third-party addition, but it's lack of working wouldn't make me dump TiVo altogether (no offense to keary, of course!).
     
  18. Chris McMahon

    Chris McMahon New Member

    3
    0
    Jul 11, 2009
    I suppose it's possible. But it only seems to effect Streambaby, as my TiVo can still transfer files via TiVo Desktop, stream podcasts, download Blockbuster movies or even restart StreamBaby immediately after a crash in the time it takes me to navigate the menus to do so. IE if it is a network issue, it's not a lengthy one. Maybe the other apps have some type of error handling that invisibly compensates while StreamBaby just throws its hands up and gives up?

    However I've also tested letting the entire media file cache to TiVo, ie the green download bar to completely fill, before starting playback, and it still crashes.

    I also don't know if the errors "during a read" or "during a write" refer to reading and writing from the PC over the network, or TiVo's local hard disk.

    Well, I've got an Australian TiVo, so it only works with "Free To Air" channels (basically 5 channels). I generally end up watching about 3:1 digital media from my PC vs FTA TV in a week. So my TiVo is basically a media streamer that also records FTA.

    I have a backup media streamer, a Dlink 320, that I have to swap component and optical audio cables between it and the TiVo due to limited inputs on my TV. Basically it's a huge hassle to swap between them. The Dlink isn't as easy to use as Streambaby, and it doesn't display an as smooth picture.

    When I got Streambaby initially, it turned my TiVo into a holy-grail all-in-one easy to use golden child. I wanted to get one for every TV in the house. I guess now that it's got issues, my level of satisfaction had further to fall.
     
  19. ionman1964

    ionman1964 New Member

    16
    0
    Jul 13, 2005
    I get this when I start up the streambaby.bat file: FFmpegJavaVideoModule: Unable to load FFmpeg native libraries. Does not seem to effect the functionality of it however. Running it in Vista 64bit. Here is my streambaby.ini.
    #
    # ./streambaby --help for more configuration file options
    #

    dir.1=g:\ionman19642\Videos\
    dir.1.name=My Videos
    dir.2=J:\mpegs
    dir.2.name=mpegs
    dir.3.name=DVD
    dir.3=H:\
    dir.4.name=DVD
    dir.4=L:\
    dir.5.name=DVD
    dir.5=M:\
    dir.6.name=DVD
    dir.6=N:\
    # Ip address to bind to
    # most people don't need to change this.
    ip=192.168.0.7
    port to use
    port=7290
     
  20. mikek2

    mikek2 New Member

    16
    0
    May 2, 2009
    Perth,...
    I had the same problem with Vista 64. You need to point streambaby to a 32bit version of Java on your system. Just add the full path for a 32 bit version of java in the streambaby.bat file.
     

Share This Page