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. CMed1

    CMed1 New Member

    5
    0
    Apr 22, 2013
    support.apple.com/kb/HT5559?viewlocale=en_US

    Entering the terminal commands on the page above fixed this issue for me.
     
  2. TheWGP

    TheWGP Hmmm...

    299
    0
    Oct 26, 2007
    I've tried those terminal commands and am not having any luck. I'm still getting that same identical error that Jayrcee pasted above.

    Any other ideas, anyone?

    Edit: I got it working by a freak accident: manually starting it like this:
    navigating in terminal to (streambaby directory)/jbin and doing "java -jar streambaby.jar" as opposed to the
    "java -Djava.net.preferIPv4Stack=true -Xmx256m -jar "$DIRNAME/jbin/streambaby.jar" found in the streambaby file that runs. I'm not adept enough at this stuff to figure out why this works, and this note/edit is partly so that I don't forget how I did it tomorrow night...

    This is using the latest version, btw - I downloaded a fresh copy.
     
  3. CMed1

    CMed1 New Member

    5
    0
    Apr 22, 2013
    It went back to not working for me also after entering those terminal commands. That must have been a fluke that it worked even once after doing that.

    I actually ended up doing a system restore to go back before the update. That only took about 9 hours.
     
  4. ddivins

    ddivins New Member

    1
    0
    Apr 25, 2013
    I was having the exact issues. Looks like streambaby dislikes Apple's java 1.6 but seems ok with Oracle's 1.7 (at least 1.7u21)

    To correct, install the latest java from java.com (1.7).

    Even after doing this, java is still pointing to the Apple version via /usr/bin/java (as seen by "which java") and that version is probably still the apple version:
    dsd$ java -version
    java version "1.6.0_45"
    Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
    Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)

    You need to link the Oracle Java 1.7 here:

    sudo ln -sf /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java /usr/bin/java

    sudo ln -sf /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/javaws /usr/bin/javaws

    Now 1.7 should be the default java:
    dsd$ java -version
    java version "1.7.0_21"
    Java(TM) SE Runtime Environment (build 1.7.0_21-b12)
    Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

    Then run streambaby as normal. Works for me. I have started and stopped the it and its seems ok.

    Best,
    dsd
     
  5. May 3, 2013 #2665 of 3410
    az1097

    az1097 New Member

    82
    0
    Apr 3, 2013
    I would like to transfer Shows which I download from the internet to my Tivo Premiere and be able to watch them with Closed Captions. These shows don't have Closed Captioning and for some I download ".srt" files. I'm unable to tranfer the ".srt" files using pyTivo. Would streamBaby able to do so? Thanks.
     
  6. May 3, 2013 #2666 of 3410
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    Streambaby automatically reads .srt file if you have one of same file name as main video to give you captions (and you can toggle it on/off I think with the Zoom button). i.e. If you have myvideo.mp4 then you would want an accompanying myvideo.srt captions file. There's also a bunch of settings I added for captions a while back to control font size, foreground and background colors, as well as option for no CC background (see the Wiki pages).
     
  7. May 3, 2013 #2667 of 3410
    az1097

    az1097 New Member

    82
    0
    Apr 3, 2013
    Thanks moyekj. If I understand it correctly StreamBaby would only stream and not transfer so the PC needs to be running a console in order to use it. Any suggestions on transferring shows with srt, as you mentioned if there are same named mp4 and srt files, to the Tivo.
     
  8. May 4, 2013 #2668 of 3410
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    For viewing captions on transferred videos to TiVo you need EIA-608 captions encoded into video stream. Some discussion about that in pyTivo thread:
    http://www.tivocommunity.com/tivo-vb/showthread.php?p=9627231#post9627231
    Only other option is use Handbrake to encode subtitles (which can't be turned off) into the video stream using the .srt file.
    Using streambaby with .srt file is the easiest solution.
     
  9. May 5, 2013 #2669 of 3410
    az1097

    az1097 New Member

    82
    0
    Apr 3, 2013
    How would I encode the subtitles into the video with Handbrake?
     
  10. May 5, 2013 #2670 of 3410
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
  11. May 5, 2013 #2671 of 3410
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
  12. May 5, 2013 #2672 of 3410
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    Looks like you need ssa files for burning in with HB. As an alternative I just tried with ffmpeg and it was easy to add burned in subtitles simply by adding:
    -vf subtitles=SRTFILE
    (I just added above to a kmttg encoding profile and confirmed resulting encoding had burned in subtitles).
     
  13. May 5, 2013 #2673 of 3410
    MacGuruTX

    MacGuruTX Member

    46
    0
    Sep 19, 2006
    San Diego, CA
    For this to work correctly, I believe you will need to put quotations around the first directory path. Otherwise it will fail due to the space in the directory name of Internet Plug-ins.

    like this
    sudo ln -sf "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java" /usr/bin/java

    sudo ln -sf "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/javaws" /usr/bin/javaws
     
  14. May 6, 2013 #2674 of 3410
    jhilla

    jhilla Guest

    114
    0
    May 13, 2011
    AS a reminder: The Java 7 problem was resolved with the post below: Oh and it's works great! =)
    My Streambaby server is running on Windows 7 64bit along with Pytivo-master

     
  15. May 8, 2013 #2675 of 3410
    muzzymate

    muzzymate Member

    98
    0
    Sep 2, 2004
    Cleveland
    Has anyone ever figured out a way around the 0xffff "IOException: java.io.IOException: Pipe closed" error?

    I'm using Streambaby and all videos work perfectly except for home videos recorded from our iPhones. I found a work around to bump the quality so that the videos are transcoded. However, I'd like to avoid having to manually select the quality indicator and have Streambaby automatically transcode certain types of videos (H.264 video in a MOV container - I think. Definitely an MOV extension). My DVD and TV show rips are in H.264 MP4 container and I would like to avoid having those transcoded since they work perfectly as is.

    I'm aware of the mp4mod.streamformats.disallow= INI setting but it doesn't seem to work setting to "mp4mod.streamformats.disallow=mov" and restarting Streambaby.

    Any suggestions? Thanks!
     
  16. jcornell

    jcornell New Member

    2
    0
    Feb 16, 2010
    This worked for me. Thanks!
     
  17. clover_kid

    clover_kid New Member

    13
    0
    Apr 11, 2002
    I have applied the changes suggested above for using the Java update with streambaby osx.

    It worked great under the previous version od java. Now I get the error shown below.

    Any ideas of how to correct?

    Thanks

    C_K

    Initializing StreamBaby v20120828-2030...
    java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
    at java.net.ServerSocket.bind(ServerSocket.java:376)
    at java.net.ServerSocket.<init>(ServerSocket.java:237)
    at com.tivo.hme.host.http.server.HttpServer$PortInterface.<init>(HttpServer.java:204)
    at com.tivo.hme.host.http.server.HttpServer$Port.<init>(HttpServer.java:169)
    at com.tivo.hme.host.http.server.HttpServer.start(HttpServer.java:79)
    at com.unwiredappeal.tivo.streambaby.host.Listener.<init>(Listener.java:103)
    at com.unwiredappeal.tivo.streambaby.host.Main.<init>(Main.java:137)
    at com.unwiredappeal.tivo.streambaby.StreamBabyMain.main(StreamBabyMain.java:152)
    error: Address already in use
    usage: Main [--port <port>] [--ip <ip>] class

    logout

    [Process completed]

    EDIT

    OK I'm an idiot Googled some more, just changed the port in the streambaby.ini file to a number out of the air (7777) and it worked!
     
  18. dwengrovitz

    dwengrovitz New Member

    1
    0
    Apr 6, 2003
    I've been running StreamBaby for quite some time from a Mac without any problem ... that is until recently. I suspect this is due to some of the recent Java or OSX updates, and I've tried following the threads on this forum to address them, but I've not been successful.

    On the server side I'm running OSX 10.8.3 with the latest Oracle Java (1.7.0.21). I need to use the latest Java for some other applications running on the same box, so going back to the older Apple version isn't an option. Every time I try to play a video from the TiVo interface it crashes, and the message I see on the StreamBaby server says:

    StreamBabyMain quit unexpectedly while using the libjvm.dylib plug-in.

    Any suggestions or thoughts on how to address this?
     
  19. jhilla

    jhilla Guest

    114
    0
    May 13, 2011
    The following will only work if you have Shares open to read/write access. This is a copy of my config file on my ASUS Win8 Notebook.

    #
    # ./streambaby --help for more configuration file options
    #

    com.unwiredappeal.tivo.streambaby
    com.unwiredappeal.tivo.vm.ffjava.FFmpegJavaVideoModule=false
    com.unwiredappeal.tivo.vm.ffexe
    cc.background.transparency=0
    quality.highestabr=384
    quality.highres=1080
    quality.select=true
    preview.autogenerate= (default:true)
    autogenerate.background= (default:0)
    mp4mod.streamformats= (default:mp4,mpeg,vob,mpg,mpeg2,mp2,avi,wmv,tivo,asf)
    lib.native=C:/appsstreambaby-20120828-2030/native
    ffmpeg.path=C:/apps/streambaby-20120828-2030/native/ffmpeg.exe
    dir.1=C:/Users/John/Videos
    dir.1.name=ASUS Media
    dir.2=\\AMD\c$\Users\AMD\Videos\Pytivo\Tv Shows
    dir.2.name=Tv Shows
    dir.3=\\AMD\c$\Users\AMD\Videos\Pytivo\Kid-Songs
    dir.3.name=Kid Songs
    dir.4=\\AMD\c$\Users\AMD\Videos\Movies
    dir.4.name=Movies
    dir.5=\\AMD\c$\Users\AMD\Videos\Home Videos
    dir.5.name=Home Videos
    #CoverImagesFolder=Y:\covers
    # Ip address to bind to
    # most people don't need to change this.
    #ip= 192.168.0.14
    # port to use
    #port=7290
    tivo.username=xxxxx
    tivo.password=xxxxx

    ;)

    This is my HP AMD Win 7 Desktop - Config file

    #
    # ./streambaby --help for more configuration file options
    #

    com.unwiredappeal.tivo.streambaby
    com.unwiredappeal.tivo.vm.ffjava.FFmpegJavaVideoModule=false
    com.unwiredappeal.tivo.vm.ffexe
    cc.background.transparency=0
    quality.highestabr=384
    quality.highres=1080
    quality.select=true
    preview.autogenerate= (default:true)
    autogenerate.background= (default:0)
    mp4mod.streamformats= (default:mp4,mpeg,vob,mpg,mpeg2,mp2,avi,wmv,tivo,asf)
    lib.native=C:/appsstreambaby-20120828-2030/native
    ffmpeg.path=C:/apps/streambaby-20120828-2030/native/ffmpeg.exe
    *dir.1=C:/Users/John/Videos
    *dir.1.name=ASUS Media
    dir.2=c:\Users\AMD\Videos\Pytivo\Tv Shows
    dir.2.name=Tv Shows
    dir.3=c:\Users\AMD\Videos\Pytivo\Kid-Songs
    dir.3.name=Kid Songs
    dir.4=c:\Users\AMD\Videos\Movies
    dir.4.name=Movies
    dir.5=c:\Users\AMD\Videos\Home Videos
    dir.5.name=Home Videos
    #CoverImagesFolder=c:\Users\AMD\Videos\covers
    # Ip address to bind to
    # most people don't need to change this.
    #ip= 192.168.0.14
    # port to use
    #port=7290
    tivo.username=xxxx
    tivo.password=xxxx

    My Streambaby.bat bypassing Java headache

    @echo off
    set LAUNCHDIR="%CD%"
    pushd "%~dp0\native"
    "C:\Program Files (x86)\Java\jre7\bin\java.exe" -Djava.net.preferIPv4Stack=true -Xmx256m -Xmx256m -jar "%~dp0/jbin/streambaby.jar" %1 %2 %3 %4 %5 %6 %7 %8
    echo Exited.
    pause
    popd
     
  20. Jul 6, 2013 #2680 of 3410
    mike386

    mike386 New Member

    21
    0
    Jan 17, 2009
    When streaming a .mpg file, streambaby fast forward works correctly. It shows thumbnails and when I press play, it restarts streaming from the selected point in the video. (The .mpg file is a .tivo file that has been decrypted with kmttg.)

    However, when I stream a .tivo file, streambaby fast forward does not work correctly. When I press play, it always restarts the streaming from the beginning of the video. Is this how streambaby works with TiVo-encrypted files, or do I need to change something? I was hoping to be able to stream downloaded .tivo files to another tivo without the need to decrypt or push the whole file.

    Note that it also shows just the time in text instead of thumbnails when fast forwarding a .tivo file.
     

Share This Page