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. Aug 16, 2013 #5541 of 10413
    mattack

    mattack Active Member

    20,743
    4
    Apr 9, 2001
    sunnyvale
    Seems to me that's a lot of work. Based upon what *others* have said, if you upload the files back to the Tivo in "Transport Stream format", then they will still have the captions that they had originally.

    I realize that's different from having open (burned in) captions, but maybe that will solve your issue?

    I've wondered about trying that too (download things in transport stream, DON'T decode, and then find out how to set the GUI pytivo front end I use to use transport stream).
     
  2. Aug 16, 2013 #5542 of 10413
    wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    alexofindy: Since in this case the files were already downloaded as program streams, you should decrypt them, then just allow pyTivo to send them back as transport streams, using the ts = on option. (It won't remux .TiVo files, so you'll have to decrypt them first.)

    mattack: pyTivo will send transport-stream-mode .TiVo files back in their original format regardless of the ts setting.
     
  3. Aug 16, 2013 #5543 of 10413
    mattack

    mattack Active Member

    20,743
    4
    Apr 9, 2001
    sunnyvale
    OK, so then my GUI PyTivo will probably "just work"? I should try turning ON transport mode and turning OFF decrypt in kmttg, just so I can send a show back to the Tivo... for experimentation. For shows that I'm downloading to "offload", that's better.

    (Because tivodecode doesn't work for most TS shows.. I should try the patch mentioned earlier in this thread.. I think it was an earlier version I tried once, that would just crash for me.)
     
  4. Aug 16, 2013 #5544 of 10413
    moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    To add hardcoded subs from srt file:

    handbrake: add following to an existing kmttg profile:
    -vf subtitles=SRTFILE

    ffmpeg: add following to existing kmttg profile:
    -i SRTFILE -scodec mov_text

    If your goal is to send back to TiVo, a better option if you have VideoRedo is you can save as transport stream mpeg2 file and they send back to TiVo using pyTivo with "ts=on" option in video section of config. There is a bug with series 4 software where mpeg2 program stream container kills captions, but transport stream container does not.

    (I'm not sure if simply using ts=on with pyTivo to pull existing mpeg2 program stream container file will work as ffmpeg may throw out the captions when remuxing. I know that VideoRedo does preserve captions when remuxing, hence the above suggestion).
     
  5. Aug 16, 2013 #5545 of 10413
    mattack

    mattack Active Member

    20,743
    4
    Apr 9, 2001
    sunnyvale
    You're repeating what I said!
     
  6. Aug 16, 2013 #5546 of 10413
    moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    You didn't mention specifically how to remux from mpeg2 program stream format to mpeg2 transport stream format in a way that preserves the captions in format TiVo likes. It's possible ffmpeg via pyTivo with ts=on can do it directly, but I KNOW that going VideoRedo route works for sure.
    (Also it took me a while to post since I had to look up and try up the ffmpeg hard sub option, so I sat on my response a long while before posting and didn't yet see your post).
     
  7. Aug 16, 2013 #5547 of 10413
    mattack

    mattack Active Member

    20,743
    4
    Apr 9, 2001
    sunnyvale
    OK, then I apologize.

    So I *can't* just keep the .Tivo file and have it never decoded? I thought I could do that.
    i.e. decode in TS and leave it that way.

    But are you claiming that *without* tivodecode for TS, I could download (in non-TS), and still have the program then re-uploaded in TS so I *would* still have captions?
     
  8. Aug 16, 2013 #5548 of 10413
    moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    No, if your .TiVo files are PS container then you have a problem since you need to convert to TS container in a way that preserves captions before sending back to series 4 TiVo.

    If you are just using your computer for long term storage with goal of going back to a series 4 TiVo then just download in TS format and keep it as TS .TiVo. Then as wmcbrine mentioned you can then send it back using pyTivo (with or without ts=on) and captions will work fine. Problem with TS .TiVo files is that without VideoRedo there is really nothing further you can do with them as there isn't a tivodecode version that works reliably to decrypt them. Some people apparently have some success decrypting TS .TiVo files with tivodecode 0.4.4, but I never had any luck with it - it either fails right away or if it doesn't fail then typically there will be sections with heavy macroblocking that weren't decrypted properly.

    So problem only really comes about if you already have PS .TiVo files or want to encode to some other format with captions to send back to a TiVo series 4 unit. Using VideoRedo is really only good option for that.
     
  9. Aug 16, 2013 #5549 of 10413
    alexofindy

    alexofindy New Member

    58
    0
    Apr 15, 2010
    Thanks, all.

    I have previously tried some of the suggestions.

    I'm pretty sure I found that pyTivo won't send the .Tivo program stream files back to the Tivo unless I first decrypted them. I think I also had to re-encode them. Also, even after I got them into a form that I could send back to the .Tivo with captions, with ts=on, the captions were corrupted - they were recognizable, but had many text errors. I'm leaving out details here, as I don't have my notes handy, but although it seemed like it should work, it just didn't.

    On the other hand, if I decrypt the files and then run ccextractor either directly or using kmttg as a front end, the captions are uncorrupted.

    I think burning them into the video using moyekj's syntax is my best bet. kmttg can do this in one step. If that doesn't work, I'll try a trial of videoredo, and purchase the program if that is successful.

    moyekj: does it matter where in the command line of the encoding profiles I put the strings you mention? Is just before the "OUTPUT" OK?
     
  10. Aug 17, 2013 #5550 of 10413
    moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    ffmpeg may be picky about it. Put it right after -i INPUT to be safe (that's what worked for me). For handbrake I put it before -o OUTPUT.
     
  11. Aug 17, 2013 #5551 of 10413
    nooneuknow

    nooneuknow TiVo User Since 2007

    3,554
    0
    Feb 5, 2011
    Cox Cable...
    I forget...

    Which one did the Premiere (Series 4) introduce, TS or PS? I know TiVo desktop has an option to transfer in a mode that either works with Premiere-only, or a mode that works with the HD/S3 as well, but it doesn't say TS/PS...
     
  12. Aug 17, 2013 #5552 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,736
    8
    Apr 6, 2000
    SF Bay Area
    TS, which is Transport Stream.

    PS or Program Stream is the older form.
     
  13. Aug 17, 2013 #5553 of 10413
    TimothyGraham

    TimothyGraham New Member

    4
    0
    Mar 31, 2013
    KMTTG seems to be working great on my Mac. One question, is there an option to correct deinterlacing while converting a .tivo file.
     
  14. Aug 17, 2013 #5554 of 10413
    wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    It doesn't. But, the captions seem to be corrupted, as noted by Alex. :(

    Incorrect. Unless you were using a broken version of pyTivo, like the old "Windows Installer" that won't go away. <sigh> But that version wouldn't do ts=on, either.
     
  15. Aug 17, 2013 #5555 of 10413
    True Colors

    True Colors Member

    482
    0
    Oct 18, 2006
    One of the coolest features in kmttg used to be the ability to start a download from a paused point in a recording.

    Some time back, kmttg lost this functionality(at least with Tivo premieres it did).

    Will this functionality be coming back someday? If so, is there a timetable for this?

    I updated to the most recent version of kmttg today but it still will not allow me to do this.

    Thanks,

    TC
     
  16. Aug 17, 2013 #5556 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,736
    8
    Apr 6, 2000
    SF Bay Area
    I believe it happened when there was an update on the Premieres to 20.3 and a bug broke that feature. It does not happen on earlier Tivos prior to Premiere.
     
  17. Aug 19, 2013 #5557 of 10413
    resildoc

    resildoc New Member

    32
    0
    Oct 12, 2011
    Hi, Love and have used kmtgg, but in the pull downs menu, which encoding profile should I use for hd shows to maintain optimal audio playback once decrypted? Warmly, Joel.
     
  18. Aug 19, 2013 #5558 of 10413
    c293716

    c293716 New Member

    29
    0
    May 15, 2004
    I am having the exact same problem...I looked through the thread but did not find a solution. I don't see how, if kmttg is decrypting it to mpeg2 with the tivodecode binary, how it can NOT be in the proper format needed to run qsfix?
     
  19. Aug 20, 2013 #5559 of 10413
    resildoc

    resildoc New Member

    32
    0
    Oct 12, 2011
    Hi, Love and have used kmtgg, but in the pull downs menu, which encoding profile should I use to decrypt hd shows and maintain optimal hd/audio playback?Thanks so much!! Joel.
     
  20. Aug 20, 2013 #5560 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,736
    8
    Apr 6, 2000
    SF Bay Area
    There are no profile for decrypting, just check on the "Decrypt" box and it will decode and convert to .mpg.

    The encoding profiles is for converting to another format such as .mp4.
     

Share This Page