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

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

  1. May 10, 2018 #11801 of 12829
    reneg

    reneg Well-Known Member

    1,121
    221
    Jun 19, 2002

    Advertisements

    Looks like an expired certificate. Update kmttg to 2.4g or later.
     
  2. May 10, 2018 #11802 of 12829
    moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...
    jayden67, as reneg pointed out you need to update to latest version of kmttg. The RPC certificate being used in older versions of kmttg expired.
     
  3. May 11, 2018 #11803 of 12829
    jayden67

    jayden67 New Member

    2
    0
    May 10, 2018
    Thanks for your speedy reply and diagnosis. I'll update to the newest version of KMTTG.
    Actually, I plan to install the program on a new computer. Can I just copy all the config files (auto.ini & auto.history) to the new machine after installation or have there been any changes made in the new version of KMTTG that would make these configs obsolete? I don’t want to have to recreate all my auto transfer settings or redownload seasons of shows I already have backed up.
     
  4. May 11, 2018 #11804 of 12829
    reneg

    reneg Well-Known Member

    1,121
    221
    Jun 19, 2002
    Copy works just fine.
     
  5. May 11, 2018 #11805 of 12829
    moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...

    Advertisements

    Copying .ini files should be fine. You can just unzip latest kmttg zip over an existing installation.
     
  6. May 14, 2018 #11806 of 12829
    ClearToLand

    ClearToLand Old !*#$% Tinkerer!

    1,095
    167
    Jul 9, 2001
    Central Jersey
    I've unzipped 2.2s, 2.4g and 2.4h to three temp directories and compared the results; only kmttg.jar appears to have changed so I just overlay the one file and pick right up where I left off.

    I've seen the message:

    "Legacy channel file - fixing to new format"​

    multiple times but thus far it hasn't affected anything that I've tried to do.
     
  7. May 14, 2018 #11807 of 12829
    ClearToLand

    ClearToLand Old !*#$% Tinkerer!

    1,095
    167
    Jul 9, 2001
    Central Jersey
    Hi Kevin,

    I'm experiencing a problem with the current version of kmttg and my new workflow. I'm tired of the 'garbled' Closed Captions that result from a PS / 'Slow' Format File Transfer so I've returned to experiment with PyTivoDesktop and TS / 'Fast' Format File Transfer. By lowering the QoS Rate Limit on my Netgear Managed Switch, I've been able to get error-free transfers in 5 retries or less (please see Post #72 ) but when I then take the (renamed to match the kmttg-generated AutoSkip filename on the .edl file) .tivo file over to the FILES section of kmttg and attempt to continue with Metadata / Decrypt / Ad Cut / Captions, things don't go so well:
    • When I attempt to do all four operations in one swoop (starting with the .tivo file from PyTivoDesktop), the Captions step fails with a:

      Error: No PTS info.

      I've traced this back to the fact that the ffcut.bat file has added "-f dvd" and changed the final extension to .mpg in the ffmpeg concatenate section. MediaInfo reports the final cut file as MPEG-PS and ccextractor consistently fails to create a .srt file.
      .
    • If I split my workflow into two steps (first just Metadata / Decrypt on .tivo file), and then continue with Ad Cut / Captions on the .ts file, I reach the desired result of a cut .ts file (that MediaInfo reports as MPEG-TS) and a proper .srt file but my metadata file is named 'Showname.txt' instead of 'Showname.ts.txt'.
    I've tried:

    Configure -> Program Options -> Download TiVo files in Transport Stream format​

    ON and OFF and only in one experiment did I manage to get a 'Showname.ts.txt' metadata file (and I was trying so many ideas, I couldn't do it again).

    I read the Wiki on:

    Configure -> Program Options -> Metafiles​

    which is currently set to the default of 'Last' and decided to ask the master if 'mpegFile_cut' is what I should use and where I'm going wrong. Also what's causing the '-f dvd / .mpg' stuff? I'd like to queue up several .tivo files to run for a few hours but now I have to wait for the Decrypt to create a .ts file and then manually add it via FILES to finish my workflow.

    Thanks!
     
  8. May 14, 2018 #11808 of 12829
    moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...
    What version are you running? The "-f dvd" portion and naming cut file as .mpg only happens if starting .tivo file is PS format. I just tried a short testcase I have and my ffcut .bat file looks like (no -f dvd anywhere as expected):
    Code:
    "C:\home\kmttg java testing\ffmpeg\ffmpeg.exe" -i "C:\home\dvd\Rescue Me - Carrot Three-Minute Replay.ts" -acodec copy -vcodec copy -ss 10.98 -t 234.20 -y "C:\home\dvd\Rescue Me - Carrot Three-Minute Replay_cut_0.ts"
    
    "C:\home\kmttg java testing\ffmpeg\ffmpeg.exe" -fflags +genpts -i "concat:C:\home\dvd\Rescue Me - Carrot Three-Minute Replay_cut_0.ts" -acodec copy -vcodec copy  -y "C:\home\dvd\Rescue Me - Carrot Three-Minute Replay_cut.ts"
    
    i.e. The cut file should have _cut.ts extension and everything should then work as expected. Maybe the root of the problem is the tivo file is not being detected as TS format or something along those lines. In any case, I can't reproduce your problem currently.
     
  9. May 17, 2018 #11809 of 12829
    snerd

    snerd Well-Known Member

    1,458
    499
    Jun 6, 2008
    SKIP is coming to the Premiere over the next week or so. Does the current implementation of kmttg already have AUTOSKIP support for Premieres in place, or will it need an update?
     
  10. May 17, 2018 #11810 of 12829
    moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...
    kmttg AutoSkip has worked for series 4 units since I implemented it. The only difference now is you will be able to run AutoSkip from SkipMode from Premiere units. FYI, both my series 4 units have had SkipMode for I think over a year already and "AutoSkip from SkipMode" works fine for them.
     
    krkaufman, kpeters59 and snerd like this.
  11. May 17, 2018 #11811 of 12829
    snerd

    snerd Well-Known Member

    1,458
    499
    Jun 6, 2008
    Excellent, that is what I'm using on my Roamio Plus, good to know that it will work on Premiere as well.
    Thanks again for all your efforts.
     
  12. May 17, 2018 #11812 of 12829
    wireman121

    wireman121 Member

    139
    1
    Nov 8, 2008
    Been having issues with autoskip engaging at incorrect times even though the TiVo has the correct times

    Having issues with TiVo boxes randomly becoming unchecked for autoskip

    Also, bug. If there is already skipdata and you press v, it will ask you if you want to clear the skip data and run autoskip again to find new skip points, BUT as it’s running again kmttg thinks you’re trying to watch the show and starts trying to skip commercials from the old skipdata while creating new skipdata.



    Sent from my iPhone using Tapatalk
     
  13. May 17, 2018 #11813 of 12829
    moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...
    You should check the kmttg AutoSkip table for the ones that aren't correct. Maybe your "AutoSkip from SkipMode" runs didn't work properly. You can bring up AutoSkip table and when you click on an entry it dumps the times to message window along with total show time, etc. so pretty easy to see if it's not correct.
     
  14. May 17, 2018 #11814 of 12829
    wireman121

    wireman121 Member

    139
    1
    Nov 8, 2008
    I deleted the data manually (since rerunning without deleting causes confusion) and reran it 3 times. Every time it was consistently incorrect. However, the actual skipdata in the TiVo is correct. It doesn’t happen with every recording and I haven’t yet found any pattern to it. Running on a Roamio Plus.


    Sent from my iPhone using Tapatalk
     
  15. May 17, 2018 #11815 of 12829
    moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...
    You should watch it as it's running AutoSkip from SkipMode to see what is happening. If your Roamio is not very responsive a reboot may fix that. Note that the scan for show start points is done backwards - goes to end of show and the uses "Channel Down" presses to find the start points.
     
    kpeters59 likes this.
  16. May 19, 2018 #11816 of 12829
    nyjklein

    nyjklein J-E-T-S JetsJetsJets TCF Club

    259
    45
    Aug 8, 2002
    North...
    Recently when trying to retrieve Season Premieres, i get several timeout errors like this one:
    RPC error response:
    {
    "code": "mindUnavailable",
    "text": "'remoteMind' Mind call failed: PostString failed: Curl error: a timeout was reached (28). Url: http://10.160.10.23:8085/mind/mind17?bodyId=tsn:849000xxxxxxxxx&type=gridRowSearch",
    "type": "error"
    }
    I gather kmttg is trying to reach the TiVo mind server. But what's with the RFC 1918 private 10.x IP address?

    Jeff
     
  17. May 20, 2018 #11817 of 12829
    collin

    collin Member

    59
    3
    Jan 2, 2008
    What is a reasonable active job limit setting for a 20 core (40 hypertheaded) machine?
     
  18. May 20, 2018 #11818 of 12829
    reneg

    reneg Well-Known Member

    1,121
    221
    Jun 19, 2002
    Not sure what to tell you other than to experiment a bit and see what works the best. I run a two job limit on my 6 core, 12 hyper-threaded machine, but I run two instanances of kmttg. The service in the background for xfer, decrypt, & ad-detect and the UI for ad-cut, captions, & encode. It gives me decent performance and allows others programs to be responsive. It also depends on which programs you run for the various tasks as some are single-threaded, and some are multi-threaded. Some of the multi-threaded programs like ffmpeg allow you to set a thread limit, whereas other programs like VideoRedo do not.
     
  19. May 20, 2018 #11819 of 12829
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    51,800
    6,338
    Apr 17, 2000
    Nevada
    It's not really possible in VideoReDo. VideoReDo's output uses a chain of modules and each module runs in it's own thread. There is no way for us to limit the number of threads used because it can vary wildly depending on the output options you choose.

    We do offer an option to lower the priority of the threads spawned by the output process. In that case Windows should allow other programs to execute first so VideoReDo doesn't cause your PC to becomes unresponsive. Although all of that logic is handled by Windows, so I can't guarantee how well it works.
     
  20. May 20, 2018 #11820 of 12829
    collin

    collin Member

    59
    3
    Jan 2, 2008
    ok, I didn't realize you could run more than one instance. Although, I have been trying a single instance out on a large batch today and the download step is the most limiting step, and I suspect running more than one download wouldn't help much because the source Tivo would end up splitting its bandwidth.

    A bunch of the steps are necessarily sequential, so only download, tivolibre, one of {fffix, comskip, ffcut, captions}, and encode can run simultaneously. Once an encode starts, it the load average is around 50% with most of the cores doing something (1-2 left free though). It's the waiting for the download and encode steps that holds back parallelism.
     
    Last edited: May 20, 2018

Share This Page

spam firewall

Advertisements