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. Jan 9, 2009 #461 of 10413
    infin8007

    infin8007 New Member

    20
    0
    Dec 26, 2007
  2. Jan 9, 2009 #462 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
  3. Jan 9, 2009 #463 of 10413
    infin8007

    infin8007 New Member

    20
    0
    Dec 26, 2007
    Thanks. I also opened the readme file. and RTFM :)
     
  4. Jan 9, 2009 #464 of 10413
    infin8007

    infin8007 New Member

    20
    0
    Dec 26, 2007
    The add button being in front is counter intuitive. it should be near the delete.
    I put in the tivo address and hit ok thinking it would be in the config file. I thought
    my app or network was broken for about an hour.. had to read the manual.

    Same for the configure auto transfer screen.

    we read from left to right, up to down..
    so after i fill out the info...
    I see the OK button and click it.
    The add/remove/update intuitively for me, would be following the information
    i just entered, not before it. That would be an improvement in the UI IMO.

    other than that, i'm very very excited. I just found the app because I had
    googled hoping to find a new version of tivo desktop that didn't have a memory leak.
    So i'm very happy today :) Now i can get stuff from tivo and re-encode it so
    i can watch on on my phone through orb :) THANK YOU!
     
  5. Jan 16, 2009 #465 of 10413
    jrusch

    jrusch New Member

    16
    0
    Dec 3, 2008
    Is there something wrong with my computer? I am running this program on a 2Ghz Pentium 4 PC with 768mb of RAM.

    I selected a 30 minute show that was recorded in HD. I selected the option to decrypt and encode (h264_high_rate). The show downloaded in the "normal" amount of time. Then the encoding started. It has been running now for over 15 hours. It is 197% complete.

    How can I make this go faster? I checked Windows Task Manager and ffmpeg.exe is using 97% of the CPU.

    If I use Tivo Desktop to convert a program it takes a couple of hours on the same computer.
     
  6. Jan 16, 2009 #466 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    197% complete obviously sounds very suspicious. Something is going wrong with the encoding. It's undocumented but if you are encoding using GUI if you select the job in job monitor and then press Ctrl+s a little window with output from ffmpeg will show up. I suggest you bring that up and look for errors.
    Other way to do it is copy the full ffmpeg command that is printed in kmttg message window and paste to to a batch file and run it from command line and then you can see any errors more easily.
    If you have VideoRedo available then I would suggest running mpeg2 through Quickstream Fix before encoding as that usually clears up any problems with mpeg2 which can cause subsequent problems with encodings.
    Finally one more thing to try is a different encoding profile such as the med_rate.
     
  7. Jan 16, 2009 #467 of 10413
    westside_guy

    westside_guy Annoyingly ephemeral

    464
    1
    Mar 13, 2005
    The soggy...
    Hey all,

    This may be a dumb question, but I can't find any documentation on what this option actually does. Anyone know what's actually different if you check the "Web optimized" box in Handbrake?

    Thanks!
     
  8. Jan 16, 2009 #468 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    I think what that does for mpeg4 encodings is moves the moov atom to the front of the file similar to what qt-faststart tool does. That information is needed up front in the file for streaming applications which may not have access to the full file over the web up-front.
     
  9. Jan 25, 2009 #469 of 10413
    ehagberg

    ehagberg Member

    93
    0
    Dec 27, 2004
    Montclair, NJ
    Something's gone missing, it appears, in the latest version of kmttg, as it never calls the comskipCheck subroutine anywhere, so it always leaves behind .log, .logo.txt and .txt files if you run comskip. Am I the only one bothered by this?

    I'd noticed this a while ago, but didn't get around to checking through the code to see where the problem was until today.

    ...

    On looking some more, it appears you have two choices, if you are using VideoReDo and kmttg... both of which result in some files left behind when you don't want them:

    - set output_edl=1 in the comskip.ini. This will get the .logo.txt, .log and .txt files to be deleted, because the code now sees that there's a .edl file and believes that comskip worked... but then you're left with a .edl file still, that's not deleted even if you set the flag to delete .edl files after processing.

    - set output_edl=0 in the comskip.ini... This will result in no .edl file being left behind, but you'll still have the .logo.txt, .log and .txt files from comskip left behind, because there was no .edl file, so the program assumes that comskip failed.
     
  10. Jan 25, 2009 #470 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    As currently programmed kmttg always assumes output_edl=1 to be set in comskip.ini and that .edl file is the primary output to check for comskip run.
    The actual deletion of .edl file only happens after successful comcut step (see end of comcutCheck procedure) and if you have the "Remove .edl & .mpg files after comcut" option enabled.
    i.e. the current assumption is that if you run comskip you will also run comcut if you want the .edl file cleanup to happen. If you are not enabling comcut then the assumption is you will need comskip output for whatever else you are doing with it so no sense in deleting comskip output at that stage.
    I realize the coding is pretty poor for comskip/comcut and personally I don't ever use those steps as I prefer to edit out commercials manually, but suggestions to improve coming from people that actually use these features is welcome.
     
  11. Jan 25, 2009 #471 of 10413
    ehagberg

    ehagberg Member

    93
    0
    Dec 27, 2004
    Montclair, NJ
    I am enabling both comskip and comcut, but if you use VideoReDo (because mencoder just doesn't handle most of the streams I'm getting from my tivo), then it doesn't ever go through the comcutCheck procedure, as it uses adcut instead, and adcutCheck doesn't delete the .edl file.

    Something should delete it if you expect comskip to generate it.
     
  12. Jan 25, 2009 #472 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Good point, deletion of .edl file should be added to adcutCheck cleanup section. Just add the following around line 3161:
    unlink($$job_ptr{edlFile});
    (already added above to my devel version for next release)
     
  13. Jan 27, 2009 #473 of 10413
    citivolus

    citivolus New Member

    93
    0
    Jul 3, 2002
    I recently noticed one of my kids' shows (Tivi 5-Animated Children's Programs) stopped downloading even though new episodes are being recorded on the Tivo. It seems that kmttg is determining that the Program ID is the same for each show (ProgramID=SH010275900000). Is this a problem with the guide data being downloaded by Tivo? If so how do I fix it? It was working a few weeks ago. I have FIOS service being fed to my TivoHD.

    thanks!
     
  14. Jan 27, 2009 #474 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    I have that situation as well for a repeat manual recording of a Fox News show, but it's been that way for a long time. I just assumed the problem was only for manual recordings. How is that show setup to record on your Tivo(s)? Is it a repeat manual recording, season pass or wishlist? If there is some alternate unique identifier for a show I'd like to use it instead but back when I looked into it I didn't find one.
     
  15. Jan 28, 2009 #475 of 10413
    citivolus

    citivolus New Member

    93
    0
    Jul 3, 2002
    It's a season pass, set to record both first-run as well as repeats. but the shows are definitely different, just maybe they have the same episode info in the guide. is there anything I can do about this? maybe disable the history functionality in kmttg for that keyword combination?
     
  16. Jan 28, 2009 #476 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Easiest workaround I can think of right now is to edit out the entry in auto.history file. Now problem with that is if there are multiple episodes of the show to download then each one will add the same entry back and prevent future ones from downloading.
    You also have option of just downloading them manually using kmttg (not using auto mode for those).
    Give me the details of the show and if I have access to it I can record a couple of episodes and see if there is a better solution.
     
  17. Jan 29, 2009 #477 of 10413
    citivolus

    citivolus New Member

    93
    0
    Jul 3, 2002
    Thanks moyekj. The show is called "TiVi 5-Animated Children's programs". It's a series of cartoons in French on the station TV5 Monde which on my FiOS system is #1771.

    I could edit the auto.history and remove the entry, but it would come right back again. As a short workaround I was suggesting adding an option to kmttg to disable the checking of history for each entry (in the Configure screen) so it would continue to skip repeats of my other (well-behaved) shows.

    thanks!
     
  18. Jan 31, 2009 #478 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    I think this version addresses some of the most recent issues/requests.

    ------------------
    v0.5h (01/31/2009)
    ------------------
    ENHANCEMENTS:
    * FILES entry is now permanent option and first choice in Tivos cyclic.
    (removed option of enabling/disabling FILES support as it was not very
    intuitive to have an option and leave it off by default).
    * seriesId is now included in metadata file if available.
    * Added Zune encoding profile.
    * Added capability to ignore history checking for specific programId's. This
    is useful for certain shows that always have same programId even for
    different episodes. Those shows are prevented from being auto downloaded
    once programId is added first time to history file.
    You can setup an exception for these shows by adding <ignorehistory>
    entries to auto.ini file as in following example:
    <ignorehistory>
    SH1940720000


    FIXES:
    * Add deletion of .edl file when VRD is used for comcut step and the
    "Remove .edl & .mpg files after comcut" option is set.
    * Transform unicode data in metadata file generation from .TiVo files
    * In config GUI moved DEL button to be right beside ADD button (cosmetic)
     
  19. Feb 2, 2009 #479 of 10413
    jangelj

    jangelj New Member

    54
    0
    Oct 23, 2002
    moyekj,
    So far I LOVE kmttg.

    I want to put it on my wife's PC to have her shows archived/encoded for her mp4 player, and I'd like it on my PC to do the same for my shows. Do you know if the tivo will support connections from 2 PCs running kmttg at the same time? Not that they will always be downloading shows at the exact same time, but it could happen.

    Thanks!
    John
     
  20. Feb 2, 2009 #480 of 10413
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    A single tivo will not allow two downloads at the same time (from the same computer or from different computers -- doesn't matter). In fact, it can lead to annoying dropped connections halfway through a download.
     

Share This Page