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. May 29, 2013 #5281 of 10413
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    I think he's talking about the problem of a download being stopped by a bad spot in the recording.

    Doubtful that it has been fixed. No way of knowing unless someone still has a recording on one of their Premieres which had that problem.
     
  2. Jun 2, 2013 #5282 of 10413
    wireman121

    wireman121 Member

    126
    0
    Nov 8, 2008
    I have a feature request and a possible change/enhancement. Would it be possible to have kmttg, while its automatically checking for shows it should be automatically downloading, to see if a pytivo push after comcut was successful and if so delete associated files off the pc? For example:

    kmttg set to loop auto transfers in GUI
    kmttg finds a show it needs to auto transfer, and does its thing. runs ad detect, ad cut, and pushes back to TiVo.
    Then kmttg loops in GUI again, sees that the file transferred back, the duration matches the duration of the file on the PC, checks to see if the file is still locked by pytivo, if not, it deletes it and the meta file.



    Also - could you make it so that the "loop in gui" checkbox remembers its state when kmttg is exited and restarted?
     
  3. Jun 2, 2013 #5283 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Not really feasible for the pyTivo post-push delete. pyTivo is completely independent from kmttg so kmttg would really not have any idea when the push is complete. Best place for that functionality would be in pyTivo plugin since it knows when a push completes and exactly which file was pushed.
     
  4. Jun 2, 2013 #5284 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    I maybe missing some critical setting or something, but pretty much almost every file I download needs some review via me after vrd adscan has been run because it misses commercials or takes to much of the program or whatever. There are some stations where in general, it does really well most of the time (BBCHD America for example) but there are others (Military Chan, Nat Geo) where I would likely loose half the program if I let it all be automated.

    Is there possibly a configuration change to VRD I have missed to make is so accurate I don't have to worry? I am just amazed that anyone can do this without review the commercials and have anything like even a 50% accuracy.
     
  5. Jun 2, 2013 #5285 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Having lots of experience with both and with so much good work you have done on google code, I would say that newer users, the ones that have the most trouble of course, probably find it much easier to navigate google code than sourceforge.

    I see you have already pretty much moved it all, but just wanted to throw my 1.5 cents in because I personally just hate the way sourceforge is structured and don't love everything about googcode either, it seems nobody really designs those sites with less technical people in mind, but at least on google code, it seems easier to get to everything you want and tracking and such.
     
  6. Jun 2, 2013 #5286 of 10413
    wireman121

    wireman121 Member

    126
    0
    Nov 8, 2008
    I use the review option still, as like you some stations go very well with the detect and delete and some others wipe out way too much or not enough of the show.

    I was thinking kmttg could compare the length of the file that it pushed to the length of the file when it refreshes the list of whats on the TiVo, and if the lengths, show names, etc match then it would know it transferred correctly and delete the local file. It wouldn't need to rely on pytivo at all, it would use whats already within kmttg to just compare the file in TiVo and the local file.
     
  7. Jun 2, 2013 #5287 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,736
    8
    Apr 6, 2000
    SF Bay Area
    Its not always possible. VRD uses 2 sec of blank screen to mark in any possible commercials. Sometimes the commercials pop in so fast, there is no blank screen at all and throws off VRD and does not mark up the break. Since VRD needs 2 blank screens, if there isn't a blank screen until the next break event, it will cut the actual program.
     
  8. Jun 6, 2013 #5288 of 10413
    brykasch

    brykasch New Member

    16
    0
    Jun 6, 2013
    found my solution
     
  9. Jun 6, 2013 #5289 of 10413
    Fofer

    Fofer XenForo Rocks! TCF Club

    82,143
    306
    Oct 29, 2000
    It would've been nice to have posted that solution here, instead of deleting your question -- you know, to potentially help others in the future :)
     
  10. Jun 6, 2013 #5290 of 10413
    Ichinisan

    Ichinisan New Member

    19
    0
    Mar 14, 2013
    Before I spend hours reading and researching, can someone tell me if this procedure keeps closed captions intact?

    Also, I don't see it specifically stated that you must purchase VideoReDo. Isn't that a requirement? Is there any way to get a discount on it?
     
  11. Jun 6, 2013 #5291 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Depends. What are your trying to accomplish? For example if you just download and decrypt a program then captions will be available in resulting mpeg2 video file. If you need to go further to perhaps cut out commercials and/or encode video to a different format for a mobile device and you want to preserve captions then VideoRedo is highly recommended. If you do want to generate a re-encoded video and captions are not required in the resulting video then VideoRedo is not necessary.
    VideoRedo has a fully functional and free trial period and there is a $50 VideoRedo Plus option available which can be used.
     
  12. Jun 6, 2013 #5292 of 10413
    howards

    howards Member

    77
    0
    Oct 31, 2007
    If all you want to do is copy a Tivo file from the Tivo to your computer for archiving and later copy it back to the Tivo for playback, captions will be preserved. You must enable Tivo Stream format for the transfers on newer Tivos for this to work.

    I do not have VideoReDo, and I perform the above steps regularly.

    As the previous poster said, if you decide to process the file whether captions are preserved is up to you and what you do.
     
  13. Jun 8, 2013 #5293 of 10413
    howards

    howards Member

    77
    0
    Oct 31, 2007
    I like that kmttg tells me the transfer speed when a transfer is completed. As a suggestion, how about adding a "current transfer speed" for in-process transfers? This could show as an extra field in the jobs queue area or an extension of the current jobs queue status field. ("Current transfer speed" is just an instantaneous snapshot of data transferred divided by time spent, refreshed at a reasonable interval - however often you're updating transfer status now.)

    Would be useful for performance testing purposes.

    ---------------

    BTW, what does the Mbps field already present at the far right of the Now Playing area tell me?

    Thanks!
     
  14. Jun 8, 2013 #5294 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    It already does that in STATUS column (gives you instantaneous Mbps) as long as you don't have "Show estimated time remaining for downloads" option turned on.
    The "Mbps" column in NPL table is an estimate of average bit rate for the recording which is simply total Mbytes divided by # seconds which is a quick quality indicator.
     
  15. Jun 9, 2013 #5295 of 10413
    howards

    howards Member

    77
    0
    Oct 31, 2007
    Didn't realize that about the status column! (Duh.) Thanks for the info!

    Next enhancement request <grin>: can we have both estimated remaining time and average bit rate simultaneously available? It wouldn't hurt if the status column were wider.
     
  16. Jun 10, 2013 #5296 of 10413
    jdwheel1

    jdwheel1 New Member

    9
    0
    Jun 1, 2003
    Texas
    I love your program and have installed the latest v1p0a version.

    If this is discussed elsewhere in the topic, I could not find it. I am trying to download, decrypt and encode episodes from my Series 4 automatically. I have set up the autotrasfer and it works fine in GUI mode but it does not work when new programs matching the criteria are added while is is running in the background.

    When looking through the log file I find that the autotransfer function finds the new programs while they are being recorded on the Elite and of course skips the transfer. 60 minutes later when it runs again, it skips the download since it "thinks" that program ID has already been transferred. It seems like an entry has erroneously been made to the already transferred file or maybe I configured the parameters wrong.

    Any advice would be appreciated.

    Maybe I should reset the timer for running the script to 1440 minutes (24 hours) and restart the service outside of prime time so there is never a conflict with recording shows. I can also manually remove the conflicting shows from the already transferred listing to test the automatic transfer.
     
  17. Jun 10, 2013 #5297 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    When shows are skipped because they are still recording there should be no entry added to auto.history file which is what keeps track of what's already been processed. Only following a successful download will entries be added there. If there is a program not being processed because of this then you can look for in in auto.history file and remove it and then next time auto transfers run it will be processed again. NOTE: When you download shows via GUI they will also be added to auto.history file and hence marked as already processed.
     
  18. Jun 10, 2013 #5298 of 10413
    jdwheel1

    jdwheel1 New Member

    9
    0
    Jun 1, 2003
    Texas
    Thanks for the FAST reply. You are right.... it is not a problem in transferring... it is the decode. In carefully reading the log file I do see that the issue is the QSFIX routine under the automated process. When I run the decrypt, qsfix, encode in GUI mode both in the "normal screen" and "Auto Transfers" all works fine. When I set it to run in the "automatic service" mode. I get an error (copied below). By the way I have upgraded to VideoReDo version 4 (version 3 is installed also) and the program config page points to the version 4 directory.

    By the way; for me to install, turn on or stop the auto service, I have to go my c:/kmttg location and "run as administrator" (will not work from the menu within the program). When I installed kmttg I don't think I had to "run ans administrator"

    Any suggestions of what I have done wrong will be appreciated. I was able to make this work on old versions of kmttg and VideoReDo.

    2013_06_10_17:33:24 NOTE: VideoRedo video dimensions filter is enabled
    2013_06_10_17:33:24 NOTE: container=mpeg, video=mpeg2video, x=1920, y=1080
    2013_06_10_17:33:24 >> Running qsfix on D:\Users\Dan\Videos\Decrypted TiVo\Mad Men - Favors (06_09_2013).TiVo ...
    2013_06_10_17:33:24 C:\Windows\system32\cscript.exe //nologo C:\kmttg\VRDscripts\qsfix.vbs "D:\Users\Dan\Videos\Decrypted TiVo\Mad Men - Favors (06_09_2013).TiVo" "D:\Users\Dan\Videos\Decrypted TiVo\Mad Men - Favors (06_09_2013).mpg.qsfix" /l:C:\kmttg\VRDLock1507694522307505763.tmp /c:mpeg /v:mpeg2video /x:1920 /y:1080
    2013_06_10_17:33:28 ERROR: qsfix failed (exit code: 0 ) - check command: C:\Windows\system32\cscript.exe //nologo C:\kmttg\VRDscripts\qsfix.vbs "D:\Users\Dan\Videos\Decrypted TiVo\Mad Men - Favors (06_09_2013).TiVo" "D:\Users\Dan\Videos\Decrypted TiVo\Mad Men - Favors (06_09_2013).mpg.qsfix" /l:C:\kmttg\VRDLock1507694522307505763.tmp /c:mpeg /v:mpeg2video /x:1920 /y:1080
    2013_06_10_17:33:28 ERROR: C:\kmttg\VRDscripts\qsfix.vbs(61, 4) WScript.CreateObject: Could not create object named "VideoReDo.VideoReDoSilent".
    2013_06_10_17:33:30 ERROR: mpeg file not given or doesn't exist: D:\Users\Dan\Videos\Decrypted TiVo\Mad Men - Favors (06_09_2013).mpg
    2013_06_10_17:33:31 NOTE: VideoRedo video dimensions filter is enabled
    2013_06_10_17:33:31 NOTE: container=mpeg, video=mpeg2video, x=528, y=480
    2013_06_10_17:33:31 >> Running qsfix on D:\Users\Dan\Videos\Decrypted TiVo\Food Network Star - Burger Bash (06_09_2013).TiVo ...
    2013_06_10_17:33:31 C:\Windows\system32\cscript.exe //nologo C:\kmttg\VRDscripts\qsfix.vbs "D:\Users\Dan\Videos\Decrypted TiVo\Food Network Star - Burger Bash (06_09_2013).TiVo" "D:\Users\Dan\Videos\Decrypted TiVo\Food Network Star - Burger Bash (06_09_2013).mpg.qsfix" /l:C:\kmttg\VRDLock6224473790413484445.tmp /c:mpeg /v:mpeg2video /x:528 /y:480
    2013_06_10_17:33:33 ERROR: qsfix failed (exit code: 0 ) - check command: C:\Windows\system32\cscript.exe //nologo C:\kmttg\VRDscripts\qsfix.vbs "D:\Users\Dan\Videos\Decrypted TiVo\Food Network Star - Burger Bash (06_09_2013).TiVo" "D:\Users\Dan\Videos\Decrypted TiVo\Food Network Star - Burger Bash (06_09_2013).mpg.qsfix" /l:C:\kmttg\VRDLock6224473790413484445.tmp /c:mpeg /v:mpeg2video /x:528 /y:480
    2013_06_10_17:33:33 ERROR: C:\kmttg\VRDscripts\qsfix.vbs(61, 4) WScript.CreateObject: Could not create object named "VideoReDo.VideoReDoSilent".
    2013_06_10_17:33:35 ERROR: mpeg file not given or doesn't exist: D:\Users\Dan\Videos\Decrypted TiVo\Food Network Star - Burger Bash (06_09_2013).mpg

    UPDATE : suggestions to read the documentation fixed all of the problems. THANKS TO moyekj
     
  19. Jun 10, 2013 #5299 of 10413
    jonathan.ibell

    jonathan.ibell New Member

    2
    0
    Jun 10, 2013
    Hi there

    I've had to reinstall my OS and therefore kmttg; I have previously had it (and TiVo Desktop Plus) working fine, though not without many hassles.

    Now... TiVo Desktop Plus is transferring material fine, however kmttg is back to its old tricks of transferring incomplete files. (Note: this is a transfer problem not a conversion issue.)

    Files transferred are small in size - most of the time around only 15KB (these files don't open at all, unsurprisingly); occasionally they've been larger, and will open but contain audio only.

    Can anyone provide some ideas as to what may be causing this problem and how to resolve it?

    Unsure if it's relevant, but my TiVos are New Zealand models.

    Appreciate the assistance.

    Cheers
    Jonathan

    Edit:

    Have confirmed a trend with the issue; whether the audio only is downloaded or if the download is a complete failure depends on the channel from which it is downloaded.

    Programmes on the HD channels (which includes dolby digital audio) - transfer with audio only
    Programmes on the SD channels (with standard audio only) - complete file failure

    Please note - I have previously been able to transfer ALL programmes, no matter what channel they've been recorded from.

    Also, even for the files that transfer with audio - it's not a playback issue, as only the audio is transferred (eg, file sizes make it very clear video isn't included). Further, files transferred via the TiVo software include video and audio and play back fine.
     
  20. Jun 10, 2013 #5300 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    You most likely need to turn on "Download TiVo files in Transport Stream format" option under kmttg config-Program Options section since I'm guessing the New Zealand broadcasts are using H.264.
     

Share This Page