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

New program for 1 step TTG downloads, decryption, encoding - kmttg

Discussion in 'TiVo Home Media Features & TiVoToGo' started by moyekj, Mar 15, 2008.

  1. Sep 18, 2010 #2641 of 10413
    keenanSR

    keenanSR Member TCF Club

    915
    2
    Oct 12, 2004
    Santa Rosa CA
    Yes, and the program works as it should, I have no problem listing and transferring programs, I just can't seem to get the Autotune to work, and I could swear that it worked before.
     
  2. Sep 18, 2010 #2642 of 10413
    jbernardis

    jbernardis New Member

    1,072
    0
    Oct 21, 2003
    Princeton NJ
    The MAK is the media access key - it is a number unique to your account that is used to encrypt your recordings. KMTTG (actually TivoDecode) needs this value to decrypt the video it downloads. The MAK is available either at your tivo.com account or from the tivo itself, I believe under "Messages and Settings/Media Access Key".

    If you have multiple tivos on your account, all of them will have the same MAK.
     
  3. Sep 18, 2010 #2643 of 10413
    bwall23

    bwall23 New Member

    73
    0
    Jun 8, 2009
    Do you have it enabled on the TiVo you want Autotune to control?

    RELEASE NOTES & HELP;
    •This only works for Series 3 & 4 TiVos that have Network Remote Control option enabled.
    •You can enable Network Remote Control option for Series 3/4 TiVos as follows:

    TiVo Central-Messages&Settings-Settings-Remote,CableCARD&Devices-Network Remote Control
     
  4. Sep 19, 2010 #2644 of 10413
    keenanSR

    keenanSR Member TCF Club

    915
    2
    Oct 12, 2004
    Santa Rosa CA
    That did the trick, I guess I didn't have it working before, I just assumed it was as I was getting a few pretty fast transfer speeds. It certainly pays to read the release notes. :eek:

    Thanks :)
     
  5. Sep 19, 2010 #2645 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    Looks like you have may have TS transfers enabled which is very unreliable. Turn that off:
    Configuration->Program Options and disable "Download TiVo files in Transport Stream format"
     
  6. Sep 19, 2010 #2646 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    I'm curious about this too. I'm guessing it is the size of the media partitions, but not knowing the sizes of the system partition(s) makes it hard to determine if you know the drives capacities, which should be easily found by going to the manufacture's websites. Are the sizes of the various TiVo model's system partitions documented anywhere?
     
  7. Sep 19, 2010 #2647 of 10413
    srosen2004

    srosen2004 New Member

    3
    0
    Sep 18, 2010
    I checked & that box is not checked. Any other reason possible?
    TIA!
     
  8. Sep 19, 2010 #2648 of 10413
    ferror

    ferror New Member

    66
    0
    May 3, 2005
    Austin, TX
    Forgive the delay, I was busy and just now got back to this. My experience with the Java downloads is probably not what was hoped. While the java downloads do seem to work at times, they also abort sometimes. They do not stall like the curl downloads do (they die immediately), but when the java downloads abort, they often leave the TiVo in a state that no longer allows any new downloads to be started. Restarting kmttg doesn't help with this. I have to reboot the TiVo in order to get downloads working again.

    So, for the time being, I have switched back to using the curl downloads. I have a recompiled kmttg with custom curl parameters so curl can detect stalls and exit, allowing kmttg to retry. This is still the only solution I have yet found that allows kmttg to at least continue functioning rather than becoming stuck until get it moving again. I am not sure on the status of curl itself being the problem or it being something else. The fact that java downloads also seem to abort would seem to contradict the theory that it was only a curl problem.

    Has anyone else come up with a better solution for the now over a month old curl stalling issue?
     
  9. Sep 20, 2010 #2649 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    ferror, is that THD units that you have trouble with? I had 2 S3 OLED units for years and now have a Premiere and 1 S3 OLED and have never been able to reproduce the download issues - my downloads are very reliable no matter which method I use (lately I've been using exclusively the Java download method which is slightly faster than curl for some reason). Since I can't reproduce the problem I can't really help much. What is the error spit out with Java download? Perhaps it can be setup as something to ignore since I have more control over Java downloads than with curl.
     
  10. Sep 20, 2010 #2650 of 10413
    vectorcatch

    vectorcatch New Member

    129
    0
    Nov 20, 2008
    This might not be in any way related, but I figure I would throw it out there. I have pyTivo running on my NAS and I typically use that for downloads (so the PC doesn't have to be on while the downloads take forever).

    I ran into a problem at one point when pyTivo added download queues. It seemed that pyTivo was "overwhelming" the Tivo HD webserver, with requests too frequently, which caused it to stop responding to web requests until a reboot. This was fixed by adding in a delay between the individual requests (it was incorporated by wmcbrine).

    Now here is the some of the strange stuff: This problem varied by user/box and what was tuned. It was actually (believe it or not) more apt to happen when the tuners were idle. I happened less frequently when the tuners were in use, leading me to believe the web server was responding when the rest of the system was not ready.

    Different TiVo HD boxes exhibited different behavior, the only real difference being the installed hard drive. One with stock hard drive had the problem 100% of the time while one with an upgraded drive was infrequent. A friend who had a different upgraded drive than myself actually had the problem 100% as well.

    In the end, the delays fixed the problem for pyTivo, but it did lead me to believe that there are apparently timing differences between boxes especially with different hard drives.

    I think it would be interesting to see what the tuner configurations are when curl has a hiccup. Maybe tuners being idle is bad for your particular unit or there is something strange going on with the drive.
     
  11. Sep 20, 2010 #2651 of 10413
    mattack

    mattack Active Member

    20,750
    4
    Apr 9, 2001
    sunnyvale
    I realize this is a FAQ, but will this or any of the other Tivo download programs (that work on a Mac) let me download the ORIGINAL file (only tivodecode-d, not modified otherwise) AND create an audio version in one step?

    Seems like many of them let me choose the 'output type', but for various programs, I'd like to do both in one step (at least on my end user point of view).. perhaps even putting them in separate directories, but that's probably not necessary.

    (I have lately been essentially creating podcasts of various TV shows that I realize I get 90+% of the content by just listening, esp at 2x on my phone! Various news/documentary shows, and a zillion lettermans I have saved up.)
     
  12. Sep 20, 2010 #2652 of 10413
    ferror

    ferror New Member

    66
    0
    May 3, 2005
    Austin, TX
    I am running two THDs. One of them is running an original drive with a 500GB DVR Expander. It is generally used for extra tuners (and just viewing sports, etc.) when the other unit is busy. The second unit has a 1TB upgraded internal drive, and a 1TB DVR expander married to it. I tried a Premiere for a few months, but decided to sell it. The HDUI was too slow to use and the downloads actually caused reboots and lockups on the Premiere. My guess is that TiVo has their hands way too full right now to deal with fixing bugs that only impact a tiny segment of users. When I made the decision to sell the Premiere, the THDs were working perfectly. So, unfortunately this new problem crept in shortly after that.

    It is interesting that you mention the idle tuners issue because when I tried the autotune feature for a short time, I actually did notice more problems with downloading than usual. What actually made me turn off autotune, however, was the fact that it would take me out of a show in the middle. I often leave shows paused for awhile and come back to find it jumped out, or worse I jumped out while watching. Autotune is a neat idea, but it is too bad the TiVo interface only works in the foreground, as if the remote control is being used, rather than just changing the channels in the background. Thanks for pointing out the timing issue. I will start watching what the tuners are doing a bit more closely to see if there is any correlation.

    The average download speeds from the THD are fast enough to allow kmttg to keep up as long as I don't fall way behind. So, I am going for more stability and less speed right now. At the moment, I am not getting the error with java downloads at all, but earlier it was happening constantly. If I see the error again, I will capture it and post it here.
     
  13. Sep 21, 2010 #2653 of 10413
    richklein

    richklein New Member

    98
    0
    Feb 9, 2001
    I hate to ask a dumb question but here I go....

    When i have KMTTG downloading a HD movie file (say Spiderman for example), the .tivo file is 8gb & when KMTTG converts it to a .mpg file, it stays at the exact same 8gb size.

    Is there a way to compress the file size & keep the quality? I am using the default settings & its set to ff_h264_high_rate.

    Is there another program that will shrink the file size more? I tried using AVS video converter but that seems to shrink the file down to 1gb & the quality was terrible.

    Any ideas?

    THanks,
    RIch
     
  14. Sep 21, 2010 #2654 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    You need to enable the "encode" task to encode to a different format (and potentially shrink file size). It's impossible to encode to any size and preserve full quality - encoding is a lossy process no matter how you do it.
     
  15. Sep 21, 2010 #2655 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Yes, this is true. However, he may be only talking about visual quality and not bit-for-bit exact. You can probably get ~50% size savings with ffmpeg/handbrake encoding to h.264 codec that will be very difficult to visually notice a quality difference.

    BTW, I built a handbrake profile for kmttg for another user that should inverse telecine FILM based material (not good for European material) and encode with constant quality rather than a fixed bitrate. I haven't done more than simple testing with it myself. I used CRF=21 which I find good for HD material, but I would recommend using CRF=19 for SD. Attached if you are interested.

    update: Now that I think about how Handbrake works again, I don't think feeding it European material will in itself be a problem. Handbrake is smart enough to detect the pullup pattern. It simply cannot remove any blends created during the PAL-->NTSC conversion.
     

    Attached Files:

  16. Sep 21, 2010 #2656 of 10413
    richklein

    richklein New Member

    98
    0
    Feb 9, 2001
    Thanks for the help guys! I watching movies with my son on the Tivo premiere. The quality doesnt need to be perfect for my viewing.

    I looked at the attachment, does that encode in the mp4 format vs the mpg?

    Should I just remove the .txt & pop it into the KMTTG directory? Do I do anything else to make it work? Is there something I can use on the other Mpgs?

    Thanks,
    Rich
     
  17. Sep 21, 2010 #2657 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Rich, it will encode to mp4 container using the h.264 codec. You can remove the .txt and add it to the encode directory in kmttg. You can use it on any mpg most likely. Kevin already has some other options in kmttg for ffmpeg or handbrake encoding profiles (ff_tivo_hd/sd or hb_tivo_hd/sd). You may want to stick with one of those until Kevin blesses off my profile. I haven't really done much testing with it since I encode my videos with a different method, but my limited testing showed it worked ok.
     
  18. Sep 21, 2010 #2658 of 10413
    lew

    lew Active Member

    3,965
    3
    Mar 12, 2002
    The CF profile gives good results. I'm having some issues which isn't related to any specific profile. At first I though the problem was with the CF profile but I was wrong.
     
  19. Sep 21, 2010 #2659 of 10413
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,363
    8
    Feb 26, 2002
    RI
    I am trying to encode some videos using ffmpeg, for some reason I am getting no audio. If I select one of the handbrake options it works. Ultimately I want the tivo_sd profile.
     
  20. Sep 21, 2010 #2660 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    My guess is you ARE getting audio but the player you are using to play it back can't play videos containing AC3 audio in MP4 container. Note that those do play back if you push the videos to TiVo or if you use a player such as VLC Videolan.
    (The handbrake profiles are all using AAC audio which most players have no problem handling which is why you get audio for those with your player).
     

Share This Page