1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

pyTivoX

Discussion in 'TiVo Home Media Features & TiVoToGo' started by Yoav, Dec 10, 2008.

  1. Aug 31, 2009 #701 of 1437
    Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    pyTivoX integrates pyTivo and Streambaby. They're technically two different video transfer methods, but Yoav wraps them into one easy to install package.

    So are you selecting a video and watching it from the Now Playing list after/as it downloads? If so, that is the pyTivo side. If you're talking about the Streambaby option under "Music, Photos, & Showcases" then that is the Streambaby side of pyTivoX.
     
  2. Aug 31, 2009 #702 of 1437
    IanFrost

    IanFrost New Member

    50
    0
    Jun 4, 2003
    Thanks for the clarification.

    It is through Now Playing. I start the transfer and can start watching while it transfers. So, I am using pytivo.

    So, how can I change the bitrate?

    Many thanks.

    Ian
     
  3. Sep 1, 2009 #703 of 1437
    Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    There is a configuration file somewhere in the Preferences directory. Some of the earlier posts in this thread mention it. I don't use pyTivoX so I don't recall the exact location. You'll want to edit the file and add a video_br setting under the Server section, see http://pytivo.sourceforge.net/wiki/index.php/Configure_pyTivo#video_br

    However, once you add that setting manually, you won't be able to use the GUI to configure pyTivo or it will overwrite the file.

    Also, you might want to grab some HD trailers from Apple and test them out to rule out issues with your source videos.
     
  4. Sep 3, 2009 #704 of 1437
    ppartekim

    ppartekim New Member

    70
    0
    Jan 17, 2007
    Middle of...
    I also upgraded to 10.6 over the weekend and today was my first time trying the streaming to my S3 (as I just handbraked the Dirty Harry collection). The first time I tried to stream from my mac mini (which is the early 2009, 2.26GB 4G-Ram), I also had stuttering (barely noticeable, but there).

    While I was handbraking another file at the time, I waited until afterwards to
    try it again but still saw the stuttering. On the Tivo, I noticed the quality setting and just assumed the best high bitstream 1664 kb/s. I lowered that to 1260 kb/s and all stuttering went away (smooth as glass) didn't notice any drop in video quality just that the buffer didn't fill as fast as before (which I would expect with a lower speed).

    I also notice that if I stopped the video stream to view something else then came back the quality also went back the 1664 (and stuttering also returned), I had to remember to set it back to 1260 and stuttering went away.

    Now to figure out how to either get me network faster (currently 100Mb, not sure of the duplex) or get the default quality setting to stay at 1260.
     
  5. Sep 3, 2009 #705 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    From the description it sounds like you're using the streambaby side of pyTivoX.

    If you select the highest bitrate from the list, for mpeg-2 and mp4 files, no re-encoding is done. So if the mpeg-2 or 4 file isn't 100% compatible with the bitrate requirements of the tivo, you may have issues... As soon as you select a lower bitrate, it re-encodes (which would explain why it's slower to get the data, and may explain why it plays well -- the re-encoding is done in mpeg-2 that is 100% appropriate for the tivo).

    (This is all predicated on the assumption that your movie file is an mp4 file... if it's not, then something else is going on).

    100Mbps is tons more bandwidth than is needed (and more than the tivo can accept anyways). So if you're wired at 100Mbps, it's definitely not the network speed that's causing this.
     
  6. Sep 3, 2009 #706 of 1437
    ppartekim

    ppartekim New Member

    70
    0
    Jan 17, 2007
    Middle of...
    Correct, I am using the streambaby side of pyTivoX. Thanks for the info. All my files were handbraked using the "normal" MP4 setting (that way I can re-brake to my iPhone later or another setting from it).

    I just checked the Handbrake "Normal" setting and the average bitrate is 1500kbps.

    Now is there anyway to get Tivo to accept 1500 or will I need to re-encode my files to match the 1664kps Tivo states?

    Or is there a way to set the Tivo default to 1260?
     
  7. Sep 3, 2009 #707 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I don't believe it's the 1500 that's causing the problem. I believe the handbrake settings are generating a problematic file (that is, assuming you really do have you tivo on a wired 100Mbps network to your computer). This is why when the file gets re-encoded by ffmpeg (in pytivox) it works cleanly, but if it's streamed wholesale it does not.

    Someone wrote up a nice summary of suggested handbrake settings used to make mp4 files that the tivo can handle: http://code.google.com/p/streambaby/wiki/video_compatibility . I believe this works for the TivoHD, but the Tivo 3 might have a slightly different requirement since it doesn't use the same decoding hardware. Yes, it's ugly and complicated, and I havent actually tested this..

    For what it's worth, I tend to encode my movies to mkv containers instead of mp4 (at about 2.5 mbps) and stream it that way. It does cause a re-encode, but that doesn't really bother me, and things always seem to work... If you select the 'Film' pre-set in handbrake, it will do that for you. Of course to play mkv files you'll need VLC or similar, as quicktime doesn't handle those files.


    However, you can try lowering the bitrate on handbrake. It's under the video settings tab, and see if it helps.

    There is no such thing as a 'tivo default streaming bandwidth'. If you're asking if there's a way to force streambaby to always stream at a fixed bandwidth, it's doable but silly (the config file is in ~/Library/Application Supprt/pyTivoX/streambaby.ini, and instructions on how you can make changes to that file are in http://code.google.com/p/streambaby/wiki/StreamBabyIni -- although I strongly urge against doing this).
     
  8. Sep 3, 2009 #708 of 1437
    kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    Is this actually a S3 or a TiVoHD? I don't really know the details but it seems the S3 is pickier when streaming videos. (Things that seem fine on the TiVoHD give the S3 some problems).

    I currently use Handbrake to do my conversions and typically use a video profile of Basic/Normal and a bitrate of 1500 (although I typically only use a single pass since I am usually a little impatient and am not discerning enough to notice the difference...) I am running on a TiVoHD.
     
  9. Sep 3, 2009 #709 of 1437
    ppartekim

    ppartekim New Member

    70
    0
    Jan 17, 2007
    Middle of...
    It is an original S3 (I have two). I use the two pass (1st turbo).
     
  10. Sep 3, 2009 #710 of 1437
    ppartekim

    ppartekim New Member

    70
    0
    Jan 17, 2007
    Middle of...
    Ok, I will have to assume (I know bad) it is 100Mbps as all Tivos and Macs, are plugged into unmanaged 100MB switches. Tivo doesn't state what speed the network is (I looked at all the setting I could find).

    Thanks, will check it out.


    Have you tried the new Quicktime X Player in 10.6? Also, do you still have to change the quality setting or just hit play. Trying to make this as simple as possible and avoid having to remember to lower the setting everytime I start playing a movie.


    I am kinda getting that idea. I am trying to go through the Streambaby thread and have only made it through page 18 of 51 trying to soak it all up.
     
  11. Sep 3, 2009 #711 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I just checked and quicktime X still doesnt support mkv files (I suspect they never will, since mkv is an open and free container format, and apple has already paid a bunch to license and promote mp4).

    As for still having to change the quality setting. No. Since tivos can't natively stream mkv files, pyTivoX (in streambaby or pytivo mode) will on-the-fly convert it to an mpeg-2 file when streaming it, at all bitrates. The problem you had was that unless you selected a lower bitrate for your mp4 files, pytivox was streaming the mp4 file as-is, and tivo was unhappy. If you selected a lower bitrate pyTivoX converted it to an mpeg-2 as it streamed it, and things were working.

    The alternative is to figure out what mp4 handbrake settings generate a file that a tivo S3 is happy with. I'd start by going with the simplest mp4 encoding, and then adding more and more options .. but this will take a while. If you figure out a good setting, you should tell us and someone will get it added to the streambaby wiki.


    Yeah.. a wiki or something would probably help.. but....
     
  12. Sep 4, 2009 #712 of 1437
    jannlinder

    jannlinder New Member

    106
    0
    Oct 17, 2004
    San Jose, CA
    I am curious...

    Since "Wake on Demand" on Snow Leopard allows a compatible Airport Base Station (on 7.4.2) to "take over" the IP and bonjour services using http://en.wikipedia.org/wiki/Sleep_Proxy_Service (Sleep Proxy Service), shouldn't pyTivoX and StreamBaby devices (which are still listed on my TivoHD when the iMac is asleep) be woken up by my airport when they are selected on the TiVo?

    I know that some protocols are done using TiVo Beacon, but since the Tivos use Bonjour as well, shouldn't it work?

    If not, and as this states:

    http://www.tivocommunity.com/tivo-vb/showthread.php?p=7043376#post7043376

    pyTivo is using Beacons, not Bonjour, would it be *that hard* to utilize Bonjour on pyTivo so as to allow our iMac to wake? This is not just a Mac service. Sleep_Proxy_Service can be utilized on any platform, but as there are many many macs out there running pyTiVo and streambaby, even if the official pyTiVo codebase does not support it, then it would not be hard for pyTivoX to advertise on behalf of pyTiVo just to allow the Airport to wake the iMac. This would allow the iMac to wake and then allow pyTiVo to service the request, no?

    Thx

    Jann
     
  13. Sep 4, 2009 #713 of 1437
    ppartekim

    ppartekim New Member

    70
    0
    Jan 17, 2007
    Middle of...
    So my set will be my mac mini(s) with external RAID (maybe a Drobo), streamed to my two original Tivo Series 3 (not the HD or HD-XL).

    After trying out several different dozens settings on a Dr. Horrible featurette (only 7mins and well, who doesn't like Dr. Horrible) all encodings that used a m4v container had stuttered video on Tivo unless I selected a lower bitrate on the Tivo before playing. But every mkv container had smooth video from straight a play (no changes needed on the Tivo). Also, noticed that all mkv containers showed "same" on the Tivo, while all m4v containers showed "same - xxxx kbps" which is clue that unless I lower the bitrate stuttering will occur.

    Since I also have a iPhone, I HB'd the mkv file into a m4v version for the iPhone as well as a "normal" m4v file for comparison. The iPhone version looks darn perfect on the iPhone and at actual size on the mac. The "normal" m4v file had its audio track slighty off track (kinda like those really old japanese film).

    Now, the mkv file doesn't have a nice QT preview like the m4v files (it display the generic VLC icon); at least it plays without issue within VLC and Plex so no biggie. If I truly need a QT version, I will just watch the iPhone version which I will have anyway for travel.
     
  14. Sep 5, 2009 #714 of 1437
    cweb

    cweb New Member

    106
    0
    May 29, 2004
    I'm having a brain cramp ... I used to be able to download beta versions of pytivox using the "check for updates" menu option. It no longer seems to check for the betas. I thought there was an option to enable this, however I can't seem to find it,

    Was I imagining the option??
     
  15. Sep 5, 2009 #715 of 1437
    ppartekim

    ppartekim New Member

    70
    0
    Jan 17, 2007
    Middle of...
    I just checked and 1.3b6 is the latest on the website and the latest my version claims when I click (Check for Updates).
     
  16. Sep 12, 2009 #716 of 1437
    GKevinK

    GKevinK New Member

    33
    0
    Mar 10, 2003
    Ok, I've read the thread and looked and looked... but can't see HOW I'm supposed to use the push feature. I put my info in the preferences page, everything else seems to be working fine from the 'pull' perspective (working from the TiVo end). FAQ just says to "use 'push'" ... great. how? I figure if I'm to 'push' is has to be from the computer end... but I've wasted enough time trying in vain to discover this feature that was deemed to not need any explanation or documentation.

    Sorry... a bit frustrated. pyTivoX is AWESOME... just can't seem to figure out what to do. Is some other program involved? Is some configuration on my system stopping some obvious interface from popping up?
     
  17. Sep 12, 2009 #717 of 1437
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
  18. Sep 12, 2009 #718 of 1437
    GKevinK

    GKevinK New Member

    33
    0
    Mar 10, 2003
    where 'localhost' is... my computer, or the TiVo? (not resolving directly via the link in your post)

    I've tried substituting the IP of both my computer and the TiVo for 'localhost', and get nothing. Whether I use 'localhost' or my iP (which happens to be 10.0.1.105 at the moment... DHCP inside my net) Safari always complains that it "can't connect to the server".
     
  19. Sep 12, 2009 #719 of 1437
    GKevinK

    GKevinK New Member

    33
    0
    Mar 10, 2003
    netstat | grep 9032

    also doesn't seem to show anything using port 9032
     
  20. Sep 12, 2009 #720 of 1437
    westside_guy

    westside_guy Annoyingly ephemeral

    461
    1
    Mar 13, 2005
    The soggy...
    "localhost" refers to the machine that's running pyTivo. Be sure you've included the port number (the ":9032" part of the URL).

    If your firewall settings allow it, you can even get to it using a web browser on another computer. Of course in that case it's not "localhost", it's the name or IP number of the computer running pyTivo.

    Be sure you're running a current version of pyTivo - the web interface hasn't always been in place IIRC (although I know it's been in wmcbrine's fork for quite a while).
     

Share This Page