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. Apr 8, 2009 #941 of 3404
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Sorry, I must have written that oddly. I do not actually use Streambaby at all :eek:. I push all of my mp4s to my Tivo with pytivo and pull all of my HD edits back with pytivo.

    Jason
     
  2. Apr 8, 2009 #942 of 3404
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    For consistency I reverted back to using straight bitrate setting (and 1 pass encoding) in the wiki page additions. I also stripped off most of the audio related settings since Handbrake will copy as much from source audio as possible if you don't specify them which is desired if coming from mpeg2 with AC3. So I believe the wiki page posting now has 2 very similar recipes and I'm getting very similar file sizes & bit rates out of them. For my test encodes ffmpeg is fairly significantly faster than handbrakeCLI for whatever reason.
     
  3. Apr 8, 2009 #943 of 3404
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Interesting that you are seeing different results for encode times. It might be that some of the newer versions of x264 have some optimized code?? Just a guess. The current version of Handbrake is almost 6 months old now.

    Jason
     
  4. Apr 8, 2009 #944 of 3404
    PaulS

    PaulS Member

    674
    1
    Sep 16, 2002
    Southern NH
    I took a quick peek at StreamBaby when it was first introduced, and liked what I saw. However, at the time, my main video server machine was not up to the task of near-real-time transcodes, which prevented me from taking full advantage of StreamBaby. Since then, I've moved my video servers to a much more capable machine. So, I tried out StreamBaby 0.25 and ran into some problems.

    StreamBaby (and logo) appears in the Photos, Apps list.
    Selecting StreamBaby from the menu gets me to a VERY long duration "Please wait..." prompt from the TiVo. When the "Please wait..." goes away, I'm seeing an HTTP 0x50005 error from the TiVo.

    So, here's my breakdown :
    This machine also faithfully serves as my pyTivo server, which runs flawlessly.
    There are no other machines on my network serving any TiVo HME/HMO apps.
    Enabling debug in the StreamBaby config file gets me *nothing*.
    I tried many different variations of config file, from a simple one liner (dir.1=f:\videos), to adding/removing the port, to adding/removing the ip address.
     
  5. Apr 8, 2009 #945 of 3404
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    PaulS, follow the directions in debugging_problems wiki page to generate debug info then post contents of streambaby.log file.
     
  6. Apr 8, 2009 #946 of 3404
    PaulS

    PaulS Member

    674
    1
    Sep 16, 2002
    Southern NH
    Ooops. I think I should RTFM a little more carefully. I was expecting the debug output to show up on screen, rather than a logfile. Will report results tonight. Thanks!

    edit: Update. I have absolutely no idea what's going on. I got home, added the debug line to my streambaby.ini file, fired her back up and it just works. At work, we call this "proximity code". Basically, the code knows you're trying to fix it and behaves itself (at least temporarily). Oh well, thanks guys!
     
  7. Apr 9, 2009 #947 of 3404
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    As of yesterday Tivo has added Netflix shortcut in Now Playing List. This is the first time I can remember seeing a shortcut to an HME application in Now Playing List. Wonder if it's possible to add our own HME shortcuts there? Sure would be more convenient to have a streambaby shortcut there rather than having to go to Music, Photos & Showcases, wait for all the crap in there to load and then jump to the bottom to find it.
     
  8. Apr 9, 2009 #948 of 3404
    Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    Has anyone else noticed this...If you try and transfer a file that won't transfer for whatever reason (something with the mp4 file for example) and you go to transfer another file that you know has been transferrable in the past it won't work. The only way it seems to get streambaby working again is to restart the tivo, which is a pain. Is it that the tivo gets cluttered with info? Is there some way to get streambaby working again without resetting the tivo?
     
  9. Apr 9, 2009 #949 of 3404
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    It may be the first in the NPL, but TiVo can add them anywhere -- think VOD, swivel search, etc.
     
  10. Apr 9, 2009 #950 of 3404
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    Yeah, the reason I thought NPL may be more significant is because for HMO applications you can have them show up in NPL. Thinking outside the box here for a minute I wonder if there's a way to trigger start of an HME application using HMO? i.e. For example in pyTivo define a share that somehow triggers an HME application? Probably doesn't make any sense but I thought I would throw it out here just in case...
     
  11. Apr 10, 2009 #951 of 3404
    MighTiVo

    MighTiVo TiVotarian

    2,380
    0
    Oct 26, 2000
    Nashville, TN
    I came to ask the same question.

    It would be great if TiVo supported local streaming in the NPL, including from other TiVos!
     
  12. Apr 10, 2009 #952 of 3404
    JohnDiamant

    JohnDiamant New Member

    14
    0
    Feb 16, 2009
    StreamBaby is great. I'm really enjoying using it. I have it set up to stream Microsoft Media Center Edition (MCE) .dvr-ms files (just had to add that to the extensions list) and it works great for analog recorded files. For any that are recorded off a digital tuner, I get a resource not found error, though. I've attached all the debug info requested on the debug wiki page. Hopefully you can tell what the problem is from that and how to fix it.

    Thanks!
     

    Attached Files:

  13. Apr 10, 2009 #953 of 3404
    fyodor

    fyodor Member

    523
    0
    Sep 19, 2006
    Is there any way to spy on what's happening when it triggers Netflix streaming from the NPL?
     
  14. Apr 11, 2009 #954 of 3404
    rfryar

    rfryar My Media, My Way

    222
    0
    Feb 15, 2008
    Cottage...
    I have an MP4, 1080p, AC3 Audio, that does not make it to the play screen. Below are the FFMPEG results and the debug log.

    Any clue as to why it is failing when it is trying to obtain metadata/bitrate of this file? Should I try scrubbing the metadata on the MP4? Or any other hints?

    At the moment I have interleave.false enabled, but I do not think this matters at this point as I never get to select the movie to play it.

    Thanks,

    Rick
     

    Attached Files:

  15. Apr 11, 2009 #955 of 3404
    Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    please post your mediainfo file as well. Audio for ac3 needs to be 448 kbps or less. Often the aspect ratio is a problem if its not 1280 x 720 or 1920 x 1080. How did you encode the file?
     
  16. Apr 11, 2009 #956 of 3404
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    Looks to me like ffmpeg transcode is either failing or not producing an output stream quick enough. Create a run.bat file with the following:
    Code:
    "C:\Program Files\StreamBaby\native\ffmpeg.exe" -ss 0.0 -i "F:\Recorded TV\ABBA in Concert_KBDI-DT_05_08_2006_20_56_07.dvr-ms" -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 29.97 -v 0 -sameq -ab 192k -ar 48000 test.mpg
    
    Then from a cmd window execute the above run.bat file and see if it's able to create test.mpg properly and in reasonable time.
     
  17. Apr 11, 2009 #957 of 3404
    JohnDiamant

    JohnDiamant New Member

    14
    0
    Feb 16, 2009
    You are correct. ffmpeg failed to create a test.mpg file (it was zero length). Attached is the log created by the run.bat file. It appears to have gotten a frame sync error while decoding the audio stream if I'm reading it correctly. I checked the same operation on an analog recording (which is streaming properly) and it doesn't get the frame sync error.

    I thought it wasn't going to need to run ffmpeg, though, because the default Quality: option is "Same" (which I thought meant no transcoding required).

    Thanks in advance for any assistance you can provide.
     

    Attached Files:

  18. Apr 11, 2009 #958 of 3404
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Same is a little overloaded here...

    Same is actually an ffmpeg option telling ffmpeg to 'try and keep a similar quality to the original source'. (so if you give it as input a 3mbps xvid, it will probably spit out a 5mbps mpeg-2, etc). -- the actual argument to ffmpeg is '-sameq'

    The no-transcoding happens if your file is a valid h.264 that can be streamed to a tivo AND 'same' is selected.
     
  19. Apr 11, 2009 #959 of 3404
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    In this case 'asf' container (wmv) is being used and Tivo does not natively support mpeg2 video + AC3 audio in asf container. You'd have to change it to mpeg2 program stream container in order for it to stream natively to your Tivos. Since ffmpeg is failing you may have to find another way to demux the audio & video streams and then re-mux them into mpeg2 program stream. Don't have any tool names on top of my head right now I can suggest to do that...
     
  20. Apr 11, 2009 #960 of 3404
    Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    try xvid4psp. under video choose copy, under container mpeg-ps, under audio choose copy.
     

Share This Page