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. Mar 1, 2013 #4921 of 10413
    Fofer

    Fofer XenForo Rocks! TCF Club

    82,116
    296
    Oct 29, 2000
    I think you expect too much from TiVo. I expect them to put a band-aid on it by patching the Desktop software. And will push everyone to buy TiVo Stream hardware and smartphone/tablets as the new "solution" here...
     
  2. Mar 1, 2013 #4922 of 10413
    Fofer

    Fofer XenForo Rocks! TCF Club

    82,116
    296
    Oct 29, 2000
    I see the suggestion from a new user was deleted (not sure why) but wanted to reiterate:

    It would be great if these IMDB searches included the YEAR otherwise all we get is a looooong list of matching search results and not the specific thing we're meant to be looking for.
     
  3. Mar 1, 2013 #4923 of 10413
    christheman

    christheman New Member

    166
    0
    Feb 20, 2013
    Sorry for the confusion. I tried that again, immediately after I posted the thought, then realized that their basic search returns all possible iterations of the TITLE - whether or not you include the YEAR. I should have followed up with another post to say that the advanced search "can" do that, but the query string is significantly longer and different, and would use two variables (TITLE and YEAR), nested among some static query text. It would require moyekj to make some changes in order to make it work. My concern is that, since I have noticed that IMDB has been making some recent changes to coding of their templates, this too may change overnight, and its further complexity may make it prohibitive to count on over the long term. Or not. Programmer beware :)
     
  4. Mar 1, 2013 #4924 of 10413
    Fofer

    Fofer XenForo Rocks! TCF Club

    82,116
    296
    Oct 29, 2000
    Ah, I see. Gotcha. I hadn't quoted your feature request so my "^^ Good idea! ^^ " response looked odd. So I came back here to delete that reply, and also reiterate the suggestion in a new post. Thanks for the extra information, makes sense.
     
  5. Mar 1, 2013 #4925 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Gotcha, makes complete sense.
    Is there any way to get the log as a file? If its a big deal than no problem, but if possible, it would be nice to see the final stats as its really helpful to determine b frames and a few other things I am doing in my trials, but I need the log after the job completes and to compare to other jobs run. In essence, I need to run multiple versions and look at all the files (log files) together when finished.
     
  6. Mar 1, 2013 #4926 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Not really. But from the stdout/stderr window you get when you double-click the job in kmttg when it completes you can select every line (or just the lines of interest) and copy/paste into a text editor to save it.
     
  7. Mar 1, 2013 #4927 of 10413
    mattack

    mattack Active Member

    20,734
    4
    Apr 9, 2001
    sunnyvale
    Sorry for a tangential question, but are there any tools that will let me en masse set the keep until date on a whole bunch of shows that I select? (I'll probably do it in batches for EVERY show.)

    The FSI shows I'm in the high 70s or low 80s of percent full, but my suggestions all went away and I'm sure I lost at least a few programs yesterday. (It *could* have possibly been a suggestion hitting on an HD channel that I don't get and it guesstimated wrong, but I don't think so since I watch the To Do list pretty carefully… I just think the same thing that causes the ~2.05 GB minimum file size is getting the Tivo's internal size calculations wrong too.)
     
  8. Mar 1, 2013 #4928 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Don't think there's a tool ready to use that can do it, but most likely can be done fairly easily via RPC if you want to attempt writing a program to do so. Perhaps an easier solution though would just be to offload a bunch of shows from your TiVo assuming they are not all copy protected.
     
  9. Mar 1, 2013 #4929 of 10413
    mattack

    mattack Active Member

    20,734
    4
    Apr 9, 2001
    sunnyvale
    Maybe this will just be the impetus for me to finally get another external drive to offload more shows. Except for the music shows I keep, I have transferred many back, so it's not completely pointless for me to do this.
     
  10. Mar 1, 2013 #4930 of 10413
    wuzznuubi

    wuzznuubi New Member

    118
    0
    Jan 16, 2013
    We're obviously all spoiled by moyekj's kmttg and have nothing else to discuss but politics and religion and of course TiVo Corp decisions;-)

    I just wanted to point out that this has surfaced again with kmttg downloading (with curl) in ts format from the Premiere and using VRD to decrypt/QSF and save in .ts format. Appears that ffmpeg is not 100% in determining the needed info for kmttg on a downloaded .TiVo TS stream to be able to Download/Decrypt/QSF/SaveAs .ts. MediaInfo works every time, but I'm not sure if it's because of it's LGPL licensing or lack of platform/codec support that it's not an option for kmttg. I'm manually checking every kmttg job because of this.

    One (of 10 out of 23 downloads that failed recently) example is;

    ffmpeg results
    Code:
    ffmpeg version N-50025-gb8bb661 Copyright (c) 2000-2013 the FFmpeg developers
      built on Feb 17 2013 02:44:12 with gcc 4.7.2 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libm
    p3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrw
    benc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
      libavutil      52. 17.101 / 52. 17.101
      libavcodec     54. 91.103 / 54. 91.103
      libavformat    54. 63.100 / 54. 63.100
      libavdevice    54.  3.103 / 54.  3.103
      libavfilter     3. 38.100 /  3. 38.100
      libswscale      2.  2.100 /  2.  2.100
      libswresample   0. 17.102 /  0. 17.102
      libpostproc    52.  2.100 / 52.  2.100
    [mpeg2video @ 000000000209dc40] 0x0 is invalid
        Last message repeated 83 times
    [mpegts @ 000000000210af80] Stream #1: not enough frames to estimate rate; consider increasing probesize
    [mpegts @ 000000000210af80] Stream #2: not enough frames to estimate rate; consider increasing probesize
    [mpegts @ 000000000210af80] Stream #3: not enough frames to estimate rate; consider increasing probesize
    [mpegts @ 000000000210af80] Stream #4: not enough frames to estimate rate; consider increasing probesize
    [mpegts @ 000000000210af80] decoding for stream 0 failed
    [mpegts @ 000000000210af80] Could not find codec parameters for stream 0 (Video: mpeg2video ([2][0][0][0] / 0x0002)): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000210af80] Could not find codec parameters for stream 1 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels, fltp): unspecified sample rate
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000210af80] Could not find codec parameters for stream 2 (Unknown: none ([151][0][0][0] / 0x0097)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000210af80] Could not find codec parameters for stream 3 (Unknown: none): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000210af80] Could not find codec parameters for stream 4 (Unknown: none): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [NULL @ 000000000209a020] start time is not set in estimate_timings_from_pts
    [NULL @ 00000000021175a0] start time is not set in estimate_timings_from_pts
    [NULL @ 00000000049e7a80] start time is not set in estimate_timings_from_pts
    [NULL @ 0000000004ca0200] start time is not set in estimate_timings_from_pts
    Welcome to the Jungle #102.TiVo: could not find codec parameters
    
    MediaInfo results
    Code:
    MediaInfo 0.7.62
    Copyright (C) 2002-2012 MediaArea.net SARL
    
    MediaInfo provides easy access to technical and tag information about video and audio files.
    Except the Mac App Store graphical user interface, it is open-source software, which means that it is free of charge to the end user and developers have freedom to study, to improve and to redistribute the program (LGPL license)
    
    General
    ID                                       : 1 (0x1)
    Complete name                            : C:\tivofiles\Welcome to the Jungle #102.TiVo
    Format                                   : MPEG-TS
    File size                                : 6.28 GiB
    Duration                                 : 1h 0mn
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 14.7 Mbps
    
    Video
    ID                                       : 1984 (0x7C0)
    Menu ID                                  : 1 (0x1)
    Format                                   : MPEG Video
    Format version                           : Version 2
    Format profile                           : Main@High
    Format settings, BVOP                    : Yes
    Format settings, Matrix                  : Custom
    Format settings, GOP                     : Variable
    Codec ID                                 : 2
    Duration                                 : 1h 0mn
    Bit rate mode                            : Variable
    Maximum bit rate                         : 20.0 Mbps
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate                               : 29.970 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Interlaced
    Scan order                               : Top Field First
    Compression mode                         : Lossy
    
    Audio
    ID                                       : 1985 (0x7C1)
    Menu ID                                  : 1 (0x1)
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Codec ID                                 : 129
    Compression mode                         : Lossy
    Encryption                               : Encrypted
    
    Text #1
    ID                                       : 1984 (0x7C0)-CC1
    Menu ID                                  : 1 (0x1)
    Format                                   : EIA-608
    Muxing mode                              : A/53 / DTVCC Transport
    Muxing mode, more info                   : Muxed in Video #1
    Duration                                 : 1h 0mn
    Bit rate mode                            : Constant
    Stream size                              : 0.00 Byte (0%)
    
    Text #2
    ID                                       : 1984 (0x7C0)-1
    Menu ID                                  : 1 (0x1)
    Format                                   : EIA-708
    Muxing mode                              : A/53 / DTVCC Transport
    Muxing mode, more info                   : Muxed in Video #1
    Duration                                 : 1h 0mn
    Bit rate mode                            : Constant
    Stream size                              : 0.00 Byte (0%)
    
    Result - final output from kmttg was an mpg, not a ts file. I'm having to manually check kmttg's output and end up redoing this w/VRD manually.

    Suggestions?
     
  11. Mar 2, 2013 #4931 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    As stated before in your case it's not really a big deal because it's just a video container change, which is a remux, which is what VRD is doing as part of qsfix anyway. In any case I've uploaded a kmttg.jar with mediainfo cli support for determining video information that you can try:
    http://kmttg.googlecode.com/files/kmttg_v0p9o_beta1.zip
    (Rename kmttg.jar in your current installation and replace with the one in above zip file).
    Under File->Configure->Programs supply the full path to where you install the CLI version of mediainfo.exe.
     
  12. Mar 2, 2013 #4932 of 10413
    lew

    lew Active Member

    3,960
    3
    Mar 12, 2002
    Staging the download over weeks was done when software was downloaded via dial up. Is a complete software download much (any) larger then the showcases?

    It doesn't break the box but might expose a failing hard drive. How many S2 and S3 boxes are either under a tivo warranty or extended warranty? Any?

    Tivo might consider this a positive and not a negative.
     
  13. Mar 2, 2013 #4933 of 10413
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    I am guessing it is due to my huge number of season passes, but I noticed Checking Existing Season Passes when trying to setup a season pass can take a while. I was wondering if there might be a way to incorporate the Season Passes tab to speed up the process. Since KMTTG would already have a list of passes, it would know if it needs to modify or setup a new season pass.
     
  14. Mar 2, 2013 #4934 of 10413
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Whether it is necessary any longer or not, it is still being done.
     
  15. Mar 2, 2013 #4935 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Problem is if you just created a SP then the list is not up to date. So to be safe the check is done each time. The check is needed because TiVo does allow duplicate SPs to be created which is a situation I'm trying to avoid.
     
  16. Mar 3, 2013 #4936 of 10413
    muerte33

    muerte33 New Member

    87
    0
    Jul 4, 2008
    I like the new keyboard shortcut ("q") that fires up IMDB.
    Thanks for writing and maintaining KMTTG, it really is a great program!
     
  17. Mar 3, 2013 #4937 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Looking through the code I see that I'm using the same method as the full blown SP table to get SPs along with upcoming and conflicting shows. For the purposes of checking against existing SPs there is no need for upcoming and conflicting shows, so for next release I will eliminate that which should speed things up quite a bit.
    In fact, just doing a quick test right now the time to check against SPs dropped from 8 seconds to less than 2 for an Elite with 36 SPs.
     
  18. Mar 3, 2013 #4938 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    v0p9o version just released with following changes:
    * Update to make checking against existing Season Passes much quicker as in above post.
    * Fx for launching web browser on Mac platform for IMDB queries.
    * Option to use mediainfo cli instead of ffmpeg for obtaining video information needed for certain tasks.
    * Updated tools in default Windows tools package and added mediainfo cli to the package.
    See release_notes
     
  19. Mar 3, 2013 #4939 of 10413
    Marconi

    Marconi TiVo Junkie

    444
    0
    Sep 8, 2001
    Page, AZ USA
    If they won't fix it, possibly we can. Might it be possible to find the hard-coded cookie date in the TiVo s/w using a hex editor? If so, note the file name, offset and figure out the replacement hex to fix it in place? Change the expiration to 2038.

    I'd pull my THD's drive and make the change, if someone figured out just where/what to modify.

    Yes, the fix would be best done on both s/w partitions, and would be wiped out by any new s/w pushed out by TiVo, but still...
     
  20. Mar 3, 2013 #4940 of 10413
    wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    Yes, I already found it (it's in ASCII). The problem is that you can't patch tivoapp without disabling the TiVo's integrity checking, unless you have the key to sign the software (which AFAIK only TiVo has).
     

Share This Page