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. Apr 2, 2011 #3101 of 10413
    lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    Horrible! Lousy! Worst thing I've ever seen! :)

    Seriously, it seems extremely nice so far. The ability to simultaneously transfer from more than 1 TiVo at a time from a single application instance is a definite plus, as is a single transfer status window. Currently I have to run three separate instances of TyTool to transfer simultaneously from all three TiVos. It's also a plus it runs natively under Linux, rather than needing wine. There doesn't seem to be anything goofy about its features, which is saying quite a lot by comparison to many other programs out there. Now that I am able to transfer .TiVo files from my TiVos, I am very seriously considering moving to this platform. One very tiny thing: I think I would prefer an ordinary font (just like the one in the Messages window) in the Start and Cancel Jobs windows. Considering that's my only nit, and it's a really, really tiny one, I think you can be well satisfied with your work.

    That is, once you fix the damn font, of course! :D

    Very nice, indeed. :up::up:
     
  2. Apr 2, 2011 #3102 of 10413
    lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    OK, I have a question / request. I'm running kmttg under Linux, and while comskip runs fine under wine, I haven't been able to get VideoRedo to run under Linux, or at least not the Debian "Squeeze" distro - which doesn't support the latest vesion of wine. I've hammered on both the principle wine developer and the Debian wine maintainer to no avail. I would like to run a QSF-like utility on the output file. Of course, I can always run QSF itself from VRD in Windows, but I would rather it happen automatically and before I run VRD. Does anyone know of a Linux based utility comparable to QSF?
     
  3. Apr 2, 2011 #3103 of 10413
    lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    OK, I have another question / request. The TiVoWebPlus Delete option does not seem to be working. I have the option enabled and I have it checked in the GUI. I have verified that TWP is working on all three TiVos. When I select a show to transfer, however, no TWP Delete task is created as I would expect it to be, and the show is not deleted after it is transferred and converted to .mpg. Is there something else I should be doing?

    In addition, I would like to request to have a function added that would allow the user to delete the selected program(s) without transferring them. Of course, I can always go to TWP, TyTool, or even to the TiVo itself to delete programs I don't need, but it would be nice to be able to do it right from kmttg.
     
  4. Apr 2, 2011 #3104 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    31
    Jan 23, 2006
    Mission...
    I don't have a hacked TiVo so can't test TWP delete myself - I implemented it a while back by user request. But did you read the balloon help on that setting related to having to restart kmttg for it to become active? So I guess 1st things 1st see if the delete actually works following download & decrypt before I even look into adding direct deletion option.
     
  5. Apr 3, 2011 #3105 of 10413
    lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    Yeah, it's been restarted. There's another job processing right now. Once it is done I will confirm the result. In the mean time, some possibly relevant items:

    I have metadata, decrypt, TWP Delete, and Ad Detect all checked.

    Under <Program Options> I have both "Enable TivoWebPlus Delete Task" and "Combine download and tivodecode decrypt" checked.

    For some reason, one of the TiVos is not currently responding to kmttg. Kmttg times out with an error from Curl and an exit code of 35 when it attempts to read the NPL on that TiVo.

    Comskip is running under wine, but not quite perfectly. The server is headless, so all access is via an X-server. As it happens, the developer of the X-server I am using refuses to implement MIT-SHM, so wine spits out a couple of error codes while comskip is starting. It looks like maybe kmttg thinks comskip is failing when it is not. It actually seems to be running and completing just fine.

    The TWP version I am using is 2.1.b3.
     
  6. Apr 3, 2011 #3106 of 10413
    lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    Going back to my original query, even if the communications with TWP are broken, shouldn't kmttg create a "twp_delete" job after the "download_decrypt" job and then show an error if it fails? Kmttg is not creating any "twp_delete" job.
     
  7. Apr 3, 2011 #3107 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    31
    Jan 23, 2006
    Mission...
    Checking code I can see where it would not execute. Since I never use TWP I don't think about it so the combined download/decrypt jobs don't call TWP as is the case for just decrypt. I'll have to add the code to those.

    comskip never gives a 0 exit code so kmttg doesn't check that. It does check if comskip output file (.edl if kmttg not configured for VideoRedo) exists and is not empty however, so sounds like that file is not getting created. Make sure comskip setup is configured to create .edl file.
     
  8. Apr 3, 2011 #3108 of 10413
    lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    So, if I understand you, I take it if I did not have the "Combine download and tivodecode decrypt" box checked it should work, and that you intend to update the code so it will?

    Oh! When I edited the comskip.ini file to produce .vprj files, I assumed I the .edl output was not needed, so I disabled it. I take it kmttg checks for the file at the end of process? The reason I ask is I am going to add some lines to my cron script that cleans up the unused files, in particular the .log, .txt (not the metafile - .mpg.txt), and .edl files. If I have to wait for kmttg to finish, then I have to add a little intelligence to the script.
     
  9. Apr 3, 2011 #3109 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    31
    Jan 23, 2006
    Mission...
    Correct. There is a beta version of kmttg.jar for you to try here. In addition to adding TWP delete support for the combined download/decrypt tasks also adds direct delete from table: select the items in the table and the use 'delete' keyboard button. As I said I don't have TWP capability so can't test if it works.
     
  10. Apr 4, 2011 #3110 of 10413
    lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    Very cool. Thank you! The immediate delete works like a charm. I'm loading a couple of shows right now. We'll see if they get deleted.
     
  11. Apr 4, 2011 #3111 of 10413
    lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    Deleting after download & decrypt works, too.
     
  12. Apr 11, 2011 #3112 of 10413
    cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    So I have the following -
    C:\kmmtg\Encode\Shows
    Where shows is any of the following: House, Big bang Theory, Rules of Engagement, etc

    After these files are encoded I would like a weekly/nightly script to run to move the file to a new share folder say
    E:\TV Shows\Shows
    Where shows is any of the following: House, Big bang Theory, Rules of Engagement, etc
    Is there a simple script to do this or do I have to write code for each show?
     
  13. Apr 11, 2011 #3113 of 10413
    danterner

    danterner Not it!

    10,610
    0
    Mar 4, 2005
    Greenacres, FL
    I do this using http://www.therenamer.com - while its primary purpose is to automatically rename files (which I do so they'll be recognized by my Boxee), it has a "fetch" mode that can grab the files from one directory (including subdirectories) and put them in another. I set up a recurring task via Windows task manager to do this daily without any intervention on my part.
     
  14. Apr 11, 2011 #3114 of 10413
    cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    Great I will give that a try and see if it works.
     
  15. Apr 11, 2011 #3115 of 10413
    danterner

    danterner Not it!

    10,610
    0
    Mar 4, 2005
    Greenacres, FL
    On second thought, if all you want to do is have your encodes go somewhere else, why not just set your kmttg encode directory accordingly, in the configuration prefs?
     
  16. Apr 11, 2011 #3116 of 10413
    mgudites

    mgudites New Member

    14
    0
    Aug 21, 2010
    Just got this installed -- first let me say thanks to whoever created it, I've been looking for something like this!

    However, having an issue, not sure where to start. So far I have downloaded 3 different shows and on each, I'm having the same problem. At first, it's fine, but then partway through the show, the audio/video go completely out of sync. And not just a little, but 3-5 seconds out of sync. It seems to happen consistently. However, on the TiVo, they look fine. Where should I begin to troubleshoot?

    In case it's of any help:

    • Installed on a Mac Mini
    • TiVo is a new Premier
    • "Download TiVo files in Transport Stream format" is OFF
    • NOT using Ad Cut
    • "Metadata," "Decrypt," and "Encode" boxes are checked.
    • Encoding using the "ff_ipad" format.
     
  17. Apr 12, 2011 #3117 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    31
    Jan 23, 2006
    Mission...
    http://www.tivocommunity.com/tivo-vb/showthread.php?p=8428860#post8428860
    Since you are using a Mac though there is no native VideoRedo executable that runs on Mac.
    Some have had better luck using Hanbrake profiles as Handbrake does a better job of trying to keep A/V sync with glitches, but it's still not 100%.
     
  18. Apr 12, 2011 #3118 of 10413
    cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    Yes that would work as well. I will have to try it out.
     
  19. Apr 13, 2011 #3119 of 10413
    cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    Ok I did a few test runs and that will work.

    On another note what encode setting do people like to use? I would like to reduce original size of file and still have good video quality. Say a 1/2 show is 2gb I would like to try to cut it down to say 1gb ish range and still keep the video quality.
     
  20. Apr 13, 2011 #3120 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    While I don't re-encode recordings from TiVo, I've reduced my internet video harddrive footprint by about 50% overall* by transcoding to h264/ac3/mp4 by using ffmpeg+x264, specifying -crf 20 in the x264 options. Using h264/ac3/mp4 also gives me the ability to stream without transcoding when using StreamBaby, and to "PUSH" without transcoding when using pyTivo.

    I could take a closer look at the specific mpegs I've converted to see what standard they were (TiVo uses mpeg2), and what space savings were gained. Most of the other downloads were a mix of DivX, XviD, or some form of Windows Media.

    *Some of the files I converted ended up bigger than the original files when using -crf.
     

Share This Page