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 7, 2009 #1581 of 10413
    Hcour

    Hcour Member

    870
    11
    Dec 24, 2007
    The new font size option is perfect. Very cool. Thanks again!
     
  2. Dec 7, 2009 #1582 of 10413
    Stormspace

    Stormspace Electrocuted by TiVo

    5,171
    0
    Apr 13, 2004
    Hartsville, SC
    Anyone have this working on Linux? How about an install guide? :)

    Nevermind.
     
  3. Dec 7, 2009 #1583 of 10413
    Zaphod

    Zaphod Member

    133
    0
    Feb 17, 2003
    Des Moines,...
    I've just started playing with this. I'm making archive DVD's of a few of my favorite old TV shows that I'm now recording on my Tivo HD. I had been using just Tivo Desktop standard and Tivo Decoder GUI but now that I see this, I can do that in one step instead of having to manually run Tivo Decoder GUI, so I love the idea!

    So my initial attempt was to just set up auto-transfers with only the decrypt option selected so I ended up with just the .mpg file. That in and of itself is all working fine.

    My issue is, even with the Tivo Decoder GUI before, the software I want to use to make my DVD's doesn't recognize some of the .mpg files. It's about half and half (over the many episodes of the show). Some it recognizes fine, others it can't handle.

    So, I want to reencode the files into another format that hopefully my DVD authoring software will recognize. I DON'T care about pushing these back to my Tivo.

    Sorry, I'm not that familiar with different formats and encoding schemes and all the different possible settings for bit rates and what not.

    So, in kmttg, what "Encoding Profile" should I select to simply transcode them into another format with no (or as little as possible) loss in quality? Oh, the files I'm transferring from the Tivo are HD files, 1920x1080 resolution.

    Thank you.
     
  4. Dec 7, 2009 #1584 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    That's odd. Do you have VideoRedo by any chance? Running the trouble mpegs through VideoRedo Quickstream Fix may fix the issue. If you don't have VideoRedo there is a fully functional trial version you can try out.
    Given that the ones that are not working with your DVD software likely have glitches in them (that VideoRedo would clean up) then if you were to pursue the re-encode workaround the glitches would also present problems there as well which is why I suggest trying VRD QS fix first.
     
  5. Dec 8, 2009 #1585 of 10413
    Zaphod

    Zaphod Member

    133
    0
    Feb 17, 2003
    Des Moines,...
    Tell me about it (being odd). The files play just fine in Windows Media Player, but the DVD authoring software just can't understand them. When I try to select one and play it, I do get audio but just a blank black screen for video. The vendor has no ideas and suggested the reencoding. They suggested converting the to an .avi file.

    No, I don't have VideoRedo. I really don't want to have pay extra for this if I don't have to. I'll try the free version and see if that Quickstream fix take care of it though. If that works, will the free "trial" version work indefinitely, or is it time bombed? I' really don't plan to spend money on it even if it does work.

    I've tried various reencodes within kmttg and after reencoding, the DVD software does recognize them and plays them fine. I just don't know which Encoding Profile I should use to most closely match the original with the least amount of loss of quality.
     
  6. Dec 8, 2009 #1586 of 10413
    Zaphod

    Zaphod Member

    133
    0
    Feb 17, 2003
    Des Moines,...
    I guess I should have just tried it before I replied. I didn't think I'd try it 'til tomorrow but I went ahead and downloaded the trial right after I posted my last message.

    It appears the Quickstream Fix does the trick. Although, the outputted file is less than half the size of the original file. Are you sure we're not losing quality there?

    But still, I don't want to pay the extra for VideoRedo, so back to the original question, within kmttg, what Encoding Profile should I choose to have the reencoded as close to the original as possible with as little loss of quality as possible? Or if I should create my own profile for that purpose, what settings would I use?

    Thanks again!
     
  7. Dec 8, 2009 #1587 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    Ah, ok, I don't have tivo desktop installed anymore. I uninstalled it when I did the upgrade to win7. The win7 upgrade warned about it, and the newer tivo desktop wasn't available at the time, though I'm pretty sure it is now. Is it worth doing for this?

    -David
     
  8. Dec 8, 2009 #1588 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    I don't like to have full blown TiVo Desktop installed. However what you can do is once you install it and enter your MAK ID you can then uninstall it and it gives you the option to preserve enough files to play back .TiVo files. By doing that it keeps the TiVoDirectShowFilter.dll file installed and registered which is all that is needed for VideoRedo to be able to decrypt .TiVo files.
    So I think it is worthwhile having just the DirectShowFilter installed since it can save some time in kmttg by combining decrypt & qsfix into 1 step. Also useful to sometimes be able to play a .TiVo file using Media Player.
     
  9. Dec 8, 2009 #1589 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Well given that VRD fixes the problem indicates that there are some glitches in the original recording (which is pretty common for digital cable recordings). Therefore there's a good chance whatever re-encode you do may have A/V sync issues or worse. However, you may try something like below to see if it helps (leaves video quality intact, re-encodes audio and re-muxes video & audio together):

    Create a .enc file in the kmttg encode folder for example called me_remux.enc with the following contents:
    Code:
    # Description (single line, keep short)
    <description>
    mpeg2 remux: copy video, re-encode audio
    
    # Encode command or script (single line)
    # Known keywords: FFMPEG, HANDBRAKE, MENCODER, PERL, INPUT, OUTPUT, PWD, CPU_CORES, SRTFILE
    <command>
    MENCODER INPUT -ovc copy -oac lavc -lavcopts acodec=ac3:abitrate=192 -vf harddup -of mpeg -o OUTPUT
    
    # Encoded output file extension
    <extension>
    mpeg
    
     
  10. Dec 8, 2009 #1590 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...

    That's a great idea. Thanks for the detailed info. Trying it all now.

    -David
     
  11. Dec 8, 2009 #1591 of 10413
    alancommike

    alancommike New Member

    3
    0
    Apr 21, 2007
    With the latest *7f, if I just download a .Tivo file without decoding, I'm not getting a metadata file. Error is as such:

    metadata files setting=last but file(s) not available for this task set​

    Probably something broke with the intro of the <metadata_files>? I have this set to last, but changing it to something else doesn't give me metadata.

    Thanks,

    ...alan
     
  12. Dec 8, 2009 #1592 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    That is expected behavior. The metadata file has to be named after a video file, such as file.mpg.txt or file_cut.mpg.txt or file.mp4.txt. If you don't enable at least the decrypt task then there is only a .TiVo file available, and it doesn't really make sense to have a .TiVo.txt metadata file since the .TiVo file has embedded metadata anyway.
     
  13. Dec 9, 2009 #1593 of 10413
    chris0331

    chris0331 New Member

    2
    0
    Nov 25, 2009
    Noticed a problem where if you record several shows in a row it can end up skipping some shows because of the the date filter. I have kmttg check my tivo every hour, and most of the shows I record are news shows that don't have unique episode ids. Therefore, I rely on the date filter to keep from downloading shows that have already been processed.

    Anyway, I downloaded the source and made some changes in the auto.java file. It checks the tivo every CHECK_TIVOS_INTERVAL, even if it downloaded a show in between. Unless the download took longer than the interval, in which case it checks the tivo right after the download finishes.

    Let me know if you have any questions/comments. Also, I only have one Series2 tivo so I haven't been able to test it on multiple tivos. The code seems like it should work on multiple tivos, but I have no way to test.

    Thanks,
    Chris
     

    Attached Files:

  14. Dec 9, 2009 #1594 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    chris0331, I think you don't really need to use date filter anymore to avoid re-downloads of shows without programId. Starting with version 0p7e kmttg will now generate a unique programId for shows that don't already have them and will use that in auto.history file to prevent re-downloads of those shows. So you should try without date filter to see if it meets your needs.
     
  15. Dec 9, 2009 #1595 of 10413
    chris0331

    chris0331 New Member

    2
    0
    Nov 25, 2009
    Sorry for the confusion. It's not that the shows don't have program ids, it's just that they aren't unique. I'm downloading shows that I've had to add ignorehistory entries to auto.ini, and I'm recording several such shows in a row every weekday. As a result, the only thing controlling which show is downloaded is the date filter.

    My situation only applies to using kmttg as a background service to download several such programs with ignorehistory entries in a row. So, it would seem to be an uncommon situation, but the above solution works well for me and I thought I'd share it with others in case they have the same problem.

    Thanks,
    Chris
     
  16. Dec 10, 2009 #1596 of 10413
    theodolite

    theodolite New Member

    8
    0
    Dec 3, 2009
    I have a problem. I'm using v07pf in Mac OS X 10.6.2. The downloaded show's name is URLEncoded(I'm Taiwan user, the show's name is Chinese). But the file name for encoding is not encoded. So I have to decode the file name then transcoding manually. I hope to fix the output from decrypt is URLEncoded. Can any one help on this?
     
  17. Dec 10, 2009 #1597 of 10413
    Stormspace

    Stormspace Electrocuted by TiVo

    5,171
    0
    Apr 13, 2004
    Hartsville, SC
    Any way to change the suffix on the filename after the cut operation? Ideally I'd like for the filename to be in the standard format TiVo looks for once the final operation is performed. I can do that through the tool, but on the cut operation it adds the "_cut" to the end of the file. Perhaps as part of the check box that deletes the original MPG after the cut it renames the file?
     
  18. Dec 10, 2009 #1598 of 10413
    alancommike

    alancommike New Member

    3
    0
    Apr 21, 2007
    I used to get the metadata on an older version. The metadata is useful for other scripts and makes everything consistent, whether or not it's a .Tivo file or other format.
     
  19. Dec 10, 2009 #1599 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    What do you mean by "standard" file name that TiVo looks for? The file still has .mpg extension.
    Perhaps you can use "custom" task to rename the file. For example for Linux OS define the custom command in kmttg config to be something like:
    /bin/mv [mpegFile_cut] [mpegFile]
     
  20. Dec 10, 2009 #1600 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    I could probably add "tivoFile" to metadata files choices and you would end up with .TiVo.txt file. Would that suffice?
     

Share This Page