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. Feb 3, 2017 #5741 of 5912
    scottb

    scottb Member

    64
    0
    Dec 31, 2002
    Hello all,
    I'm using a Lucasnz fork of PyTiVo from 4-16-2015 because I like having/using the Mobile Web UI interface. I do have an issue with Comcast switching to some mpeg and some h.264 channels, and some shows just won't download completely, and fail the download mid-download with slow transfer as an early indicator of failure. It's consistent with shows from specific channels. I know it's not tivodecode because it will happen regardless of tivodecode used or not in transfer. KMTTG 2.2n transfers the same shows just fine. I'd like to keep using PyTiVo (along with KMTTG) though because of the mobile web UI. I have changed the usual "ts = on" to "ts = auto", and even removed "ts = on" completely, from the PyTiVo.conf, but still the same issue on shows from specific channels. Again, all downloads fine from latest 2.2n KMTTG, so I'm thinking it must be that I need to update or reconfigure PyTiVo because of Comcast changes since the 4/2015 Lucasnz fork of PyTiVo I'm currently using.

    Also, can anyone confirm the current versions of ffmpeg, tdcat, and tivodecode I should be using in the bin folder of PyTiVo? Those also may need updating since 4/2015.

    Thanks,
    Scott
     
  2. Feb 3, 2017 #5742 of 5912
    lpwcomp

    lpwcomp Well-Known Member

    8,912
    161
    May 6, 2002
    John's...
    You have to transfer H.264 from the TiVo as a TS. The "ts=" setting in the .conf file only applies to transfers to the TiVo. You need to select the "Transfer as mpeg-ts" option at the bottom of the transfer page.
     
  3. Feb 3, 2017 #5743 of 5912
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    40,542
    1,217
    Apr 17, 2000
    Nevada
    Tivodecode doesn't work well for ts files. You should use tivolibre or directshow dump instead to decrypt the TS files.
     
  4. Feb 4, 2017 #5744 of 5912
    scottb

    scottb Member

    64
    0
    Dec 31, 2002
    Thank you lpwcomp and Dan203 for your replies. Since "Push" no longer works, then the "ts = on" really doesn't apply anymore, practically, correct? And how might I go about switching out tivodecode in PyTiVo.conf for tivolibre or directshow dump? Or are you suggesting I stop using the decode in PyTiVo altogether and start doing the decode in KMTTG?

    Thanks in advance,
    Scottb
     
  5. Feb 4, 2017 #5745 of 5912
    lpwcomp

    lpwcomp Well-Known Member

    8,912
    161
    May 6, 2002
    John's...
    "ts=on" applies to pulls. Not sure it ever applied to push.
     
  6. Feb 4, 2017 #5746 of 5912
    newsposter

    newsposter Poster of News

    35,227
    40
    Aug 18, 2002
    SE PA
    picked the same 30 min video

    ethernet: pytivo said 21 mbs...task manager regularly shot up over 25mbs with some over 40 mbs but for the most part hung around 20 to 25

    wifi..pytivo said 14 mbs. task manager hung steady around 17...no spurts over 20 at all. resource manager showed rangers in the 2 mill vs over 3 mill with ethernet

    ethernet was about the same as before..pytivo said about 20 mbs and there were even a few jumps over 54 mps on the task manager

    so any idea how fast id get with new router based on those numbers? i''m still gonna try your new pytivo thing to see what it does
     
  7. Feb 4, 2017 #5747 of 5912
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    40,542
    1,217
    Apr 17, 2000
    Nevada
    I doubt it would be much, if any. A regular network is 100Mbps and you're not even getting close to that. So something else is the bottle neck. If the file you're using requires transcoding then that could be it. Or that may be as fast as your TiVo or PC can go.
     
  8. Feb 4, 2017 #5748 of 5912
    newsposter

    newsposter Poster of News

    35,227
    40
    Aug 18, 2002
    SE PA
    would using any video converter to make all the files MP4 make things faster.
     
  9. Feb 4, 2017 #5749 of 5912
    HerronScott

    HerronScott Well-Known Member

    4,145
    246
    Jan 1, 2002
    Staunton, VA
    What model TiVo do you have?

    Scott
     
  10. Feb 4, 2017 #5750 of 5912
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    40,542
    1,217
    Apr 17, 2000
    Nevada
    What are the source files? Which TiVo do you have?
     
  11. Feb 4, 2017 #5751 of 5912
    newsposter

    newsposter Poster of News

    35,227
    40
    Aug 18, 2002
    SE PA
    premiere

    could be avi, mpg, mkv

    i do remember doing a test and the tivo wont even load all kinds of mp4. i think it has to be specific to my samsung tv. i thought all mp4 were the same but the list on the tivo didnt even show the other ones i did. i think..gotta figure that out too

    can you point me to a file somewhere that you know doesnt need converting so i can hook to ethernet and rule stuff in/out
     
  12. Feb 4, 2017 #5752 of 5912
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    40,542
    1,217
    Apr 17, 2000
    Nevada
    Premiere does not have gigabit, so a gigabit router will not do you any good.

    AVI & MKV files are likely being transcoded on the fly so the bottleneck there is probably the CPU in your laptop. Next time you're transferring something look at the CPU tab in the task manager. Is it pegged close to 100%? If only one core is pegged then I believe there is a flag you can add to the ffmpeg section of the conf file that will allow it to use more cores.

    FYI I can transfer an hour long already compliant (i.e. no recode) MKV from my desktop PC to my Bolt, wired via gigabit, in about 45 seconds. So there is potential for serious speed with the right equipment and files.
     
  13. Feb 4, 2017 #5753 of 5912
    newsposter

    newsposter Poster of News

    35,227
    40
    Aug 18, 2002
    SE PA
    just FYI with that 30 min file was mkv that i did the test on. it never went above 50% on CPU with task manager. also this lag in speed just changed a few months ago. when i got the machine it was so fast it was scary. i just dont know how to diagnose what is wrong.
     
  14. Feb 4, 2017 #5754 of 5912
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    40,542
    1,217
    Apr 17, 2000
    Nevada
    Go into the web ui for pyTivo and look at the help for the ffmpeg setting on the general tab. It gives an example of how to make ffmpeg use two threads. Try setting that up and see if it helps. If it's encoding then setting it to use 2+ threads could help a lot.
     
  15. Feb 4, 2017 #5755 of 5912
    lpwcomp

    lpwcomp Well-Known Member

    8,912
    161
    May 6, 2002
    John's...
    AVI would have to be transcoded, MKV probably not, depending on how it is encoded. H.264 in an MKV just needs to be re-muxed, but so does an MP4 on a pull.
     
  16. Apr 2, 2017 #5756 of 5912
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    40,542
    1,217
    Apr 17, 2000
    Nevada
  17. jgrub

    jgrub Member

    36
    1
    Apr 10, 2017
    Hi. New to this forum. I have been using pytivo for many years to return TiVoTransfer and cTiVo recordings from my 2009 Mac Pro to my TiVo HD & TiVo HDXL. I just started using a new TiVo Bolt Plus as my main TiVo (TiVo HD retired). The Bolt+ doesn't show up on TiVoTransfer, and any cTiVo recordings made from either the Bolt+ or the HDXL will not transfer correctly to the Bolt+. They will transfer correctly (video and audio as original) to the HDXL. The Bolt+ only gets 480p regardless of the original TiVo recording.
     
  18. HerronScott

    HerronScott Well-Known Member

    4,145
    246
    Jan 1, 2002
    Staunton, VA
    Sounds like you need to upgrade your version of pyTivo to one that knows about the Bolt model.

    Scott
     
  19. ClearToLand

    ClearToLand Old !*#$% Tinkerer!

    685
    60
    Jul 9, 2001
    Central Jersey
    Has there actually been an update to pyTiVo specifically for the Bolt?

    When I researched, and installed, pyTiVo (and semi-simultaneously kmttg) several months ago, there were two 'forks' to choose from - neither, IIRC, had been updated recently but the recommendation was to choose 'wmcbrine'.
     
  20. Mikeguy

    Mikeguy Well-Known Member

    5,232
    827
    Jul 28, 2005
    Easier to use pyTivo
     

Share This Page