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

    westside_guy Annoyingly ephemeral

    464
    1
    Mar 13, 2005
    The soggy...
    Okay, I'm officially an idiot. All this time I thought I'd assigned that computer the address 192.168.1.7; but it's actually 192.168.1.2 - that was the issue.

    However that does bring up another (academic) problem - why did it work with the latest release (0.27), since the wrong IP was in that streambaby.ini as well? It seems like both should've been broken, or both should've worked.
     
  2. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    There was a bug in streambaby that caused it to not bind correctly to the IP address specified in the INI file. The last couple of SVN versions fix this problem. (It's not quite as simple as this, as having the ip= line in the INI in old versions did affect the binding, just not in the correct way...)
     
  3. MrGolden

    MrGolden New Member

    24
    0
    May 18, 2009
    I've searched for this, and couldn't find an answer...

    My problem is an mkv file with subtitles *below* the video, inside the bottom black bar. If I play the video in WMP or VLC, I can see the subtitles, but when I play it on the Tivo using Streambaby the subtitles aren't visible. It seems like Streambaby is zooming in on just the video, and leaving out the black bars (and the subtitles).

    I'm using version 027 and have tried the Tivo Ratio button and different TV settings, but none of that works. Any ideas?

    Thanks in advance.
     
  4. cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    Mine works now after changing it to the correct IP - :up:
     
  5. windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    I've apparently screwed something up. I haven't used streambaby in a while and now I'm getting 0xffffff errors whenever I try to play a video. In the log I see

    JavaMP4Splitter$Splitter$1: IOException: java.io.IOException: Pipe closed

    I rebuilt ffmpeg last night just in case, but no luck. Guess I'll have to dig into this a bit more ...
     
  6. windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    Looks like it's just MP4 videos causing me problems ... AVI, WMV, MPG, etc. works fine. Something must be wrong with my current ffmpeg build. :confused:

    edit: ah, looks like I am having the "codec frame rate differs from container frame rate" problem reported earlier in this thread (back in March). Lowering the quality works around the problem and the file plays. Was there ever a solution discovered for this?
     
  7. rfryar

    rfryar My Media, My Way

    222
    0
    Feb 15, 2008
    Cottage...
    What I do is remux the MP4. Use MP4Box to extract the raw audio and video streams and remux. That way the container will be recreated. I have to do this with several tools that create the MP4 container is some manner that StreamBaby (Or the TiVo) does not like. This may fix your issue.

    Rick
     
  8. dlfl

    dlfl Cranky old novice

    6,998
    18
    Jul 6, 2006
    Near...
    MP4's created by HandBrake don't seem to have this issue. (Windows system).
     
  9. windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    Ugh ... earlier this year I converted all of my videos and DVDs into MP4 using WinFF. These used to play just fine through streambaby, but with a different version of ffmpeg I guess. It would be quite a lot of work to re-mux those.
     
  10. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    MP4 shouldn't need ffmpeg to do anything except generate previews (which even if it doesn't work shouldn't cause errors), so I don't think that is going to be the problem...

    Do these videos work with an older version of streambaby? (Say V0.25 which uses different MP4 splitting code) Which version are you currently running?
     
  11. windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    I'm using the latest svn. Tonight I'll try rolling back and see what happens, thanks!
     
  12. windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    Sure enough, rolling back to 0.25 resolved my 0xffffff issue. Thanks!
     
  13. bluehz

    bluehz New Member

    36
    0
    Dec 19, 2008
    Can anyone share an ffmpeg h264 recipe that works with streambaby. I am having no luck. Tried several recipes from the most simple to the most complex and stillno luck playing in streambaby. I have also tried various builds of streambaby including 0.25, 0.27, svn-r232 and svn-r239 and still no luck. I can transcode with ffmpeg to mpeg-4 all day and they play fine with streambaby. Lookin' for some suggestion.

    FWIW - my ffmpeg is a custom build using the June 26, 2009 svn and all the latest components. But I have tried other ffmpeg including older versions built by myself and prebuilt versions (incl. the one that comes pkgd inside pyTivoX) and still no luck with h264.

    Also - a side note here - I run streambaby on a headless Ubuntu server and streambaby was always complaining about "couldn't open X display" because I don't have an X server running on that machine. If you run into this problem - the solution is to open streambaby and add: -Djava.awt.headless=true

    e.g.

    #!/bin/bash
    DIRNAME=`dirname $0`
    java -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Xmx256m -jar "$DIRNAME/jbin/streambaby.jar" $@

    Hope that helps someone - took me a while to figure it out.
     
  14. moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    Both the ffmpeg H.264 recipes posted in video_compatibility should work fine if starting from mpeg2 source with AC3 video.
     
  15. bluehz

    bluehz New Member

    36
    0
    Dec 19, 2008
    Those were the first ones I tried - no go. The source material is DV, but that really shouldn't make much difference I would think.

     
  16. moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    What's "DV"? Source material does kind of matter since those profiles are set to copy audio, so unless the source audio is already compliant that would be a problem.
    Post your source video specs here using mediainfo and we can probably give a little more help. Perhaps more importantly post the video specs of the encoded video using one of those profiles and then we may see right away what the problem is.
     
  17. bluehz

    bluehz New Member

    36
    0
    Dec 19, 2008
    DV = Digital Video format (pulled straight from a mini-DV video camera (see Wikipedia)

    To see if maybe the DV was the problem, I converted it to mpeg-2 using:

    ffmpeg -i $INPUT.mov -sameq -target dvd $OUTPUT.mpg

    and then converted that using your recipe:

    ffmpeg -y -i $INPUT.mpg -vcodec libx264 -coder 0 -level 41 -sameq -g 300 -bufsize 14745k -b 5000k -maxrate 16000k -bug "+autodetect+ms" -me_method epzs -trellis 2 -mbd 1 -acodec copy -f mp4 $OUTPUT.mp4

    Still no go. I don't get an error on the Tivo (like most mp4 I attempt), just a black screen with the scrub bar, but no video or audio.

    I am attaching the mediainfo output for both the original DV source material and the converted mpeg-2 source material.

    FWIW - this is using streambaby-0.27

     

    Attached Files:

  18. moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    I don't see an issue with the DVD compliant conversion (though the Audio Bit rate of 448Kbps is at the limit of what Tivo can decode). Could you also post the mediainfo information of the final mp4 file?
    Also would be helpful to have streambaby debug info (streambaby.log file) as detailed in the debugging_problems wiki when attempting to stream the mp4 file.
     
  19. moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    Also another note. Sometimes when decoding H.264 the Tivo decoder can take up to 10 seconds before displaying video, so you should use a longer clip than 6 seconds for testing it out.

    For testing your streambaby setup it's also useful to try out a known good to stream H.264 clip such as this one. (That particular one has AAC audio).
    There is another test H.264 clip with oddball resolution and AC3 audio here.
     
  20. bluehz

    bluehz New Member

    36
    0
    Dec 19, 2008
    Here is the mediainfo for the converted h264 video that was converted from sources above DV > mpeg-2 > h264 using the recipe from your googlecode site.

    I will enable the debug info and report back.

     

    Attached Files:

Share This Page