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

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Don't know what others are doing. I have multiple installations of Java and specifically direct the streambaby.bat to use the Java 6 executable for rare times I run streambaby. My main/default installation is current Java 7.
     
  2. wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    pyTivo supports folders. Presumably you just have them turned off on your TiVo. Press "2".
     
  3. ramiss

    ramiss New Member

    74
    0
    Jan 29, 2014
    what I meant was that Pytivo may see everything in sub folders, but it clumps them all into one list. Whereas streambaby will display the folder and keep the organization.
     
  4. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Not if you have folders enabled. As William said, try pressing "2" on your remote while viewing a pyTivo share.
     
  5. ballzo

    ballzo New Member

    24
    0
    May 3, 2005
    Thats just not going to work for me. I really don't want to run the risk of my system getting PWNED due to vulnerabilities in JAVA. Thats why I installed Windows 7. I didn't want to run the risk of running XP with support ending this month.
     
  6. gonzotek

    gonzotek tivo_xml developer

    2,401
    3
    Sep 24, 2004
    Outside...
    Just wondering... What are the chances the Java 6 dependency can be removed so people can just use 7? I know there's no longer an active developer(and I'm thankful for the life-support moyekj and others provide for users), but for the more experienced Java coders that may have looked at this before: Is there something absolutely inherent in streambaby that will always require 6 or can it potentially be modified to support 7?
     
  7. TheWGP

    TheWGP Hmmm...

    299
    0
    Oct 26, 2007
    Anyone else having issues with V301 errors and not being able to connect to Streambaby until rebooting the Tivo?
     
  8. reneg

    reneg Member

    699
    0
    Jun 19, 2002
    I started seeing V301 errors after I updated Java in the last week. I thought I had Java 6 & Java 7 installed, but after the Java update, I only had Java 7. I downloaded and installed Java 6 again, changed the streambaby batch file to explicitly use Java 6 and Streambaby is running fine again.
     
  9. May 4, 2014 #2769 of 3407
    jgametest

    jgametest New Member

    117
    0
    Oct 30, 2013
    Not sure what everyone is having problems with but my Streambaby works fine in Java7.

    @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

    Here is my 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:/apps/streambaby-20111203-2132/native
    ffmpeg.path=c:/apps/streambaby-20111203-2132/native/ffmpeg.exe
    dir.1=C:\Users\Amd\Videos
    dir.1.name=Amd Flix
    # Ip address to bind to
    # most people don't need to change this.
    #ip=192.168.1.37
    # port to use
    #port=7290
    tivo.username=eXX1123X@aol.com
    tivo.password=kXXXenX3
     
  10. May 5, 2014 #2770 of 3407
    CoxInPHX

    CoxInPHX COX Communications

    2,350
    6
    Jan 14, 2011
    Phoenix, AZ
  11. May 5, 2014 #2771 of 3407
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Yes, same here. With Java 7 pyTivo metadata files cause streambaby to crash because of FontManager related issue:
    java.lang.IncompatibleClassChangeError: Found interface sun.font.FontManager, but class was expected
    at org.lobobrowser.util.gui.FontFactory.createFont(FontFactory.java:210)
    ...
     
  12. Jun 2, 2014 #2772 of 3407
    Radiomanpj

    Radiomanpj New Member

    6
    0
    Sep 17, 2009
    I have a question about streaming vs push.

    When I stream a video with subtitles (srt) the subtitles are overlay on the streamed file to the Tivo. So why can't it do the same when it pushes a file?

    I notice the subtitles dissapear when the progress bar is visible so I guess that the
    overlay is being done by the Tivo?

    Works great on my Premiere and I think if you had the right video format it would stream to a Series 2.
    I have ran some old mpeg video on my Series 2, and was surprised to see a video that almost was watchable. Poorly but it ran.
     
  13. Jun 2, 2014 #2773 of 3407
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    See this thread for how to do what you want.
     
  14. Jun 2, 2014 #2774 of 3407
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Because in case of streaming with streambaby, streambaby is rendering the captions itself based on the contents of the .srt file. When pushing to TiVo there needs to be embedded captions in the video itself in a format that TiVo understands, since it will render the captions itself. As lpwcomp posted it takes a lot of care to get captions working on a TiVo, even for mpeg2 files originally downloaded from the same TiVo.
     
  15. Jun 2, 2014 #2775 of 3407
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Actually, the link I posted is to a thread in the sourceforge pyTivo forum documenting a way to get pyTivo (using ffmpeg) to add open captions from a .srt or .ass file. You may have to use the lucansz fork of pyTivo if the capability has not been merged into the main fork.
     
  16. Jun 2, 2014 #2776 of 3407
    Bytez

    Bytez Member

    286
    0
    Sep 11, 2004
    NYC
    If I just want to stream videos on the computer to the Tivo via the same network, what is the difference between this and PyTivo?
     
  17. jacobb

    jacobb New Member

    8
    0
    Mar 31, 2013
    I've been using Streambaby via Ubuntu for the last few years. I just got a new machine with the latest versions of everything, and I can't get Streambaby to play any files that are not mp4. The old one handles avi, mkv, m4v, probably others, but the new one does not.

    The new machine has the same Streambaby version, as it hasn't been updated in 4+ years. But it has a different Java and ffmpeg. The ffmpeg works as a command line tool, as I've been able to (slowly) transcode examplars of each file format I mentioned.

    Any suggestions? Is it just time to let go of Streambaby?

    Thanks,
    Jacob
     
  18. jacobb

    jacobb New Member

    8
    0
    Mar 31, 2013
    I figured out a solution via trial and error.

    I believe the problem is that streambaby invokes ffmpeg with flag -sameq,
    but ffmpeg stopped supporting that flag in early 2013.

    I downloaded ffmpeg from http://ffmpeg.gusari.org/static/ .
    (I chose the June 2nd, 2014 version but it probably doesn't matter much.)
    I named the ffmpeg binary /usr/bin/2014-ffmpeg .
    Then I wrote a simple Python script to wrap it but remove flag -sameq:

    #!/usr/bin/python

    import sys
    import subprocess

    arglist = sys.argv[1:]
    try:
    arglist.remove('-sameq')​
    except:
    pass​
    subprocess.call(['/usr/bin/2014-ffmpeg'] + arglist)​

    and named that script /usr/bin/ffmpeg . (The script needs "chmod a+x".)

    It's not beautiful, but it's simple and it works.
     
  19. telemark

    telemark New Member

    1,544
    1
    Nov 12, 2013
  20. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Definitely. Unless the option was specified for no reason, it needs to be modified to use other options to achieve the same result.
     

Share This Page