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 26, 2008 #441 of 10413
    falc122727

    falc122727 Member

    147
    0
    Jan 21, 2004
    It was a codec issue. I updated the video codecs on my PC and now all is good. Thanks again moyekj.
     
  2. Dec 27, 2008 #442 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Create a file called mp2.enc with following contents under kmttg encode folder:
    Code:
    # Description (single line, keep short)
    <description>
    mpeg2 container, copy video, mp2 audio
    
    # Encode command or script (single line)
    # Known keywords: FFMPEG, MENCODER, PERL, INPUT, OUTPUT, PWD
    <command>
    FFMPEG -y -i INPUT -vcodec copy -acodec mp2 OUTPUT
    
    # Encoded output file extension
    <extension>
    mpeg
    
    NOTE: File extension needs to be different than the source .mpg file extension which is why I chose mpeg above.

    Then when running kmttg enable encode option and choose "mp2" profile. This will copy the video and convert audio to mp2.
    (You can use another name other than mp2.enc if you wish of course)
    (Be sure to restart kmttg after creating the file to see it in list or choose File->Refresh encoding profiles... to see it without restarting)
     
  3. Dec 27, 2008 #443 of 10413
    beady

    beady New Member

    60
    0
    Oct 30, 2006
    LI, NY
    Thanks for the suggestion and quick response. I got an error about encoding 6 channels is not allowed

    Input #0, mpeg, from 'M:\KMTTG Files\test.mpg':
    Duration: 02:00:01.57, start: 1.000000, bitrate: 12686 kb/s
    Stream #0.0[0x1bd]: Audio: ac3, 48000 Hz, 5:1, s16, 384 kb/s
    Stream #0.1[0x1e0]: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 14000 kb/s, 29.97 tb(r)
    Output #0, mpeg, to 'M:\KMTTG Files\test.mpeg':
    Stream #0.0: Video: mpeg2video, yuv420p, 1920x1080, q=2-31, 14000 kb/s, 29.97 tb(c)
    Stream #0.1: Audio: mp2, 48000 Hz, 5:1, s16, 64 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0
    Stream #0.0 -> #0.1
    [mp2 @ 01615010]encoding 6 channel(s) is not allowed in mp2
    Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
     
  4. Dec 27, 2008 #444 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Try adding "-ac 2" as follows:
    FFMPEG -y -i INPUT -vcodec copy -acodec mp2 -ac 2 OUTPUT
    (It's possible other audio params will be needed - I didn't test it on program with 5.1 audio)
     
  5. Dec 30, 2008 #445 of 10413
    PaulS

    PaulS Member

    674
    1
    Sep 16, 2002
    Southern NH
    Perhaps I'm missing something obvious, but is there a way to operate on tivo files that already reside on the machine running kmttg ? I'd like to perform decrypt, metadata, and comskip on tivo files that I had already transferred from my Series3 to my Windows box before I had installed kmttg. Possible ?
     
  6. Dec 30, 2008 #446 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Yes, you have to enable file browser: File-Configuration-Enable File Browser (and optionally provide default path to use when starting). Then from main window TIVO pulldown menu select FILES option and then there is an Add Files... button which brings up a browser where you can look for .TiVo or .mpg files to use as starting point.
     
  7. Dec 30, 2008 #447 of 10413
    PaulS

    PaulS Member

    674
    1
    Sep 16, 2002
    Southern NH
    Perfect! Thanks for the quick reply.


    edit : I'm encountering errors on a few files. Any ideas ?

    Code:
    *ERROR* file missing: chunk-02-0002.xml
    *ERROR* tivodecode failed (exit code: 0)
    Encryption by QUALCOMM ;)
    
     
  8. Dec 30, 2008 #448 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    I've not seen that, but perhaps some .TiVo files are missing the header portion (with all the detailed info)? Are all the .TiVo files unmodifed downloads from Tivos or were some edited with VRD or some other editor?
    kmttg uses tivodecode to extract the header portion from .TiVo file and it looks like it's missing in some of the .TiVo files.
     
  9. Dec 30, 2008 #449 of 10413
    PaulS

    PaulS Member

    674
    1
    Sep 16, 2002
    Southern NH
    It's only occurring a couple of my recordings (approximately 2 out of 20 so far), the rest appear to be processing normally. All of the recordings are unprotected HD recordings from my local PBS station, and all of the tivo files are untouched transfers from my S3.
     
  10. Jan 1, 2009 #450 of 10413
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    I get this error (Macintosh) when there are illegal characters in the file names of the TiVo show, or if my AntiVirus tries to scan the show while it's being downloaded. What are the names of your shows?
     
  11. Jan 1, 2009 #451 of 10413
    PaulS

    PaulS Member

    674
    1
    Sep 16, 2002
    Southern NH
    They're all similar to the following :

    Cliffords Puppy Days - Show and Tell What a Story_Fri_Jun_06_cut.mpg

    The individual episode names and airdates differ, but they're all just about the same. I don't see any blatantly funky characters in the titles.
     
  12. Jan 1, 2009 #452 of 10413
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Have you tried shortening the names, and/or trying them without the underscore characters?
     
  13. Jan 1, 2009 #453 of 10413
    PaulS

    PaulS Member

    674
    1
    Sep 16, 2002
    Southern NH
    Not really. Been busy with the holidays and such.
     
  14. Jan 4, 2009 #454 of 10413
    chanster

    chanster New Member

    15
    0
    Jun 25, 2008
    Hello. I have a question. this is the first time I have used this software. I downloaded kmtttg, got it installed OK, but I just asked it to download a movie from my tivo and convert it from .tivo to .mpg (no encoding). The result is that I got the file, but there is sound and no video. actually the video looks like the default screen saver or something similar.

    Question: Do I have to encode? I am trying to encode but my computer is taking forever. I mean it has taken 4 hours to encode 16% and my CPU is running at max strength. I don't know what to do.
     
  15. Jan 4, 2009 #455 of 10413
    chanster

    chanster New Member

    15
    0
    Jun 25, 2008
    To further complicate things, I got WinDVD to play the raw MPG file, but both Divx, PowerDVD and Windows Media shows no video...any thoughts????
     
  16. Jan 4, 2009 #456 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    No need to encode to a different format. It sounds like you are missing proper codecs to decode mpeg2 on your computer, so you need to install codecs such as:
    http://codecpackguide.com/klcodec416f.exe
     
  17. Jan 6, 2009 #457 of 10413
    Spenser

    Spenser New Member

    7
    0
    Sep 6, 2006
    Is it possible to run kmttg in a client/server mode? For example, have all the code and configuration files on one machine, but invoke the GUI and make configuration changes from another (a la Galleon)?
     
  18. Jan 7, 2009 #458 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    No, but a network share may accomplish what you want.
     
  19. Jan 8, 2009 #459 of 10413
    jrusch

    jrusch New Member

    16
    0
    Dec 3, 2008
    I have a question regarding the encoding profiles. I want to watch HD quality on my Macbook, but I would also like a smaller file size. Which profile would be best?
     
  20. Jan 8, 2009 #460 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    h264_med_rate will cut back file size quite significantly while keeping fairly good quality. If that's not good enough then h264_high_rate will be good for quality but won't cut down on file size very much. You can also copy one of those profiles to your own and adjust the bitrate (-b #) to something in between to trade off quality vs. size.
     

Share This Page