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

pyTivo - Transcoding server

Discussion in 'TiVo Home Media Features & TiVoToGo' started by armooo, Nov 25, 2006.

  1. jcthorne

    jcthorne Active Member

    2,720
    3
    Jan 28, 2002
    Houston
    I guess that would be me and the result of my default x264 settings of constant quality factor of 20.0 as set in meGUI. Some videos come out significantly higher than that depending on content. This particular encode was only 24fps which helps (1080p24). Are others using significantly lower crf values?
     
  2. lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    I use 17 in Handbrake. I don't know if the CRF values track one-for-one between Handbrake and MeGUI, but if I were to guess, I would expect they do.
     
  3. jcthorne

    jcthorne Active Member

    2,720
    3
    Jan 28, 2002
    Houston
    Thanks, I will give lower values a try and see if I can tell any improvement in video quality. I can say I have been using 20 for a LONG time and somewhere along the line a revision to x264 made the resultant files much lower bit rate for the same crf than before. As I really did not notice a reduction in quality, I left things alone.

    Back to pytivo, I tried removing max_audio_br = 640K from my pytivo.conf and tried pulling again. It does but reencodes the audio down to 448 but at least it transfers so we are on to something.

    Should not 640k be the default max bitrate for Premieres? that is why I had stuck that parameter in the conf many moons ago, right after I upgraded from my tivoHD.
     
  4. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    jcthorne, I'm unable to reproduce your problem. I get the correct behavior with max_audio_br = 640k in the _tivo_HD section and a file with 640k AC3 sound. And I see no errors in the code. I'm drawn towards outré explanations, such as that you haven't shown me the actual pyTivo.conf being used, or that your installation is broken somehow, perhaps by mixing code from different versions. I don't know. Sorry.

    I can only offer a trivial and irrelevant observation about your pyTivo.conf. These lines:

    Code:
    par = 1.0
    ffmpeg = C:\pyTivo\bin\ffmpeg.exe
    ffmpeg_wait = 10
    tivodecode = c:\pytivo\bin\tivodecode.exe
    tivo_mind = mind.tivo.com:8181
    zeroconf = Auto
    nosettings = False
    port = 9032
    beacon = 255.255.255.255
    all specify the default values, so they're redundant.
     
  5. jcthorne

    jcthorne Active Member

    2,720
    3
    Jan 28, 2002
    Houston
    I truly appreciate your looking into this. Think its time after so many years and upgrades to blow away the pytivo directory and start fresh. Including building a new pytivo.conf file with only the currently required options. Thanks again for all you do on pytivo.
     
  6. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Thanks. Do let me know if that fixes it. I'm not optimistic. This is really bugging me... what am I missing?
     
  7. txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Don't know if this is a problem or not, but did note that jcthorne had 640K set in his pytivo config while you said you tested 640k. Is ffmpeg case sensitive?
     
  8. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    It's not the case.
     
  9. Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    For some reason I can't post in the pytivo forum but I wanted to answer your question, some of us still use CRT's and have slow networks so I reduce the picture quality so I can watch shows real time. I don't notice the reduction because as I said, we have all CRT's. In fact, someone just gave me a 36" CRT so I have one on standby in the event one of my current sets fail.

    Can you make some kind of advanced configuration where those of us who don't need HD can reduce the workload on our networks? Not to mention my old 486 video server that tuns pytivo...
     
  10. jcthorne

    jcthorne Active Member

    2,720
    3
    Jan 28, 2002
    Houston
    Just reporting back. Still have problem with ! icon and shares greyed out but they all work anyway now. And pulls work as h.264 video without transcode now.

    I blew away my pytivo install and started fresh so it was something mucking up the works with many many over writes of new pytivo code over the years. I have no idea when pulls quit working for me as I had not used them in a long time. Over a year.

    Anyway, with current code and a less cluttered conf file built from the conf.dist file, I am working again. And pushes are back as well thanks to tivo rebooting the mind server.

    Thanks everyone. Sorry to have hogged so much bandwidth. Looking foreward to the next big thing....
     
  11. larrs

    larrs Movie Fan-Addict

    1,011
    0
    May 2, 2005
    DFW
    Yeah, that ! icon is a pain. My wife has asked me at least a hundred times if something is wrong with our video server.
     
  12. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Well, the answer is yes. Namely, it's not getting zeroconf packets to the TiVo. But, if you upgrade to my latest, AND you have only video shares (no music or photos), then you should be rid of the problem, even with zeroconf not working.

    You can also force a fix even with music and photo shares active, IF you don't mind them appearing as "Music on sharename's PC" instead of "sharename". (Or, of course, you could run two different instances of pyTivo on different ports, one for video and one for music and photos.)
     
  13. larrs

    larrs Movie Fan-Addict

    1,011
    0
    May 2, 2005
    DFW
    I only use video with pyTivo so I will do that over the weekend...thanks!
     
  14. Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    Just curious, how does pyTivo know to use the HD or the SD section? How does it know if the Tivo it is sending to is HD or SD?

    I have both sections set in my config file but I have no clue how it knows when to use which section???
     
  15. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Code:
    def isHDtivo(tsn):  # tsn's of High Definition Tivo's
        return bool(tsn and tsn[0] >= '6' and tsn[:3] != '649')
    The TiVo Service Number, or TSN, is included in each request the TiVo makes to pyTivo. The first three digits are basically the model number of the TiVo. Series 3 units have a TSN that starts with "6"; Series 4 units' TSNs start with "7". The Series 2DT's TSN starts with "649", so it's treated as a special case. Other Series 2 TSNs start with "5" or lower.
     
  16. Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    So since I have a 652160 I have no reason to set the SD portion of the config file. That's nice to know.
     
  17. BankZ

    BankZ New Member

    188
    0
    Aug 16, 2007
    I am running as a service on Win8 and the share keeps disappearing. Ive opened port 5353 UDP for incoming and outgoing. Any ideas?
     
  18. unitron

    unitron Active Member

    16,387
    2
    Apr 28, 2006
    semi-coastal NC
  19. BankZ

    BankZ New Member

    188
    0
    Aug 16, 2007
  20. lpwcomp

    lpwcomp Active Member

    8,077
    2
    May 6, 2002
    John's...
    Something that occurred to me a while back vis-à-vis installing updates to pyTivo - is it possible that Python isn't always checking the mod date of the .pyc file against the .py file, particularly on subsidiary modules, so that you end up using the old .pyc file?
     

Share This Page