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. Oct 22, 2013 #5941 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
  2. Oct 22, 2013 #5942 of 10411
    BH9244

    BH9244 Member

    119
    0
    Feb 10, 2009
  3. Oct 23, 2013 #5943 of 10411
    Eyedoctor2

    Eyedoctor2 New Member

    9
    0
    Feb 11, 2005
    I switched the output on my Tivo to 720p and now I am getting 1280 x 720P recording using Slingbox Pro HD.

    Only trouble is when opening the mkv in VideoRedo I get the following error message:

    Error Opening DirectSound Audio Device Unable to play video followed by an unable to open file error.

    If I save in .ts then VideoRedo immediately crashes as you had previously posted.

    Is there a fix for this?

    Just wanted to add my gratitude to that of all others that have posted. Great program that has taken my Tivo Premiere to the next level.
     
  4. Oct 23, 2013 #5944 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Sounds like it could be a problem with missing DirectShow AC3 codecs for Windows. Are you able to play at least the sound when opening using Windows Media Player?
    Also check your VRD TVSuite version. I'm using 4.21.3.667.
    If you post a short clip somewhere I can download and try it out.
     
  5. Oct 23, 2013 #5945 of 10411
    Eyedoctor2

    Eyedoctor2 New Member

    9
    0
    Feb 11, 2005
  6. Oct 23, 2013 #5946 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    FYI, I was able to open and play this clip with VRD version I posted above. There is a short audio drop for a couple of seconds but VideoLAN VLC also had same issue so it must be part of the stream. If you don't have recent version of VRD as I posted above that would be my 1st suggestion to try. Else the VRD forums would be next place to look for help with VRD.
     
  7. Oct 23, 2013 #5947 of 10411
    schmibble

    schmibble New Member

    10
    0
    Apr 28, 2010
    I'm an old pro w/kmttg, having used it successfully on a previous desktop and currently on two different laptops. However, they're all 32-bit, and I'm just now getting around to setting up kmttg on my win7 64-bit system. I use Waterfox as my only browser on this system and so must have 64-bit java. Have also installed 32-bit java for use w/kmttg. Just today I downloaded and updated both 32- and 64bit javas, so using latest version of both as of this writing, and DL'd latest version of kmttg too, v1p0i. But for the first time ever, I've got the "nothing happening when I click" problem. In the registry I have the correct path to my 32-bit java installation in the jarfile file type identifier under shell\open\command, i.e....
    "G:\Maintenance\Misc\Java32bit\bin\javaw.exe" -jar "%1" %*
    ...but I still have the problem described on the installation page in which nothing happens when I double-click either the shortcut or kmttg.jar directly.

    Actually, "nothing happens" is not quite true. Something does happen, because the double-click causes an instance of java to show up in task manager (actually I use Process Hacker), and double-clicking on the "javaw.exe" process in Process Hacker and looking at the General tab shows as "Current Directory" the folder in which kmttg is installed. So _something_ is going on: Java starts an instance of itself and apparently knows about kmttg's folder--but apparently doesn't take the next step of starting kmttg. Any thoughts on WTH? Or am I going to have to try Tivo DesKrap?

    Edit: In case anyone's wondering, administrator privileges etc. are not a factor because on that x64 system I always run as administrator (automatically log on that way) and also have completely turned off all the other annoying security stuff. I don't get on the web much with that system--do most of my biz on the laptops, which I have set up more securely. But on the x64 system, administrator/elevation/permission issues will definitely not be the issue. Basically only Windows Firewall is on, but when that first instance of java starts up and I get the Windows Firewall dialog, I tell it to allow everything, even access in public places.
     
  8. Oct 23, 2013 #5948 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Open a "cmd" shell and execute the following in the kmttg installation directory:
    "G:\Maintenance\Misc\Java32bit\bin\javaw.exe" -jar kmttg.jar

    That should show you any Java errors that may be occurring.
     
  9. Oct 23, 2013 #5949 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    For next release I just won't use copy protect icon for copy protected shows (but will keep the darker background), so that way the icon will be the normal expected deletion icons.
     
  10. Oct 24, 2013 #5950 of 10411
    mglutz

    mglutz New Member

    33
    0
    Jan 13, 2011
    Nice. Thanks!
     
  11. Oct 25, 2013 #5951 of 10411
    schmibble

    schmibble New Member

    10
    0
    Apr 28, 2010
    OK, here's what I did: Went to the kmttg install dir and opened a command prompt, which looks like this...
    G:\InternetPersonal\kmttg_v1p0i>
    ...and then I typed exactly what you told me to, quotes & all, then pressed Enter. And again, javaw.exe starts an invisible process for itself. So nothing happens onscreen--nope, no error messages; nothing at all--but if I open up Process Hacker, cmd.exe shows a child instance of javaw.exe underneath it. (By the way, Process Hacker shows both CPU and I/O activity occurring for javaw.exe.)
     
  12. Oct 25, 2013 #5952 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    What's your java version? i.e. execute:
    "G:\Maintenance\Misc\Java32bit\bin\javaw.exe" -version

    Don't think it will make much difference but also try running java.exe instead of javaw.exe:
    "G:\Maintenance\Misc\Java32bit\bin\java.exe" -jar kmttg.jar
     
  13. Oct 25, 2013 #5953 of 10411
    cweb

    cweb New Member

    106
    0
    May 29, 2004
    I have a custom command that moves the mpeg/ts and the meta.txt files to a different directory. This has worked since way back when through version 1.0g. Since version h and i, the custom command only moves the mpeg/ts file, but not the meta.txt file. It appears that something is not working correctly with the [metaFile] variable. I am assuming (perhaps incorrectly) with the fact that in version 1.0h you fixed the issue with .ts files where the .ts's meta.txt file name now is correctly .ts.txt from the incorrect .mpg.txt.
     
  14. Oct 25, 2013 #5954 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Yes, I see the problem. Please test out the kmttg.jar in this beta version which I think fixes the issue:
    https://drive.google.com/file/d/0B0SMFC97ymdENmJvWE1DdzFSczQ/edit?usp=sharing
     
  15. Oct 25, 2013 #5955 of 10411
    schmibble

    schmibble New Member

    10
    0
    Apr 28, 2010
    Nada, zippo, zilch. Nothing whatsoever except the standard DOS response when it doesn't know what to do but neither does it perceive an error so it just pops up a new empty prompt on a new line. In Process Hacker, the command window does NOT generate a child instance of Java after this.

    If I click "About Java" in my start-menu java folder, the little "About Java" window it generates says "Version 7 Update 45 (build 1.7.0_45-b18)". This is probably the 64-bit version, but I downloaded the 32-bit version from exactly the same page at exactly the same time. In Control Panel | Programs and Features, I have two Java entries, one for just plain "Java 7 Update 45", the 32-bit version, and the other for "Java 7 Update 45 (64-bit)". At this point I'm thinking I'm going to have to uninstall both, then reinstall just the 32-bit version and see if it works normally when the 64-bit version is absent, but it'd sure be nice to avoid that type of more radical step, so maybe you can make something out of the following:

    Now at least I get an error message! Here's what the command window says:
    Code:
    ERROR: java.lang.NullPointerException
      at sun.awt.shell.Win32ShellFolder2.getFileSystemPath<Unknown Source>
      at sun.awt.shell.Win32ShellFolder2.access$400<Unknown Source>
      at sun.awt.shell.Win32ShellFolder2$2.call<Unknown Source>
      at sun.awt.shell.Win32ShellFolder2$2.call<Unknown Source>
      at java.utl.concurrent.FutureTask.run<Unknown Source>
      at java.utl.concurrent.ThreadPoolExecutor.runWorker<Unknown Source>
      at java.utl.concurrent.ThreadPoolExecutor$Worker.run<Unknown Source>
      at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run<Unknown Source>
      at java.lang.Thread.run<Unknown Source>
    Note that, as before, a child instance of running java complete w/CPU and I/O activity is generated under the command-prompt window entry in Process Hacker. And when the Windows Firewall dialog popped up in response, I checked both boxes, telling it to allow everything.
     
  16. Oct 25, 2013 #5956 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Looks to me there are issues with latest Java release. The exception dump doesn't even point to any code in kmttg so it's not even starting kmttg before it crashes.
    Install an older version of Java such as Version 7 Update 40 or earlier and you shouldn't have any problems.

    For version checking I gave you wrong command, you have to use java.exe, not javaw.exe, so:
    "G:\Maintenance\Misc\Java32bit\bin\java.exe" -version

    (FYI I was able to run kmttg using Version 7 Update 45 on a Windows XP machine, but would still suggest you try an older version anyway).
     
  17. Oct 25, 2013 #5957 of 10411
    schmibble

    schmibble New Member

    10
    0
    Apr 28, 2010
    Under java 7 update 40, same exact problem with exact same symptoms except now when I start a command prompt from the kmttg folder and run "..\bin\java.exe" -jar kmttg.jar , I get the message that it's "not recognized as an internal or external command, operable program or batch file." This is without any version of x64 Java on the system, so no interference from that quarter. Unfortunately, however, the problem may now be my fault. I manually removed a bunch of registry entries after uninstalling 7u45, before installing 7u40. I made sure only to delete items that pointed to the old installation folder (I decided to switch locations and didn't want anything left over), but I subsequently uninstalled 7u40 and tried 6u30 with the same result, so it looks like I bolloxed things up. Problem is, if you leave those useless entries hanging around, sooner or later they bollox things up anyhow.

    At the moment I'm going to have to give it up as a bad job. For a while now I've been hankering to reconfigure up the system by restoring my last OS image and redoing various installs, and maybe in another few weeks I'll get some time and be able to do that. The image has an older version of java (whatever was current about 6 months ago), so that'll be a good (and clean) test of your problematic-7u45 theory.

    When I do that, though, it occurs to me that there's going to be a problem with 64-bit apps. If the main jarfile file identifier must point to the 32-bit java installation in order for the kmttg desktop shortcut to work, then x64 java apps won't run from shortcuts--right?
     
  18. Oct 25, 2013 #5958 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Must be your local system related issues. I've now installed and able to run kmttg using JRE version of Java 7 Update 45 on 3 different Windows systems: XP, Vista, 7
     
  19. Oct 26, 2013 #5959 of 10411
    cweb

    cweb New Member

    106
    0
    May 29, 2004
  20. Oct 27, 2013 #5960 of 10411
    Revolutionary

    Revolutionary Too sleepy for TV...

    575
    0
    Dec 1, 2004
    Virginia
    Downgrading from Update 45 to Update 40 fixed the "service won't start" problem for me (Windows 7 64-bit).

    New one: any idea why my encoded recordings suddenly are dumping in the default folder and not in the folder I've designated as the target in KMTTG? I'm using FFMPEG and haven't changed any settings in KMTTG. It's been working properly for months and months, then all of the sudden, the mp4 files are not getting written to the target directory. Nothing in the log file - no "directory not found" errors or anything like that. It doesn't even try.
     

Share This Page