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. Dec 14, 2009 #1621 of 10412
    neo_sapien

    neo_sapien New Member

    31
    0
    Dec 14, 2009
    I'm new at using kmttg and just got a TiVo HD on black friday. Last night, I tried to test it out by transferring an episode of The Simpsons in HD, but it crashed on comcut. A windows error message popped up, saying that "MPlayer - Movie Player has stopped working". That's funny, I wasn't even running Mplayer. Here's the full error log:

    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: mencoder.exe
    Application Version: 0.0.9.0
    Application Timestamp: 470b8091
    Fault Module Name: mencoder.exe
    Fault Module Version: 0.0.9.0
    Fault Module Timestamp: 470b8091
    Exception Code: c0000005
    Exception Offset: 00038aed
    OS Version: 6.1.7600.2.0.0.256.1
    Locale ID: 1033
    Additional Information 1: eb00
    Additional Information 2: eb00be95774d984061da9a7940efd522
    Additional Information 3: 40da
    Additional Information 4: 40da808c12dab05d5dd3e141925c273b
     
  2. Dec 14, 2009 #1622 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    That's likely problems in the TiVo HD recording which need to be cleaned up before you can do any further processing beyond decrypt. For TiVo HD recordings if you plan on doing any further processing beyond decrypt you really need to have VideoRedo available to be able to clean up the glitches so that subsequent processing will work.
     
  3. Dec 14, 2009 #1623 of 10412
    neo_sapien

    neo_sapien New Member

    31
    0
    Dec 14, 2009
    You mean, using VideoReDo's Quickstream Fix?
     
  4. Dec 14, 2009 #1624 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    That's odd that curl puts out url encoded Chinese as output file name which is I think where all the problems stem from. It's clear from the --output string that the intent is to save to disk using original Chinese characters. Are you using Windows? Does it support file names with Chinese characters?
    A while back there were some issues with Spanish character support which were fixed. From what I recall the output file names were not url encoded in that situation, so the special characters were part of file names.
     
  5. Dec 14, 2009 #1625 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Yes. Also, if you setup kmttg for VideoRedo it will use it for Ad Cut stage as well instead of mencoder.
     
  6. Dec 14, 2009 #1626 of 10412
    neo_sapien

    neo_sapien New Member

    31
    0
    Dec 14, 2009
    I put the decrypted .mpg file through VideoReDo quickstream fix, then tried running comskip and comcut on the fixed .mpg file. Same exact error.
     
  7. Dec 14, 2009 #1627 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Setup kmttg with location of your VideoRedo installation. It will then use VideoRedo for the cuts instead of mencoder. (Then you can enable VRD QS Fix task as well in the future to avoid having to do that manually).
     
  8. Dec 14, 2009 #1628 of 10412
    neo_sapien

    neo_sapien New Member

    31
    0
    Dec 14, 2009
    I tried that earlier today, and received errors.

    I spent an hour or two this morning googling the error messages, and tried some of the solutions in this thread, but was unable to get VideoReDo to work cutting commercials in kmttg. I did run VideoReDo in administrator mode first. I couldn't figure out how to run kmttg in administrator mode, since it's a .jar file and not an .exe file.
     
  9. Dec 14, 2009 #1629 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    To run as Administrator you can make a kmttg.bat file with the following:
    Code:
    @echo off
    java -jar kmttg.jar
    
    Then you can run kmttg.bat as Administrator. Not sure it will fix the issue but worth a shot I suppose.

    One other thing to try is at least temporarily disable UAC and try it again.
     
  10. Dec 14, 2009 #1630 of 10412
    neo_sapien

    neo_sapien New Member

    31
    0
    Dec 14, 2009
    For some reason, I wasn't able to run kmttg.jar using that .bat file. It would immediately close, or maybe it wasn't starting up. But, I started cmd.exe in administrator mode and manually navigated to the folder and started kmttg.jar, and now kmttg seems to be working right. It automatically performs the VRD QS fix and the Ad Detect, then launches VideoReDo for you to manually confirm the ad cuts and save the new video. Success! Thank you for your help moyekj :D

    I wonder if there is some easier way to start kmttg.jar in administrator mode than to open cmd.exe in administrator mode and start it from there.
     
  11. Dec 14, 2009 #1631 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Probably java is not in your PATH. In the .bat file change "java" to the full path to java.exe executable and it should work.

    Also now that you got it working it could well be you no longer have to run anything as Administrator anymore...
     
  12. Dec 14, 2009 #1632 of 10412
    neo_sapien

    neo_sapien New Member

    31
    0
    Dec 14, 2009
    Yes, putting in the entire path to java.exe and to kmttg.jar worked, but I still have to run as administrator. Good enough for me. Thank you again for your help!
     
  13. Dec 14, 2009 #1633 of 10412
    theodolite

    theodolite New Member

    8
    0
    Dec 3, 2009
    My environment is Mac OS X 10.6.2. It should support file name in UTF-8.
     
  14. Dec 14, 2009 #1634 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    So can you create a file name with Chinese characters similar to one you posted? I don't use Mac so can't test myself...
    Assuming it's even possible then the next question is why curl isn't doing it...
     
  15. Dec 14, 2009 #1635 of 10412
    jfh3

    jfh3 New Member

    4,469
    0
    Apr 15, 2004
    Denver area
    OK, I'm lost. New install of kmttg on Windows 7 (64 bit). I can't get any sound out of the resulting mp4 files using Windows Media Player. Sound is find using VLC, just not WMP.

    VLC says the codec is a52 - how do I get WMP to play it?

    (I've searched for about an hour, tried installing various codecs, but no luck. I do have ac3filter which I needed to play TV captured from an HDHomerun box.)
     
  16. Dec 14, 2009 #1636 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    I assume you are using one of the encoding profiles that outputs mp4 with H.264 & AC3 audio right? I don't think there is a codec for WMP that will work. AC3 audio in mp4 container is relatively new to mp4 specs and not many players/decoders can handle it. As you have discovered VLC can without a problem and of course Series 3 TiVos can handle them natively as well.
    If you really want/need something that works with WMP and TiVo you can use AAC audio instead, however TiVo only properly outputs stereo AAC audio, so if you want 6 channel audio then AC3 is really the only way to go.
     
  17. Dec 14, 2009 #1637 of 10412
    jfh3

    jfh3 New Member

    4,469
    0
    Apr 15, 2004
    Denver area
    Thanks.

    I am using ff_tivo_hd as I really didn't know which one to pick (all I have left are TivoHD boxes). It looks to me that it supports H.264 and AC3.

    If I can't use an mp4 file in WMP, what should I use to encode to get a smaller filesize than the mpg file and still use AC3 audio?

    Since the output I want is really for WMP, I guess there isn't any reason I can't use AAC, since I won't move those files back to a Tivo, just play them on a PC.
     
  18. Dec 14, 2009 #1638 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Try the ff_ps3 profile. That is mp4 with H.264 video and AAC audio which WMP should be able to handle without a problem. It should generate a smaller file size than original TiVo recording (at least compared to HD recordings) while preserving fairly decent quality.
     
  19. Dec 14, 2009 #1639 of 10412
    jfh3

    jfh3 New Member

    4,469
    0
    Apr 15, 2004
    Denver area
    Thanks. Just saw that one and trying it now.
     
  20. Dec 15, 2009 #1640 of 10412
    waynomo

    waynomo My One Time TCF Club

    12,053
    36
    Nov 9, 2002
    Seven...
    Hi moyekj - Thanks again for KMTTG, the hard work, and the hours you have dedicated to this project.

    I do have one problem that pops up intermittently but consistently. Every now and then a transfer will fail immediately. Last night I selected a handful of programs to transfer. The first three transferred with no problem. The fourth one failed immediately after creating a file on my pc of 73 bytes. (That seems to be the magic number after observing two failures.) The next program and subsequent ones transferred with no problem and another is transferring right now. I just need to pay attention to the output and realize when this happens. Then all I need do is delete the bad transfer file and reselect and all works. I have never had a transfer that failed in this manner fail a second time. This happened when using the old Perl version and now with kmttg v0p7c.

    Here is the output:
    >> DOWNLOADING C:\Documents and Settings\WLB\My Documents\My TiVo Recordings\Gangs of New York\Gangs of New York .TiVo ...
    "C:\Program Files\KMTTG\kmttg\curl\curl.exe" --retry 3 --anyauth --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\WLB\LOCALS~1\Temp\cookie5718520455750369306.tmp --url http://192.168.1.5:80/download/Gangs of New York.TiVo?Container=/NowPlaying&id=2419302 --output "C:\Documents and Settings\WLB\My Documents\My TiVo Recordings\Gangs of New York\Gangs of New York .TiVo"
    C:\Documents and Settings\WLB\My Documents\My TiVo Recordings\Gangs of New York\Gangs of New York .TiVosize=0.00 MB elapsed=00:00:01 (0.00 Mbps)
    ---DONE---
     

Share This Page