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

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

  1. Mar 26, 2016 #9621 of 12957
    moyekj

    moyekj Well-Known Member

    12,330
    959
    Jan 23, 2006
    Mission...

    Advertisements

    Pay version of comskip handles H.264 from what I've heard. (I used to disallow comskip on H.264 files until someone complained it does work with paid version). I don't have much use for comskip myself preferring to find commercial segments manually using VRD.
     
  2. Mar 26, 2016 #9622 of 12957
    minimeh

    minimeh Vanity Phrase Here

    353
    77
    Jun 20, 2011
    San Francisco
    I found improved performance by following the guidelines in How to optimize AdDetective.

    Long and short of it: Load up a video. Use the Ad-Detective Parameters dialog to disable Fast Search; set the detection area to exclude the network bug in the corner; set threshold levels by selecting a black frame and clicking Display/Set Levels; and/or set selection points 10 seconds before a black frame and 10 seconds after the black frame and then clicking Train Using Current Sel.
     
    Last edited: Mar 26, 2016
  3. Mar 29, 2016 #9623 of 12957
    sanjonny

    sanjonny Member

    210
    1
    Nov 2, 2008
    Please hold on this. I am trying to make sure it is kmttg. I think it is but need to verify. Seems to have something to do with just before the switch to middlemind or something...

    Just upgraded to version n and when the program queries the NPL, it causes the tivo to reboot. Only on Tivo HD which is sanjonny. newjonny is series 4

    Code:
     Getting Now Playing List from sanjonny ...
    
    https://192.168.0.33/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&ItemCount=32&AnchorOffset=0
    
    >> Getting Now Playing List via RPC from newpremiere ...
    
    NPL job completed: 0:00:09
    
    ---DONE--- job=javaplaylist tivo=sanjonny
    
    >> Continuing Now Playing List from sanjonny (32/86)...
    
    https://192.168.0.33/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&ItemCount=32&AnchorOffset=32
    
    97 SHOWS, 432 GB USED, 0 GB FREE
    
    NPL job completed: 0:00:12
    
    ---DONE--- job=playlist tivo=newpremiere
    
    NPL job completed: 0:00:17
    
    ---DONE--- job=javaplaylist tivo=sanjonny
    
    >> Continuing Now Playing List from sanjonny (64/86)...
    
    https://192.168.0.33/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&ItemCount=32&AnchorOffset=64
    
    Killing 'javaplaylist' TiVo: sanjonny
    
    http IO exception for: https://192.168.0.33/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&ItemCount=32&AnchorOffset=64
    
    Read timed out
    
    >> Getting Now Playing List via RPC from newpremiere ...
    
    97 SHOWS, 432 GB USED, 0 GB FREE
    
    NPL job completed: 0:00:12
    
    ---DONE--- job=playlist tivo=newpremiere
    
    Web browser query: http://sourceforge.net/p/kmttg/wiki/release_notes
    
    You are running up to date version: v2.1o
    
    >> Getting Now Playing List from sanjonny ...
    
    https://192.168.0.33/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&ItemCount=32&AnchorOffset=0
    
    NPL job completed: 0:00:07
    
    ---DONE--- job=javaplaylist tivo=sanjonny
    
    >> Continuing Now Playing List from sanjonny (32/86)...
    
    https://192.168.0.33/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&ItemCount=32&AnchorOffset=32
    
    NPL job completed: 0:00:14
    
    ---DONE--- job=javaplaylist tivo=sanjonny
    
    >> Continuing Now Playing List from sanjonny (64/86)...
    
    https://192.168.0.33/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&ItemCount=32&AnchorOffset=64
    
    >>

    It basically rebooted every time I tried to hit the refresh to get the list. This happened in the past off and on and I did post about it, but now it cannot even get the list without rebooting. Don't know if its how it queries, but other ways to get the list work fine (going to the local website, using TWP etc.)

    I feel like before it did not use java to get details or something, sorry cannot remember.
     
    Last edited: Mar 29, 2016
  4. Mar 29, 2016 #9624 of 12957
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    13,078
    1,256
    Apr 6, 2000
    SF Bay Area
    Series 3 does not use RPC so try it disabled.

     
  5. Mar 29, 2016 #9625 of 12957
    muerte33

    muerte33 Member

    94
    3
    Jul 4, 2008

    Advertisements

    Is it possible with the new commercial skipping code to fire off a show to a Tivo Mini instead of my Tivo XL4? It works great going to my Tivo XL4.
    When I press the "Z" key over a show to Remote play, it always goes to the Tivo XL4.
    I do not think this is possible, but I had to ask because it would be cool to be commercial free on my other TV (that is connected to the mini).
    Thanks very much, and pardon my ignorance.
     
  6. Mar 29, 2016 #9626 of 12957
    moyekj

    moyekj Well-Known Member

    12,330
    959
    Jan 23, 2006
    Mission...
    Yes, but not using the "Z" bindkey from NPL. From kmttg start AutoSkip Service for the Mini from the File--AutoSkip Service menu. If Mini doesn't show up in the File--AutoSkip Service list then you need to go to config--Tivos tab and enable RPC for the Mini there and then restart kmttg.
    With AutoSkip service enabled for the Mini when you play a show on the Mini that has AutoSkip data it will automatically detect that and skip commercials for you without having to interact with kmttg at all. Same goes for any TiVo for which you start AutoSkip service.
     
  7. Mar 29, 2016 #9627 of 12957
    muerte33

    muerte33 Member

    94
    3
    Jul 4, 2008

    Worked like a charm.
    Thanks very much!
     
  8. Mar 30, 2016 #9628 of 12957
    sanjonny

    sanjonny Member

    210
    1
    Nov 2, 2008
    It was not enabled. I guess I meant when it was doing the Remote call or whatever it does as the second part of the process. I am still working with it, have basically turned off kmttg until I get a chance to play with it more and try to see what is happening...
     
  9. Mar 31, 2016 #9629 of 12957
    sanjonny

    sanjonny Member

    210
    1
    Nov 2, 2008
    So in diagnosing this, I made a backup of season passes using kmttg. This is on a 3 model HD. What are the chances that I can restore those season passes back to the HD? I also have them backed up in TWP, but that is mostly for reference because usually they do not restore properly. I know on the premiere and up, restore goes fine with season passes, but have no experience trying to do it with the HD?

    Anyone else tried or moyekj, do you know if the systems are similar that it will work? Also, how does it handle already existing SP during restore? Does it delete them and overwrite, or just add the backed up ones....

    Thanks in advance for your help. I am still unsure if kmttg is causing the reboots, I was testing and deleted the SPs to see if that was part of the problem....
     
  10. Mar 31, 2016 #9630 of 12957
    moyekj

    moyekj Well-Known Member

    12,330
    959
    Jan 23, 2006
    Mission...
    Copy button should be disabled for series 3 TiVos - it's not supported, so no you can't restore S3 season passes, but you can copy S3 season passes to series 4 or later TiVos.
     
  11. Apr 1, 2016 #9631 of 12957
    minimeh

    minimeh Vanity Phrase Here

    353
    77
    Jun 20, 2011
    San Francisco
    I ran into an interesting glitch with AutoSkip. The skipping went into a loop jumping back to the first skip point after entering the second commercial block. To break the loop, I ff'd past the second skip point. From there, everything was normal.

    I also discovered that if I did a 30 second skip into the second commercial block, AutoSkip correctly then skipped forward out of it rather than looping back. The looping occurs only if I let the video run normally into the commercial block.

    I'm using kmttg v2.1o with Java 1.8.0_77 on Windows 10. The skip points were generated with Comskip 0.81.092 donator build. It generates the VideoRedo project with "output_videoredo3=1" in comskip.ini. VideoRedo TV Suite version 5.1.3.741 is used to finish the skip points.

    Here is the relevant snippet from the messages window:
    Code:
    SkipService (Four Banger): Entering AutoSkip for: The Americans - Experimental Prototype City of Tomorrow
    1: start=00:00:26.976 end=00:03:06.569
    2: start=00:06:32.725 end=00:14:49.104
    3: start=00:18:55.283 end=00:31:07.365
    4: start=00:35:23.504 end=00:43:54.064
    5: start=00:48:00.310 end=00:58:16.976
    6: start=01:01:07.947 end=01:02:27.927
    AutoSkip (Four Banger): IN COMMERCIAL. JUMPING TO: 00:00:26.976
    AutoSkip (Four Banger): IN COMMERCIAL. JUMPING TO: 00:00:26.976
    AutoSkip (Four Banger): IN COMMERCIAL. JUMPING TO: 00:00:26.976
    AutoSkip (Four Banger): IN COMMERCIAL. JUMPING TO: 00:06:32.725
    AutoSkip (Four Banger): IN COMMERCIAL. JUMPING TO: 00:18:55.283
    AutoSkip (Four Banger): IN COMMERCIAL. JUMPING TO: 00:35:23.504
    AutoSkip (Four Banger): IN COMMERCIAL. JUMPING TO: 00:48:00.310
    AutoSkip (Four Banger): IN COMMERCIAL. JUMPING TO: 01:01:07.947
    
    I've attached the .VPrj, .edl, .srt, and AutoSkip.ini. If anything else would help, please let me know.

    Thanks!
     

    Attached Files:

  12. Apr 1, 2016 #9632 of 12957
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    13,078
    1,256
    Apr 6, 2000
    SF Bay Area
    IMO, I think the "Jumping to" points should be pointing to the end points.
     
  13. Apr 1, 2016 #9633 of 12957
    moyekj

    moyekj Well-Known Member

    12,330
    959
    Jan 23, 2006
    Mission...
    Thanks for the testcase. I was able to reproduce the problem for the same show. The problem happens specifically when the previous start point is closer to current position than the next start point the code erroneously would jump to previous start point in that circumstance. I've rectified the code for next release to not jump backwards when in a commercial segment and verified it fixed the problem with this show.

    BTW, I'm pretty sure your Vprj data cut points were not entirely correct so I assume they were unverified comskip generated points?
     
  14. Apr 1, 2016 #9634 of 12957
    reneg

    reneg Well-Known Member

    1,156
    236
    Jun 19, 2002
    I've only seen the repeated jump back issue a few times but that explains if you FF further into the commercial and then play, that the skip to the next segment occurs as it should. Thanks in advance for fixing this in the next release.
     
  15. Apr 1, 2016 #9635 of 12957
    minimeh

    minimeh Vanity Phrase Here

    353
    77
    Jun 20, 2011
    San Francisco
    Actually the Vprj data cut points were verified with VideoRedo and are accurate. I have noticed that comskip tends to mark scenes about in the middle of the black frames rather than the edges as VideoRedo tends towards, but that seems to work fine in viewing so I don't adjust them if the scene is accurately defined.

    If it would help for the cut point sharing analysis, I could upload cut points generated with VideoRedo for comparison.

    Thanks for looking into the looping issue, much appreciated.

    Sent from my SCH-I535 using Tapatalk
     
  16. Apr 1, 2016 #9636 of 12957
    moyekj

    moyekj Well-Known Member

    12,330
    959
    Jan 23, 2006
    Mission...
    So the zip file you posted above containing Vprj file is not the VRD verified cut points? Because I used that for Skip Share import and it didn't line up well starting with start point @30:51 time point.
     
  17. Apr 1, 2016 #9637 of 12957
    ehagberg

    ehagberg Member

    97
    1
    Dec 27, 2004
    Montclair, NJ
    Sorry to resurrect this from the dead, but I'm trying to switch over from using a windows VM to as much linux as possible here, and everything seems to be working well, except that I'm getting really bad sync of captions now that I've switched over to linux, and I think it's likely due to not having videoredo to do the qsfix before cutting and grabbing captions. Is there really no way to get VRD functionality without spinning up a full Windows VM?

    Or have others found and fixed captions sync issues with ccextractor? I found that the captions for some channels (and not others) are displayed delayed by more than a second, which often makes it impossible to use them, while other shows/channels get their captions lined up just fine. So simply specifying a delay might fix some but will definitely break others...
     
  18. Apr 1, 2016 #9638 of 12957
    minimeh

    minimeh Vanity Phrase Here

    353
    77
    Jun 20, 2011
    San Francisco
    Sorry if I'm not being clear. The zip file that I posted above contains the Vprj file that was verified with VRD for the cut points. It is indeed the only Vprj that I have for that episode of "The Americans" and was used for the import of the cut points by kmttg. Viewing the show proved the cut points to be good.

    I just now performed a Skip Share import (bindkey c) using the same zip file as posted above. I then performed an Export AutoSkip to VPrj (bindkey e). I then brought up the exported project in VideoRedo. The fact that all of the scene markers of the original project were gone as well as the timestamp of the project file proved that I was working with the exported project. Each skip point and commercial block verified as accurate to the frame and exactly the same as the original project as found in the zip file.

    When performing the Skip Share import, I checked on "Debug". Here are the relevant messages:
    Code:
    The Americans - Experimental Prototype City of Tomorrow
    Recorded Wed 03/30/2016 10:00 PM on 741=FXPHD, Duration=72 mins, EpisodeNumber=403, PAUSE POINT: 6 mins 34 secs, originalAirDate=2016-03-30
    Extracting file: C:\Users\pdellera\kmttg\_SkipImport_\AutoSkip.ini
    Extracting file: C:\Users\pdellera\kmttg\_SkipImport_\The Americans.2016.03.30-Experimental Prototype City of Tomorrow.edl
    Extracting file: C:\Users\pdellera\kmttg\_SkipImport_\The Americans.2016.03.30-Experimental Prototype City of Tomorrow.srt
    Extracting file: C:\Users\pdellera\kmttg\_SkipImport_\The Americans.2016.03.30-Experimental Prototype City of Tomorrow.VPrj
    ---DEBUG: zip file cut points---
    1: start=00:00:26.976 end=00:03:06.569
    2: start=00:06:32.725 end=00:14:49.104
    3: start=00:18:55.283 end=00:31:07.365
    4: start=00:35:23.504 end=00:43:54.064
    5: start=00:48:00.310 end=00:58:16.976
    6: start=01:01:07.947 end=01:02:27.927
    
    cc after start=00:00:26.976
    index1=1 start1=00:00:28.395 index2=1 start2=00:00:28.395 diff=0
    stop1=00:00:30.162 stop2=00:00:30.162 diff=0
    1 <i> PREVIOUSLY ON</i> <i> "THE AMERICANS"...</i> 
    
    cc before end=00:03:06.569
    index1=35 start1=00:02:30.417 index2=35 start2=00:02:30.417 diff=0
    stop1=00:02:34.987 stop2=00:02:34.987 diff=0
    [ LAUGHTER ] 
    1: adjusted start=00:00:26.976 adjusted end=00:03:06.569
    
    cc after start=00:06:32.725
    index1=88 start1=00:06:35.329 index2=88 start2=00:06:35.329 diff=0
    stop1=00:06:37.262 stop2=00:06:37.262 diff=0
    IN THE CLERGY, WE HAVE VERY STRICT RULES 
    
    cc before end=00:14:49.104
    index1=236 start1=00:14:44.751 index2=236 start2=00:14:44.751 diff=0
    stop1=00:14:46.651 stop2=00:14:46.651 diff=0
    [ HORN HONKS IN DISTANCE ] 
    2: adjusted start=00:06:32.725 adjusted end=00:14:49.104
    
    cc after start=00:18:55.283
    index1=290 start1=00:18:56.753 index2=290 start2=00:18:56.753 diff=0
    stop1=00:18:58.553 stop2=00:18:58.553 diff=0
    NOTHING WRONG WITH THE DOG AT ALL. 
    
    cc before end=00:31:07.365
    index1=498 start1=00:30:57.540 index2=498 start2=00:30:57.540 diff=0
    stop1=00:31:00.474 stop2=00:31:00.474 diff=0
    HE WANTS TO DO 17 TIMES IN A ROW. 
    3: adjusted start=00:18:55.283 adjusted end=00:31:07.365
    
    cc after start=00:35:23.504
    index1=548 start1=00:35:25.007 index2=548 start2=00:35:25.007 diff=0
    stop1=00:35:27.607 stop2=00:35:27.607 diff=0
    [ INDISTINCT CONVERSATIONS, LAUGHTER ] 
    
    cc before end=00:43:54.064
    index1=708 start1=00:43:43.805 index2=708 start2=00:43:43.805 diff=0
    stop1=00:43:47.607 stop2=00:43:47.607 diff=0
    [ FOOTSTEPS APPROACH ] 
    4: adjusted start=00:35:23.504 adjusted end=00:43:54.064
    
    cc after start=00:48:00.310
    index1=768 start1=00:48:02.079 index2=768 start2=00:48:02.079 diff=0
    stop1=00:48:03.245 stop2=00:48:03.245 diff=0
    Woman: I APPRECIATE IT. AH, MR. PHILIP. 
    
    cc before end=00:58:16.976
    index1=916 start1=00:58:08.853 index2=916 start2=00:58:08.853 diff=0
    stop1=00:58:11.019 stop2=00:58:11.019 diff=0
    I GUESS WE'RE NOT GOING TO EPCOT. 
    5: adjusted start=00:48:00.310 adjusted end=00:58:16.976
    
    cc after start=01:01:07.947
    index1=963 start1=01:02:48.632 index2=963 start2=01:02:48.632 diff=0
    stop1=01:02:50.398 stop2=01:02:50.398 diff=0
    <i> PREVIOUSLY ON</i> <i> "THE AMERICANS"...</i> 
    
    cc before end=01:02:27.927
    index1=962 start1=01:00:35.099 index2=962 start2=01:00:35.099 diff=0
    stop1=01:01:49.137 stop2=01:01:49.137 diff=0
    Enter today at PGATOUR.com/QuickenLoans. 
    6: adjusted start=01:01:07.947 adjusted end=01:02:27.927
    Saving AutoSkip entry: The Americans - Experimental Prototype City of Tomorrow
    Successfully imported skip share
    
     
  19. Apr 1, 2016 #9639 of 12957
    moyekj

    moyekj Well-Known Member

    12,330
    959
    Jan 23, 2006
    Mission...
    OK thanks. Gives me something to work on now that I know it's verified accurate for you and I have your debug log.
     
  20. Apr 1, 2016 #9640 of 12957
    moyekj

    moyekj Well-Known Member

    12,330
    959
    Jan 23, 2006
    Mission...
    Looks like the issue is my .srt file starts to get out of sync at around the 30 minute point in the show. I'm going to try a PS download instead and generate a new .srt file to see if it makes any difference.
     

Share This Page

spam firewall

Advertisements