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

    Kiotie New Member

    5
    0
    May 22, 2009
    Thanks kearygriffin, I downloaded .27 and added the IP to the config. Now the Tivo sees the streambaby application in the menu but still not working.

    When I go into that menu I get the following error code:

    An error occurred while running the application. HTTP failure (Http connection error. 0x50005).

    Any ideas?
     
  2. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    It's probably one of two things-- Streambaby crashing (what do you see on the console?) You may want to turn on debugging as detailed in:
    http://code.google.com/p/streambaby/wiki/debugging_problems

    The other possibility is some kind of firewall issue. Assuming you haven't changed the port from the default (7290) you may want to try the following. (It sounds like you have multiple PC's on your network):

    From the PC streambaby is running on, in a browser goto:
    http://XXX.XXX.X.X:7290/streambaby/folder.png

    Replacing XXX.XXX.X.X with the IP address of your PC.

    You should see a little picture of a folder.

    Then try the same from another PC on your network (leaving the IP address as the address running streambaby)

    If it works on the local machine running streambaby, but not on the other machine, it would point to a firewall issue (I think...)
     
  3. reneg

    reneg Member

    699
    0
    Jun 19, 2002
    Thanks, that is kind of what I was thinking. Will test your next release when it posted.
     
  4. granroth

    granroth New Member

    6
    0
    Jun 22, 2002
    Okay, I finally broke down and did some dedicated searching through the source code... and found what I was looking for. Apparently streambaby does a very minimal check for streamability. I was expecting some table of values, but all it looks for is:
    1. Container: MP4
    2. Codec: h.264
    3. Audio codec: AAC or AC3
    4. Audio bitrate: 44100 or 48000

    That's it! Simple. Looking back, the reason my earlier example kept encoding was that I put it in an MKV container, thinking that didn't matter. That also explains why nobody would tell me the range of acceptable values -- there isn't a range! :eek:

    So, cool. Everything works great as long as I stay away from my normal MKV containers.
     
  5. hfehawkeye

    hfehawkeye New Member

    7
    0
    Apr 20, 2009
    I sure hope this wasn't answered before.. if it was i'm sorry, I did try and search.

    But, when I am playing a movie, that is about 4.5GB in size, it stops playing at around the 1 hour mark or so... Is there a limitation, should I rip the DVD in 1gb chunks? These are VOB files ripped using DVD Shrink. I can provide more info, if i Know what i need to provide...
     
  6. BJezz

    BJezz New Member

    68
    0
    Jan 11, 2009
    Nobody has answered this yet as far as I know, but you're not the first with the problem.

    The TiVo only has a limited buffer for streaming, so what's supposed to happen is when you exhaust that buffer you get a rebuffering message and a brief pause as the next buffer is started. As of yet we don't know if the reason this can happen is something to do with the Streambaby setup, or if it is something to do with the way that the videos are encoded.

    Streambaby does rebuffer correctly on my machine, so I'm going to try out DVD Shrink and report back.
     
  7. moyekj

    moyekj Well-Known Member

    11,140
    31
    Jan 23, 2006
    Mission...
    Sometimes there are glitches in the mpeg2 stream and Tivo will reject the stream. You should try copying the same video to your Tivo using pyTivo and see if it has a problem at the same point it stops in Streambaby. If that fails as well then that is the problem for sure.
    If you run the stream through VideoRedo QuickStream Fix very often it will fix glitches and then will stream/copy fine to Tivo.
     
  8. BJezz

    BJezz New Member

    68
    0
    Jan 11, 2009
    I ripped a DVD with DVD Shrink and tested streaming the VOB with Streambaby and reproduced the problem. It stopped when it hit the end of the buffer and did not rebuffer.

    I also noticed another significant difference. When I play a working video the timeline immediately shows the total duration of the video and the green bar gradually fills as the video downloads. Streambaby even permits you to fast forward beyond the buffered segment, automatically creating a new buffer when you press play.

    However, the DVD Shrink VOB only showed the video duration as the amount currently streamed. As more video was streamed in the duration increased. This means that when the end of the buffer was hit, as far as Streambaby was concerned it was already at the end of the video. It appears that FFMPEG is returning a 0 duration for this file.

    So there's probably nothing wrong with your Streambaby setup, but not sure that DVD Shrink is the best tool to use with it. Although I haven't tested this further, I suspect it might be more to do with VOB format than DVD Shrink.
     
  9. rfryar

    rfryar My Media, My Way

    222
    0
    Feb 15, 2008
    Cottage...
    This indicates that the MPEG file itself is damaged. Run the MPG through a tool like VideoRedo's Quick Stream Fix and it will quickly resolve these little issues and produce a new MPG file that will stream correctly.

    Rick
     
  10. Kiotie

    Kiotie New Member

    5
    0
    May 22, 2009
    kearygriffin,

    I tried your URL suggestion and I get a '404 page not found' error on the local machine as well.

    I attached the debugs you requested from my Server and Desktop machines that I'm attempting this on. I'm guessing that I'm missing an addon application or that one is misconfigured. Unfortunately I'm lacking in Linux knowledge so I'm not sure where to look to make corrections. Please let me know if you see anything in the debugs.

    Again, thanks for your help.
     

    Attached Files:

  11. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    Looking at the logs (both) I see the following line:
    MDNS: http://127.0.1.1:7290/streambaby
    which says that streambaby is listening on the "local" network interface (127.0.0.1) which won't be accessible from other machines (i.e. the TiVo)

    What does the line in your streambaby.ini that you changed to bind to the IP address of your linux box look like? For a typical home network (but not all home networks) it should be probably look something like:

    ip=192.168.x.x

    If you could post the exact line in the streambaby.ini that assigns the IP address, and also post the output of the linux command:
    ifconfig

    That may help to sort out the problem. If the ip= in the streambaby.ini is correct, and it matches the main network address from ifconfig, I'm not sure what the problem would be. (I don't think streambaby auto-defaults to 127.0.0.1 in any cases, but I could be wrong about that)
     
  12. hfehawkeye

    hfehawkeye New Member

    7
    0
    Apr 20, 2009
    Thanks, I'll give that a try and let you know how it came out. Thanks to all that helped, I was begining to think I was the only one who had this issue.

    As an aside, what DVD ripping software does anyone recommend?
     
  13. Kiotie

    Kiotie New Member

    5
    0
    May 22, 2009
    Here are the outputs from my .ini file and ifconfig command.

    xxxxx@ubuntu-srvr:~/streambaby-0.27$ cat streambaby.ini
    #
    # ./streambaby --help for more configuration file options
    #

    dir.1=/home/xxxxx/Movies
    dir.1.name=Movies
    #dir.2=/media/disk
    #dir.2.name=External Drive
    # Ip address to bind to
    # most people don't need to change this.
    ip=10.10.10.25
    # port to use
    #port=7290

    --------------

    xxxxx@ubuntu-srvr:~/streambaby-0.27$ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:0c:6e:2e:e3:c9
    inet addr:10.10.10.25 Bcast:10.10.10.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:6eff:fe2e:e3c9/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:141 errors:0 dropped:0 overruns:0 frame:0
    TX packets:144 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:15660 (15.2 KB) TX bytes:17671 (17.2 KB)
    Interrupt:16 Base address:0xa000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:4 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:200 (200.0 B) TX bytes:200 (200.0 B)
     
  14. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    Everything looks perfect in the above configuration, so I started tracing through the IP handling code in streambaby itself. There were definitely a couple of bugs related to IP address handling. I couldn't come up with a scenario where it would bind to 127.0.01, but it definitely could bind to an address not specified in the INI file.

    I've just uploaded a new version to SVN that I think resolves the IP related issues. If you could give it a try that would be great (make sure you put/leave the ip=10.10.10.25 line in your INI)

    http://streambaby.googlecode.com/files/streambaby-svn-r238.zip

    Hopefully this version will either work or at least spit out an error message about not being able to bind to the specified IP address/port.
     
  15. mphtrilogy

    mphtrilogy New Member

    49
    0
    May 29, 2007
    No, I've taken these off of the Tivo with the Tivo desktop software. I then cut and paste them over to another bigger external hard drive that I want to access with streambaby. All of the videos are from TCM and under 2 hours standard def, 1.5-3gig.

    I'm not too strong on the troubleshooting end, but with some detailed instructions I can give it a shot.
     
  16. moyekj

    moyekj Well-Known Member

    11,140
    31
    Jan 23, 2006
    Mission...
    Oh, well if these are .TiVo files then that would explain it. You need to decrypt to .mpg in order for streambaby to be able to re-buffer once the 1.1GB stream limit is reached. For .TiVo files that is not possible. (For .TiVo files once you stream ~ 1.1GB worth of data the Tivo will cut off the stream and streambaby is unable to re-start stream where you left off. Decrypting to .mpg solves the problem of not being able to start a new stream where it was cut off).
     
  17. reneg

    reneg Member

    699
    0
    Jun 19, 2002
    I quickly checked out the pressing slow then pause change you made and it looks like it emulates the Tivo playback. Thanks, it comes in handy for double checking scenes in Lost episodes.
     
  18. mphtrilogy

    mphtrilogy New Member

    49
    0
    May 29, 2007
    Can you advise how I can decrypt these files?

    I have DVD decrypter and also DVD Fab Platinum.

    What should I do?

    Thanks
     
  19. moyekj

    moyekj Well-Known Member

    11,140
    31
    Jan 23, 2006
    Mission...
    There are several free options for decrypting .TiVo files. kmttg (see link in my sig) is one of those options and can do a lot more than just decrypt, though you can use it solely as a GUI for decrypting if that's all you need. If you just want a simple command line program to do it then tivodecode is all you need. There are some other GUI interfaces built around tivodecode as well that can do it.
     
  20. mphtrilogy

    mphtrilogy New Member

    49
    0
    May 29, 2007
    thank you very much, I will give this a try.

    If I want to move these back on to my Tivo after I decrypt them, will I be able to?
     

Share This Page