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

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

  1. Oct 6, 2020 #12841 of 12887
    RyanL

    RyanL New Member

    25
    7
    Apr 28, 2019

    Advertisements

    I have a tinkered and tweaked settings for comskip for a couple of weeks now and think I have it to the point of where OTA both SD and HD work decent with no commercials so I can start archiving shows worth keeping. It's nest to impossible getting it just right to where it's not missing a few commercials here and there or cutting some of the show (especially tricky with SD content). Anyway, would like to upload my working ini file to help others and save them a bit of time, but can't figure out an efficient or effective way to do it. Tried uploading code as text from the ini but it gets all jumbled up because the lines are too long. Also, figured I would simply try and register an account over at the comskip forums and try to upload it there and then just link it here, but haven't received my activation email from them. That forum doesn't seem to be very active anywho.
     
    kpeters59 and Legacy777 like this.
  2. Oct 6, 2020 #12842 of 12887
    Legacy777

    Legacy777 Member

    59
    3
    Sep 11, 2008
    Houston, TX
    I think if you post as code even though the lines are too long and wrap when copied and pasted back into a text file it should have the correct line breaks.
     
  3. Oct 6, 2020 #12843 of 12887
    Legacy777

    Legacy777 Member

    59
    3
    Sep 11, 2008
    Houston, TX
    You could also just rename the file to comskip.txt instead of comskip.ini and upload/attach it to your post here.
     
  4. Oct 6, 2020 #12844 of 12887
    RyanL

    RyanL New Member

    25
    7
    Apr 28, 2019
    Ini file of comskip 82_010 for OTA. Changed the extension to txt, just remember to change it back to ini after download. Also, I have added a couple of lines at the end (always_keep_first_seconds & always_keep_first_seconds). For certain groups of recordings I find setting this to 50 or whatever can be ultra helpful. For example, if I'm running off a bunch of EFC fights from the stadium network they often have the decision from the last fight at the very end of the recording so I set it the line always_keep_last_seconds=50 otherwise that last segment will be considered a commercial. If anyone has any input on this comskip ini, feel free to comment. It may also work well for cable content but have no way of checking that. Enjoy.

    Edit: Also note that I typed in the defaults after the semicolons in the descriptions. I find this helpful to make quick references. And I believe the lines without any descriptions or any other numbers were lines added by the ini editor.
     

    Attached Files:

    Last edited: Oct 6, 2020
    jonw747, kpeters59 and Legacy777 like this.
  5. Oct 6, 2020 #12845 of 12887
    Legacy777

    Legacy777 Member

    59
    3
    Sep 11, 2008
    Houston, TX

    Advertisements

    Thanks for sharing! I've got a couple shows I want to use comskip on so will try this out.

    Josh
     
  6. Oct 6, 2020 #12846 of 12887
    RyanL

    RyanL New Member

    25
    7
    Apr 28, 2019
    Cool. Are you recording off of cable though? I saw your previous post about having trouble decrypting recordings from you tivo. Just curious if this works for cable too. Would truly be a one size fits all comskip settings file then. IDK, I tried to use a bunch of other user ini.s laying around the web and most didn't seem to pick up most of the commercials (especially with SD content) so I would try and tweak some of their settings (mostly settings that were changed from the default ones) and it almost always seem to make things worse. Then I would get frustrated and completely start fresh all over again. Think I got it ironed out now. I believe that biggest issue I had along the way is the wording of the settings and/or the descriptions. The developer (think it might be one guy) is probably from Russia or something and there's clearly a language barrier because many of the settings do the opposite of what you think they would. Yes means no in some cases and shrinking something actually increases it. And he definitely comes from the land of double negatives LOL. Anyway, let me know if it works.
     
  7. Oct 8, 2020 #12847 of 12887
    Legacy777

    Legacy777 Member

    59
    3
    Sep 11, 2008
    Houston, TX
    Hi Ryan,

    Yeah I am recording off of cable (Comcast/Xfinity). I tried your OTA file and it unfortunately didn't detect commercials on a show I recorded from the Discovery Channel. The default did find the commercials but ended up clipping some of the show. When I have more time I'll have to play with the settings some more.

    Thanks
    Josh
     
  8. Oct 8, 2020 #12848 of 12887
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    12,458
    1,092
    Apr 6, 2000
    SF Bay Area
    Commercial detection is not always perfect. Lots of times they can switch to commercial without blanking (about 2 seconds) so the commercial may be considered as part of the program/show.
     
  9. Oct 9, 2020 #12849 of 12887
    RyanL

    RyanL New Member

    25
    7
    Apr 28, 2019
    That's what I figured may happen with cable networks. I'm guessing that it may work better for you if the show was off of a standard broadcast network like ABC or FOX. I would first mess with the minimum/maximum commercial size and commercial break size along with the minimum segment size of the show since that can screw a lot up from what I've noticed. Cable is different than network in that the commercials can be very short where network commercials are a bit longer (furniture store adds, car dealerships etc). And then programming like football can have 15 minute commercial breaks so that can require different settings entirely. After messing with that, the next most important setting is the detection method(s) is at the beginning of the file (the larger #). Once you find the methods that seem to work I would go to town on tweaking from there. Messing with all the various settings before determining what methods actually do anything, is blind art. At least that's my take on this program. I have a lot of other random shows that I want to test out with this ini but everything I've thrown at it seems to work fairly good. I would say that it picks up and cuts 95% of all the commercials. That's the best I've gotten it with lower quality OTA recordings. I would like to tinker a bit more with modifier settings but don't really understand how they work. I'm assuming giving them a slightly higher # would give them a higher priority, but I can't be entirely sure. Mainly I would like to give channel logo detections a bit more priority but another thing that's confusing is that there's multiple modifier settings related to that. And some values may be percentages (like .01) while others may be multipliers (1.2). Without proper descriptions it truly is taking a stab in the dark.
     
    Legacy777 likes this.
  10. Oct 9, 2020 #12850 of 12887
    RyanL

    RyanL New Member

    25
    7
    Apr 28, 2019
    That's exactly why I would like to give a bit more priority to logo detection as I mentioned up above. I'm sure that the key is in the modifier selection but don't even know where to begin on that front. Also would like to give aspect ratio change a bit more emphasis. These are things I may have to mess with in a couple weeks when I have more time. For now I'm pretty happy wiht what I came up with.
     
  11. Oct 25, 2020 #12851 of 12887
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    12,458
    1,092
    Apr 6, 2000
    SF Bay Area
    I just got a new laptop and put KMTTG and VRD Plus (old version) on it, and it was working fine. Then, I put VRD TVSuite on it and removed Plus. KMTTG would now complain that it cannot find VRD v4 or later. So, I re-installed Plus and its working again.
     
  12. Nov 7, 2020 #12852 of 12887
    toddk63

    toddk63 New Member

    26
    2
    Jul 29, 2014
    Should I be using Java 8 32bit or 64bit on Ubuntu 20.04... or something else?
     
  13. Nov 8, 2020 #12853 of 12887
    ej42137

    ej42137 Well-Known Member

    3,758
    577
    Feb 15, 2014
    Los Angeles
    64 bit, because that's what all the cool kids are doing. But it won't make any discernible difference.
     
  14. Nov 9, 2020 #12854 of 12887
    eohrnberger

    eohrnberger Member

    44
    3
    Oct 14, 2002
    Troy, MI
    I'm really interested in using kmttg to download programs from my TiVos, and also backing up the Season Passes and such.
    But whenever kmttg tries to connect to either one of the 2 TiVos (1 is a series 4 - getting a bit long in the tooth, and a recently purchased Bolt), kmttg logs a Java exception in what looks like the SSL handshake.

    Code:
    RemoteInit - (IP=192.168.2.5, port=1413): readHandshakeRecord
    [sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source), sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source), sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source), com.tivo.kmttg.rpc.Remote.RemoteInit(Remote.java:210), com.tivo.kmttg.rpc.Remote.<init>(Remote.java:172), com.tivo.kmttg.main.config.initRemote(config.java:632), com.tivo.kmttg.task.NowPlaying$1AutoThread.run(NowPlaying.java:90), java.lang.Thread.run(Unknown Source)]
    RemoteInit - (IP=192.168.2.6, port=1413): readHandshakeRecord
    
    I've read that other similar Java programs have outdated SSL certs which deny them access to connect to the TiVos. Is this the case with this app also? Any options possible to fix this?
     
    ke3ju and dlfl like this.
  15. Nov 17, 2020 #12855 of 12887
    lart2150

    lart2150 Member

    62
    35
    Jul 8, 2002
    Chicago, IL.
    I thought some people might be interested in this. It expires December 2022.

    edit: I should add I also have the cert and key for the transcoder if anyone is interested.
     

    Attached Files:

    Last edited: Nov 17, 2020
    bluewarp, millst, tharper and 17 others like this.
  16. Nov 17, 2020 #12856 of 12887
    mackworth

    mackworth cTiVo Developer

    98
    5
    Jul 31, 2006
    Can confirm this works!
     
    ClearToLand and lart2150 like this.
  17. Nov 17, 2020 #12857 of 12887
    reneg

    reneg Well-Known Member

    1,145
    231
    Jun 19, 2002
    Thank you so much. I think I used openssl correctly to get this into the format used by metagenerator. [Edited after correction by moyekj]
     

    Attached Files:

    Last edited: Nov 17, 2020
    tharper, dlfl and ClearToLand like this.
  18. Nov 17, 2020 #12858 of 12887
    reneg

    reneg Well-Known Member

    1,145
    231
    Jun 19, 2002
    Yes, for kmttg & metagenerator.
     
    Lurker1 likes this.
  19. Nov 17, 2020 #12859 of 12887
    moyekj

    moyekj Well-Known Member

    12,271
    931
    Jan 23, 2006
    Mission...
    I released version v2.4p of kmttg which has the new certificate and password.
     
    humbb, bluewarp, xjonx and 21 others like this.
  20. Nov 17, 2020 #12860 of 12887
    moyekj

    moyekj Well-Known Member

    12,271
    931
    Jan 23, 2006
    Mission...
    FYI, if you want to use certificate externally, kmttg looks for cdata.p12 file and cdata.password file in the kmttg directory, not cdata.pem. However, the cdata.pem you generated will be useful for metagenerator application.
     
    tharper, murgatroyd and ClearToLand like this.

Share This Page

spam firewall

Advertisements