Streambaby - new streaming application

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

  1. thewebgal

    thewebgal MacAphile AV geek

    490
    28
    Aug 10, 2007
    DC 'burbs

    Advertisements

    Streambaby is a java app that runs on my mac, for instance. I can see it when I look at Apps tab on my Roamio, but I got curious. Can it be seen by any other network device - say, a smart TV, or the Network view of my Oppo Bluray player?
     
  2. moyekj

    moyekj Well-Known Member

    12,179
    828
    Jan 23, 2006
    Mission...
    No, streambaby is using HME which is a protocol only understood by TiVo units, not other devices.
     
  3. thewebgal

    thewebgal MacAphile AV geek

    490
    28
    Aug 10, 2007
    DC 'burbs
    Updated my MacPro to El Capitan and lost Streambaby - It seems to run in Terminal on the machine, but I go to the TIVO, click the Apps, then Streambaby and I get the Please Wait screen and it never goes further ...
    I reinstalled Sb 0.48 and Java 8 v 71 ...
     
  4. moyekj

    moyekj Well-Known Member

    12,179
    828
    Jan 23, 2006
    Mission...
    Enable debug mode to get more info:
    https://sourceforge.net/p/streambaby/wiki/debugging_problems/
     
  5. robin50

    robin50 Member

    48
    4
    Feb 14, 2007

    Advertisements

    This is a fabulous program. Thanks to moyekj for his work on this!

    Running on Windows 7.

    Initial observations:

    Native .tivo files and .tivo mp4 files {mp4 files saved from native TiVo files using Videoredo [setting H.264 TiVo-TS (Roamio/Premiere)]} have problems:

    1. When I fast forward there is a preview box with nothing in it. No matter where I fast forward to in the file, playing returns to the beginning of the file.
    2. The resume feature does not work. I am always returned to the beginning of the file.
    3. Metadata is displayed properly. This is good of course.
    MPEG-2 Program Stream and H.264 MP4 files (both created using Videoredo) work perfectly:

    1. I can fast forward and see the preview even when out of the buffered zone. When I hit play while fast forwarding it starts where it should.
    2. The resume feature works fine.
    3. Metadata is not displayed (of course).
    Is this differing behavior between tivo and mpeg files expected?

    I hate to think that to get the great navigation features I have to save all of my terabytes of TiVo files to mpeg files (and lose the metadata)!

    Thanks!
     
    Last edited: Jan 31, 2016
  6. moyekj

    moyekj Well-Known Member

    12,179
    828
    Jan 23, 2006
    Mission...
    Yes, unlike mpeg2 or mpeg4 files there's no random seeking code for TiVo files, so no way to jump to a particular point in a TiVo file, so save/restore play position doesn't work.
     
  7. Feb 1, 2016 #3307 of 3662
    wmcbrine

    wmcbrine Well-Known Mumbler

    11,747
    830
    Aug 2, 2003
    Extract the metadata from the .TiVo files to pyTivo-style .txt files, and use that alongside the decrypted .mpg and .ts files.
     
  8. Feb 1, 2016 #3308 of 3662
    robin50

    robin50 Member

    48
    4
    Feb 14, 2007
    Thanks moyekj, yes now I see previous discussions about this in this thread, I wasn't using the right search terms . . .
     
  9. Feb 1, 2016 #3309 of 3662
    robin50

    robin50 Member

    48
    4
    Feb 14, 2007
    Thank you wmcbrine! I will now delve into the pyTivo world. I will study and post any questions in the appropriate forums.
     
  10. Feb 3, 2016 #3310 of 3662
    dchomak

    dchomak New Member

    27
    0
    May 3, 2015
    Yes!
    It took me the longest time to trust doing this, but after noticing no problems I finally converted all of my .TiVo files to .mpg and the corresponding metadata files.
    It is also nice to be able to edit those metadata files with corrected or additional information. Or even create one where there wasn't one initially.
     
  11. Feb 3, 2016 #3311 of 3662
    thewebgal

    thewebgal MacAphile AV geek

    490
    28
    Aug 10, 2007
    DC 'burbs
    Not sure what changed - but I installed a 240GB SSD Monday to replace the old Seagate boot drive - and somewhere in the cloneing and restarts, its working again! And seems to run faster too with the tool on the SolidStateDrive!
     
  12. Feb 4, 2016 #3312 of 3662
    robin50

    robin50 Member

    48
    4
    Feb 14, 2007
    This is extremely valuable and encouraging feedback dchomak. Thanks!
     
  13. jgantert

    jgantert Member

    66
    0
    Jan 24, 2008
    Columbia, MD
    I'm only on v0.45, but is there any way to refresh the Plex directory listings? Right now if new files are added to Plex, I need to restart the streambaby service on Ubuntu 15.10.

    One other issue I have is if you play a title with a long description, press the info button to get the title info. Then when you press it again, the text disappears, but the scroll down icon remains. Is there any way to remove the left over scroll icon?

    Thanks!
     
  14. kflinch

    kflinch Member

    45
    3
    May 19, 2004
    Philly Suburbs
    I recently upgraded Java to v 8.0.730.2. Now when I attempt to play a video via Streambaby I see a message in red letters "Failed to open stream". I tried several file types - mp4, mkv, avi, mpg. Is this because of the Java upgrade? Should I downgrade to an older version? If so, which version?

    I upgraded Java because I had upgraded kmttg to the latest version, but I had problems with kmttg. I tried the Java upgrade in an attempt to fix kmttg. The Java upgrade did fix kmttg, but maybe broke Streambaby.

    I also upgraded Streambaby to v0.48. When I start Streambaby from the .bat file (rather than as a service) I see some errors, but the last line reads Ready and listening.

    The errors are:
    "...streambaby.log (access is denied)"
    "...streambaby_win32_tools_v0p33.zip (access is denied)"

    I have Windows 10 and Roamio basic.
     
    Last edited: Mar 25, 2016
  15. moyekj

    moyekj Well-Known Member

    12,179
    828
    Jan 23, 2006
    Mission...
    That's not a good sign - means streambaby doesn't have write access to where you installed it so ffmpeg and other tools needed are being installed properly. Make sure you don't install under "Program Files" or "Program Files (x86)" since those locations are write protected. I'd suggest you start with brand new installation in a different directory such as c:\streambaby and then run the .bat file and make sure there aren't any errors.
     
  16. kflinch

    kflinch Member

    45
    3
    May 19, 2004
    Philly Suburbs
    Thanks. I do have Streambaby installed under Program Files (x86). I tried your suggestion and copied the Streambaby folder to C:, but still saw an error for opening the zip file. Furthermore, when I attempted to stream a video file I saw the "Failed to open stream" error again. I wound up reverting to v45. I still see the error for opening the zip file, but I can stream files. I am settling for that.
     
    Last edited: Mar 25, 2016
  17. moyekj

    moyekj Well-Known Member

    12,179
    828
    Jan 23, 2006
    Mission...
    I think the zip file problem is related to sourceforge changing URL for downloads, so the download is failing. I guess I need to fix that at some point with a new release...
     
  18. moyekj

    moyekj Well-Known Member

    12,179
    828
    Jan 23, 2006
    Mission...
    Before I forgot I fixed the URL for tools download in a new 0.49 version just released.
     
  19. MacGuruTX

    MacGuruTX Member

    49
    0
    Sep 19, 2006
    San Diego, CA
    Out of Memory error when using sort.date=true

    Just put in .49 and noticed in an earlier post about the sort.date setting.

    I put this into my ini
    sort.date=true

    But once the tivo accesses streambaby, i get the following crash:
    03/26/16 15:40:50 Factory: 504 HME receiver connected
    03/26/16 15:40:50 Application: 509 HME host: 192.168.1.20:7290
    Exception in thread "Thread-17" java.lang.OutOfMemoryError: Java heap space
    java.lang.OutOfMemoryError: Java heap space

    Is there an easy way for me to allocate for heap space for streambaby to use?
     
  20. moyekj

    moyekj Well-Known Member

    12,179
    828
    Jan 23, 2006
    Mission...
    You can use -Xmx argument. For example to start with 1GB heap space:
    java -Xmx1g -jar streambaby.jar
     

Share This Page

spam firewall

Advertisements