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 17, 2019 #12321 of 12439
    SamuriHL

    SamuriHL New Member

    29
    5
    Jan 23, 2012
    I've got them working enough for v6 but I modified them to ONLY work with v6. And right now the modifications I've made are very rough at best and I need to clean them up. But I've posted my work in progress here:

    KMTTG Work in Progress (formerly API changed?)

    Please take the "work in progress" part of that seriously. Again, they ONLY work for v6 (I wrote them for my own use case, but could be used as a basis for updating the actual scripts to make it fully backwards compatible) and I broke the progress bar updates. LOL woops. I'll fix those soon. Anyway, I have qsfix, getprofiles (I do not filter the adscan profiles currently), and encode "working" for V6 only.
     
    Xtra7973 likes this.
  2. Sep 17, 2019 #12322 of 12439
    reneg

    reneg Well-Known Member

    1,048
    178
    Jun 19, 2002
    I see you're busy in the VideoRedo thread. Thanks for diving in to make the script changes. I had no idea v6 was out until today and will install it soon.
     
  3. Sep 17, 2019 #12323 of 12439
    SamuriHL

    SamuriHL New Member

    29
    5
    Jan 23, 2012
    Yea it's been in beta since March. It's fantastic. While it was in beta I had V5 still installed. I only ran into issues this weekend when I uninstalled V5 and was like "uhhhh, uh oh!" So with Dan and Dan's help I've gotten the scripts working well enough where I can get stuff off the TiVo, qsfixed, commercial scanned, vrpj created for adscanning, and outputting. I even through in the encode script for those that need it. I wasn't ever going back to previous versions of VRD myself, so, I ripped out all the backwards compatibility in the scripts to make it easier on myself to focus on what was needed. Obviously if people want to keep the backwards compatibility they'll need to take what I did and integrate it properly which shouldn't be too hard. It's not like I made huge changes. It really isn't a lot of work to get it done.
     
  4. Sep 18, 2019 #12324 of 12439
    shiffrin

    shiffrin Member

    241
    3
    Aug 23, 2000
    Lancaster, PA
    I've tested several things and everything is working now. I was able to go back to my <title> of .* (now that it has been recreated) and TS transfers are going fine. So, I now only have that one title and downloads from AMC and Food Network (along with all other channels) are working fine.

    The only puzzling thing (and it doesn't really matter) is that on my old computer, Tivolibre created .mpg files but on my new computer they stay as .ts files. They play fine using VLC or other video playing programs and Tivo can see them on my server and pull them correctly, but it is strange.
     
  5. Sep 18, 2019 #12325 of 12439
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    10,551
    665
    Apr 6, 2000
    SF Bay Area
    If you want them to be .MP4, you must run an encoding profile in KMTTG.
     
  6. Sep 18, 2019 #12326 of 12439
    justen_m

    justen_m Cheesehead

    9,418
    408
    Jan 14, 2004
    Boise, ID
    They stay as .ts after decryption if you download them using transport streams. It's mpeg-2 data in a different wrapper. If you download via the slower option, program streams, they end up as .mpg. Doesn't make a difference. As you mentioned, most players can play them. Regardless of the way you download the file (TS or PS) you can still pipe in through an encoder to convert to mp4, if you want.
     
  7. Sep 19, 2019 #12327 of 12439
    minimeh

    minimeh Vanity Phrase Here

    322
    70
    Jun 20, 2011
    San Francisco
    Using @SamuriHL's work in progress scripts for guidelines, I've modified the original kmttg scripts to support VRD 6 as well as keeping legacy support for VRD 5 and VRD 4.

    I have tested with VRD 6 only, VRD 5 only, and with both in combination:
    • adcut.vbs
    • adscan.vbs
    • encode.vbs
    • getProfiles.vbs
    • qsfix.vbs
    • vrdreview.vbs
    I also modified createShortClip.vbs but have not tested it. The original appears to be incomplete (there is a ToDo tag).

    I can't test VRD 4 as I no longer have it.

    The modified scripts are in the attached zip file. A ".txt" extension has been added to them (e.g "adcut.vbs.txt") so the BBS malicious file filter isn't triggered. Just remove the ".txt" extension to use.

    [Edit] Due to a bug found in getProfiles.vbs on a VRD 5 only installation, I'll upload corrections after verifying on VRD 5 without VRD 6 enabled.
    [Edit] The bug in getProfiles.vbs has been fixed and the zip file has been updated and re-uploaded.
     

    Attached Files:

    Last edited: Sep 19, 2019
    Xtra7973, mlippert, moyekj and 3 others like this.
  8. Sep 19, 2019 #12328 of 12439
    reneg

    reneg Well-Known Member

    1,048
    178
    Jun 19, 2002
    I have not installed v6 yet, and tried the scripts you attached. I got an error on getProfiles.vbs when loading kmttg:
    Code:
    C:\kmttg\VRDscripts\getProfiles.vbs(45, 12) Microsoft VBScript runtime error: Object doesn't support this property or method: 'VideoReDo.ProfilesGetProfileIsEnabled'
    
    Encountered problems obtaining encoding profiles from VideoRedo
    I don't have time this morning to correct and test it further, but perhaps someone else can.
     
    minimeh likes this.
  9. Sep 19, 2019 #12329 of 12439
    shiffrin

    shiffrin Member

    241
    3
    Aug 23, 2000
    Lancaster, PA
    That was my understanding also from reading the documentation, but my old computer was setup to download as TS (at least that was what the auto.ini said) and they were being saved as .mpg so they must have really been downloaded as PS. For some reason, the <title> portion of my auto.ini was not being read correctly. It no longer matters since I now have the new computer working as expected.
     
  10. Sep 19, 2019 #12330 of 12439
    aaronwt

    aaronwt UHD Addict

    22,499
    838
    Jan 31, 2002
    Northern...
    Try running as a service. This is what I do and kmttg hums along with no issues. I rarely log in to my headless PC running kmttg. I just periodically check plex, from a streamer, to see that everything is showing up. And the stuff I watch remotely from plex, at my GFs house. That has been transferred with kmttg, has been fine.

    Sent from my Nexus 7(32GB)
     
    Last edited: Sep 19, 2019
  11. Sep 19, 2019 #12331 of 12439
    minimeh

    minimeh Vanity Phrase Here

    322
    70
    Jun 20, 2011
    San Francisco
    Thanks for reporting that. I see the problem and have fixed it. After I have run through everything with VRD 5 only, I'll re-upload the scripts.
     
    mlippert likes this.
  12. Sep 19, 2019 #12332 of 12439
    minimeh

    minimeh Vanity Phrase Here

    322
    70
    Jun 20, 2011
    San Francisco
    So, that wasn't really the point, was it? Turned out it was a system issue which needed correction for more than just kmttg.
     
  13. Sep 19, 2019 #12333 of 12439
    minimeh

    minimeh Vanity Phrase Here

    322
    70
    Jun 20, 2011
    San Francisco
    mlippert and SamuriHL like this.
  14. Sep 19, 2019 #12334 of 12439
    reneg

    reneg Well-Known Member

    1,048
    178
    Jun 19, 2002
  15. Sep 19, 2019 #12335 of 12439
    moyekj

    moyekj Well-Known Member

    11,881
    646
    Jan 23, 2006
    Mission...
    Thanks for the updated scripts. I have copied them into source code in preparation for next release.
     
    mlippert and kpeters59 like this.
  16. Sep 19, 2019 #12336 of 12439
    moyekj

    moyekj Well-Known Member

    11,881
    646
    Jan 23, 2006
    Mission...
    v2.4n version released that has the SPS codes for alternate QuickPlay speeds (only works for TE3), and the updated VRD profiles to work with VRD 6, and user provided code to allow AutoSkip to work when using QuickPlay. Release notes are what I already summarized:
    kmttg / Wiki / release_notes
     
  17. Sep 20, 2019 #12337 of 12439
    elprice7345

    elprice7345 Member TCF Club

    298
    14
    Sep 28, 2009
    Denver, CO
    Confirming the changes to make kmttg compatible with VRD v6 worked for me.
    • I upgraded from VRD v5 to v6
    • I upgraded kmttg to v2.4n
    • Processed a file using both VRD QSF and Ad Detective
    • All worked as expected
    Thanks to all who contributed!
     
  18. Sep 21, 2019 #12338 of 12439
    billpiper

    billpiper Member

    63
    7
    Sep 17, 2015
    Richmond, VA
    Would like to thank all involved for the fantastic work in getting kmttg working with VideoReDo6...
     
    snerd and mlippert like this.
  19. Sep 21, 2019 #12339 of 12439
    snerd

    snerd Well-Known Member

    1,234
    355
    Jun 6, 2008
    Question on potential new feature for kmttg: if pre-roll ads come to TE3, how likely is it that they could be detected and autoskipped?
     
  20. Sep 21, 2019 #12340 of 12439
    moyekj

    moyekj Well-Known Member

    11,881
    646
    Jan 23, 2006
    Mission...
    We will need to see details on how it works exactly, but perhaps initiating playback via network control won't even trigger the pre-roll ad. If it does, perhaps a workaround may be as simple as setting the pause point a few seconds into a recording before playing it. I'm sure there will be plenty of experimentation done by TE4 users to workaround the issue long before (or even if) it makes it to TE3 users. If this is the advent that forces TiVo to update all TE3 users to TE4, the TE4 GUI as a whole would be much more annoying to me than the pre-roll nonsense itself.
     
    Xtra7973, snerd, mlippert and 3 others like this.

Share This Page