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. Jul 9, 2009 #1081 of 10800
    manse

    manse New Member

    11
    0
    Jan 17, 2005
    So I started fresh, downloaded a new .tivo, decrypted, did the QS Fix, popped the file into Premier Elements... and still had the audio sync problem. I then opened the file in Video Redo Suite... no problems at all. I watched the mpeg in Windows Media Player... no sync problems at all. Loaded the file up in Premier Elements... audio sync problems. (This is premier elements 3 by the way...)

    At any rate, I am cutting a DVD from Video Redo now. The previews show no sync issues. Will test the DVD, but I'm pretty sure it will be fine and my problems are with Premier Elements. I wasn't doing anything fancy with Elements to be honest. Video Redo seems a lot easier anyway so I will probably buy it and use it instead.

    One note... I didn't sign up for a trial key for Video Redo at first. So when I tried to do the QS fix in kmttg it just got to the fix part and said "queued". For like 10 minutes. Then I figured I should start Video Redo. Then it dawned on me to sign up for the key, because the popup might be screwing something up. I did that, and restarted Video Redo. Tried to run the fix again from kmttg (3 or 4 times) and it just hung every time in "queued" mode. After clicking around a lot I decided to reboot just to be safe. It turns out under a stack of windows was about 5 of those Video Redo popups... well they were popping under everything every time kmttg made the call to Video Redo for the QS fix.

    Moral of the story is to register for a trial key of video redo and install it before trying to run QS Fix from kmttg. :)
     
  2. Jul 10, 2009 #1082 of 10800
    manse

    manse New Member

    11
    0
    Jan 17, 2005
    Just an update, the DVD's came out perfect when burning with Video Redo. Something is definitely up with Premier Elements 3 and audio syncing.
     
  3. Jul 11, 2009 #1083 of 10800
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    For those looking to use the "custom" command on a Mac to extend the functionality of kmttg, I thought I might share a bit of information. It's really easy to get the custom command to launch an application or script, but how do you tell it what to do?

    For those familiar with UNIX or DOS commands, it's probably a no-brainer. Not so much with most Mac users.

    With the osascript command line, you can pass any of the "Available file args" [tivofile] [mpegfile] [metaFile] [mpegFile_cut] [srtFile] [encodeFile] to ANY scripting language on the Mac. This was designed for use with AppleScript, but will work with any Open Scripting Architecture (OSA) language. (I'm guessing perl, python, Automator actions, AppleScript, JavaScript, VBScript, etc)

    In the custom command, use:
    /usr/bin/osascript YourScriptHere [encodeFile] or one of the other keywords

    Then just write your script to do whatever you want it to do with one (or more) of the files that kmttg created for you.
     
  4. Jul 11, 2009 #1084 of 10800
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    v0p6j (07/11/2009)
    ==================

    release notes

    ENHANCEMENTS
    * Auto Transfers algorithm re-done to better optimize throughput when multiple Tivos exist on the network. No longer waits for all jobs on all Tivos to complete before launching new ones. The user specified "Check Tivos Interval" now applies independently to each Tivo.

    * Added encoding profile name to OUTPUT field in job monitor table for "encode" jobs so that you can see what encoding profile was selected for that run.

    * Added "File->Reset TiVo web server" menu item. This uses http://<ip>/TiVoConnect?Command=ResetServer which may help clear out conditions where TiVo is reporting "Server Busy" when attempting to download shows which seems to be fairly common for Series 2 Tivos.

    * Added user provided "me_zen" encoding profile which is profile for Creative Zen using mencoder.

    * Added "File->Clear all messages" menu item to clear the text message area.

    * Added SRTFILE keyword support to encoding profiles which represents full path closed captioned srt file.

    * Added new "Program Options" tab. Moved a couple of program related options under that tab and added a new "t2extract extra arguments" field where advanced users can enter optional arguments to add to t2extract program call for generating closed captions.

    * Moved "Overwite existing files" option from "General" tab to "File Settings" tab.

    * Cosmetic: Made CANCEL button background and error highlight background color a much lighter red to make it easier to read.

    FIXES
    * Prevent launch of "custom" job multiple times in Auto Transfers mode when same show is on more than 1 Tivo.

    * Make sure "atomic" job is scheduled before "custom" job.

    * Do not allow multiple encode jobs of different kinds of same source file to run at same time.

    * Prevent Configuration dialog from being resized so as to avoid layout distortion.
     
  5. Jul 12, 2009 #1085 of 10800
    ACraigL

    ACraigL Member

    699
    1
    Feb 12, 2003
    Is replacing the jar file still the "correct" upgrade method? No changes to the services or anything else to worrry about? (this is my first upgrade since finding this gem)
     
  6. Jul 12, 2009 #1086 of 10800
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    Usually it is just the kmttg.jar file that is updated. In this case there were updates to "encode" folder as well. So to be sure to always get all files upgraded unzipping over your existing installation (and allowing file overwrites) will always work.
     
  7. Jul 12, 2009 #1087 of 10800
    ACraigL

    ACraigL Member

    699
    1
    Feb 12, 2003
    Thanks -- assuming doing so will not overwrite any custom conversion profiles or other settings?
     
  8. Jul 12, 2009 #1088 of 10800
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    Settings files (specifically auto.ini & config.ini) are not part of distribution so no worries there. For encoding profiles as long as any changes/additions you make have your own encoding file names, they will be preserved as well.
     
  9. Jul 12, 2009 #1089 of 10800
    ACraigL

    ACraigL Member

    699
    1
    Feb 12, 2003
    Thanks. Makes sense. One last thing with updates.... I know my original install downloaded the companion programs (decode, handbrake, etc). Is it up to me (us) to keep these updates as well or will the jar check to see if those are the latest revs as well?
     
  10. Jul 12, 2009 #1090 of 10800
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    Currently it's a very simple check for auxiliary programs - if tivodecode not found in tivodecode folder then assume tools are not installed and prompt to download. There is no checking for later versions. Note that I don't update the tools very often anyway, but if an update is needed then I do update the tool zip file accordingly. So yes, it's really up to you if you want to keep up with latest versions of tools such as ffmpeg or comskip and of course you can always update kmttg config to point to wherever you install them, but it's really not necessary.
     
  11. Jul 13, 2009 #1091 of 10800
    bwall23

    bwall23 New Member

    73
    0
    Jun 8, 2009
    I was able to get one transfer queued and done, but after that it wouldn't transfer, giving the following error; (note, not enough posts to post url's, so I added the underscores here [--url h_t_t_p_:_/_/_])
    Code:
    >> DOWNLOADING T:\FromTiVo\The Alaska Experiment #001 - Into the Wilds (Thu Jul 09, 2009 2300 DSCHD).TiVo ...
    "C:\Program Files\kmttg\curl\curl.exe" --retry 3 --anyauth --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ItSmEmA\LOCALS~1\Temp\cookie4321646184115546707.tmp --url h_t_t_p_:_/_/_192.168.1.104:80/download/The&#37;20Alaska%20Experiment.TiVo?Container=%2FNowPlaying&id=346549 --output "T:\FromTiVo\The Alaska Experiment #001 - Into the Wilds (Thu Jul 09, 2009 2300 DSCHD).TiVo"
    Download failed to file: T:\FromTiVo\The Alaska Experiment #001 - Into the Wilds (Thu Jul 09, 2009 2300 DSCHD).TiVo
    Exit code: 2
    Warning: bad output glob!
    I reset the TiVo (the old-fashioned way, from the remote) and tried again with kmttg/curl, but got the same error. I then attempted to transfer using IE and it worked.

    I caught up on the posts since my last visit (Whew!) and think the new version has a fix for my problem by resetting the internal TiVo server. I'm trying that now...

    I installed the latest kmttg v0p6j, started it, sent the reset TiVo command, waited... (might want to put some kind of feedback on that as to whether it was succesful) about a minute, refreshed the TiVo and selected 3 programs to download.

    So far, so good. It just started download job 2 of 3, where before it would fail starting download job 2.

    UPDATE: All three jobs finished - TiVo internal server reset obviously fixed it. Will post back if further problems. Now, If only we could figure out how to transfer the tts (TiVo Transport Stream) files at light speed ;-)
     
  12. Jul 13, 2009 #1092 of 10800
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    Interesting, so I think it's pretty clear now that the reset server command does actually do something useful (seems to have fixed issues for more than 1 person now) . I assume you have a series 2 Tivo right? Note that there is no feedback given by Tivo for that reset command so I cannot give any feedback on it.
     
  13. Jul 14, 2009 #1093 of 10800
    bwall23

    bwall23 New Member

    73
    0
    Jun 8, 2009
    TiVo HD (11.0c) and it's still working, 3 more succesful transfers tonight.
     
  14. Jul 16, 2009 #1094 of 10800
    camnito

    camnito New Member

    20
    0
    Apr 1, 2009
    Hi,

    Recently, I've noticed that some of the shows that I download and re-encode as MP4's end up with the audio (AC3) out of sync (by about 0.5s or more) on the TiVo HD.

    I use VideoRedo for the QS fix and the adcut, and have tried encoding the same video with Handbrake and FFmpeg with the same results. I even tried running QS fix before and after the adcut and it didn't make a difference, as there are no audio sync issues when viewing the MPG video in VRD.

    Could this be related to pyTivo's ffmpeg? I sort of doubt it because I push the MP4's to the TiVo HD, so I don't think that pyTivo's ffmpeg does anything.

    Any insights would be much appreciated.

    Thanks,

    Cam
     
  15. Jul 16, 2009 #1095 of 10800
    fyodor

    fyodor Member

    535
    1
    Sep 19, 2006
    Hi

    I was wondering if anybody else has been able to get the Streambaby-compatible files to play in Windows 7 MC. I've created some recordings using the Handbrake HD Streamable profile that work OK from the Tivo but will not play back in MC.

    I understand that there are other profiles (e.g. Xbox) that are more likely to be compliant, but I'd prefer something that could do both (the downstairs windows computer gives me better playback quality, but I also like being able to watch from the second Tivo in the bedroom).

    I'm trying to get a sense of this is a problem particular to me.

    Thanks
    F
     
  16. Jul 16, 2009 #1096 of 10800
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    H.264 + AC3 audio in MP4 container currently is not a combination many players can handle. If you use VideoLAN VLC on your PC it is able to play back that combination without any trouble. Otherwise if you really must use Windows MC you probably need to use AAC audio instead of AC3, so for example the ff_ps3 profile will likely work (and that is still natively playable by streambaby or pyTivo push).
     
  17. Jul 16, 2009 #1097 of 10800
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    Which profiles did you try? Are there any profiles that do work for either HB or ffmpeg? I can't say I've ran into that when first fixing up the video with VRD QS Fix. Also, did you check the video after the adcut process to see if that is still in sync before encoding? In latest release there is 1 mencoder profile called me_zen. Would be interesting to see if that one also results in A/V sync issues.
    1 final cluse is while the encoding is happening double-click in job monitor to bring up stdout/stderr window and see if there are any messages about timeline problems being spit out by ffmpeg.
     
  18. Jul 17, 2009 #1098 of 10800
    zabolots

    zabolots Member

    79
    0
    May 24, 2007
    NW Chicago...
    Is there a Linux equivalent of the VideoReDo QS fix?
     
  19. Jul 18, 2009 #1099 of 10800
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    Not that I'm aware of. Back in this thread a little while a few of us searched for public domain tools to fix up issues with some recordings pulled from Tivos and none of us were able to find anything that worked well like VideoRedo. I spent a good 2 weeks searching around and trying a whole bunch of things but nothing could fix problems the way VideoRedo can. I think there is a Mac version of VideoRedo on the radar, but I doubt they will ever be a Linux version.
     
  20. Jul 18, 2009 #1100 of 10800
    stujac

    stujac Member

    2,343
    0
    Jan 26, 2002
    moykj;

    Sorry to throw this off topic a bit but I got a new Ipod Touch the other day. I've purchased some material (music videos and an episode of "Weeds") and they look fantastic on the Touch (8gb, 2nd gen, 3.0 software). I am now transferring the Letterman show with Paul McCartney (recorded in hi-def) through the kmttg program using the ipod conversion in the drop down menu. Assuming that goes well, what's next? What does the "handbrake" do?

    In my Itunes library, do I just do a File-Add Folder (or File)? Do I need to create a new playlist called video or something? My current Itunes library has no transferred shows now. How does this usually go and come out?

    Thanks much in advance,

    Stu
     

Share This Page