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. May 11, 2012 #4061 of 10413
    chrispitude

    chrispitude New Member

    518
    0
    Apr 23, 2005
    moyekj, can I request that you add "Requires VideoReDo" to the flyover for this TS option? It would have saved me some time. I thought having a Premiere was enough, and it was a bit of frustrating trying to make it work.
     
  2. May 11, 2012 #4062 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    That seems reasonable enough, although I have to ask...Why were you trying to get them in a TS container anyhow? Your posts above talk about slowing down downloads so you don't fill up your laptop before you are able to transcode the files. It would seem that moving to TS is counter to that, along with the other issues that moyekj listed above. You sound like you are playing with options that you do not understand without first trying to understand them and then are mad at the developer because he didn't protect you from yourself.
     
  3. May 11, 2012 #4063 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    That wouldn't really be accurate as you can simply download TS .TiVo files without ever decrypting them in which case VRD is not needed. There are some valid reasons to leave TS .TiVo download option available (though by default it's turned off). I can probably add some more warnings related to decrypting them in the tooltip.
     
  4. May 12, 2012 #4064 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    This was already known but glad to confirm for myself with new Premiere software: The RPC remote doesn't work using the older authentication method, only works using the new PKCS12 authentication method which is in latest released version of kmttg.
     
  5. May 12, 2012 #4065 of 10413
    chrispitude

    chrispitude New Member

    518
    0
    Apr 23, 2005
    You're exactly right.

    I was just trying to go through the various kmttg options to better understand how the program works. For me, there's no point in speeding up disk transfers, yet the geek in me always wants it to be faster or better even if there's no point. I ultimately found the answer by searching the thread on the error message. I asked for a brief note to be added to the flyover to save others potential frustration.

    I'm sorry I don't know as much as I should about how all this works, but I'm trying.
     
  6. May 13, 2012 #4066 of 10413
    OOOOPS!

    OOOOPS! New Member

    25
    0
    Aug 7, 2003
    Hi First of all let me say thanks for the great program.
    Now on to the problem. I've ripped some of the kids SD dvd's and would like to know if anyone has a good mp4 encoding profile for SD cartoon dvd's that I can use with pytivo to push them onto the tivo, a HDXL, in mp4? I have a whole bunch of dvd's and if left as .mpg's would fill up the tivo. ff_tivo_sd shrinks a 1.5 GB file to about 525MB but I think cartoons can be made much smaller from what I've read I just don't know enough about mp4 compression to do it.
    Thanks,
    OOOOPS!
     
  7. May 14, 2012 #4067 of 10413
    markr33

    markr33 New Member

    32
    0
    Dec 20, 2002
    South Florida
    My Get Now Playing List is always failing sometime after AnchorOffset=640. This also occurs when using TiVo Desktop. And in the process, it crashes my TiVo (Screen is blank except for TiVo background and TiVo button registers but doesn't beep) requiring a hard restart. I've tried almost everything to no avail. Help! I need some ideas of things to try and fix this.

    Failure is:
    ... ...
    >> Continuing Now Playing List from TIVO_S3_3DF5 (512/777)...
    D:\Install\TIVO\TOOLS\kmttg_v0p8r\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\mark33\AppData\Local\Temp\cookie348666498957510210.tmp --url https://192.168.1.95/TiVoConnect?Co...iner=/NowPlaying&Recurse=Yes&AnchorOffset=512 --output C:\Users\mark33\AppData\Local\Temp\NPL4329423647518654017.tmp
    NPL job completed: 0:01:45
    ---DONE--- job=playlist tivo=TIVO_S3_3DF5
    >> Continuing Now Playing List from TIVO_S3_3DF5 (640/777)...
    D:\Install\TIVO\TOOLS\kmttg_v0p8r\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\mark33\AppData\Local\Temp\cookie348666498957510210.tmp --url https://192.168.1.95/TiVoConnect?Co...iner=/NowPlaying&Recurse=Yes&AnchorOffset=640 --output C:\Users\mark33\AppData\Local\Temp\NPL4329423647518654017.tmp
    Failed to retrieve Now Playing List from TIVO_S3_3DF5
    Exit code: 52
    Check YOUR MAK & IP settings
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed

    0 31 0 31 0 0 119 0 --:--:-- --:--:-- --:--:-- 119
    0 31 0 31 0 0 119 0 --:--:-- --:--:-- --:--:-- 0
    0 31 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
    ... ... ...
    0 31 0 0 0 0 0 0 --:--:-- 0:02:00 --:--:-- 0
    0 31 0 0 0 0 0 0 --:--:-- 0:02:01 --:--:-- 0
    0 31 0 0 0 0 0 0 --:--:-- 0:02:02 --:--:-- 0
    0 31 0 0 0 0 0 0 --:--:-- 0:02:02 --:--:-- 0
    curl: (52) Empty reply from server
     
  8. May 14, 2012 #4068 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    Obviously a TiVo side problem which I have no suggestions how to fix.
    If you don't care about the older shows (640+) you can limit # of shows kmttg pulls down under config->Tivos->limit # of npl fetches.
     
  9. May 14, 2012 #4069 of 10413
    markr33

    markr33 New Member

    32
    0
    Dec 20, 2002
    South Florida
    Thanks! I'm trying that right now.
     
  10. May 14, 2012 #4070 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    The ff_tivo_sd profile sets the bitrate to 3000kbps. You can open up the profile (.enc files in the /kmttg/encode folder) and change the number to something smaller (or save as a new file and then tinker with it).

    You could also make a new profile and try this:
    Code:
    # Description (single line, keep short)
    <description>
    mpeg4 container, same res FFMPEG CRF 19 h.264 video, copy audio (ac3)
    
    # Encode command or script (single line)
    # Known keywords: FFMPEG, HANDBRAKE, MENCODER, PERL, INPUT, OUTPUT, PWD, CPU_CORES, SRTFILE
    <command>
    FFMPEG -y -i INPUT -threads CPU_CORES -acodec copy -vcodec libx264 -pre medium -crf 19 -g 24 -f mp4 OUTPUT
    
    # Encoded output file extension
    <extension>
    mp4
    That will use x264 quality based recording rather than a fixed bitrate. I use x264 (rather than ffmpeg) for my transcodes, but I also use crf 19 for SD recording. I tend to see final bitrates of 1000-1500kbps (this also includes inverse telecine and a bit of denoising), and I can't tell the difference between the DVD and H.264 quality. It should be much smaller than what you are seeing from the ff_tivo_sd profile even though it probably won't hit the 1000-1500kbps levels. I haven't actually tried the profile myself, I just made it from work here. Write back if you try and it doesn't work.

    P.S. If it works for you, you can play with the CRF number to drop the bitrate even more. Normal CRF values that most folks use are in the 18-23 range.
     
  11. May 15, 2012 #4071 of 10413
    markr33

    markr33 New Member

    32
    0
    Dec 20, 2002
    South Florida
    I tried limiting the number of shows as you described above, but kmttg is still attempting to get the list of ALL shows in NPL. And it's still failing.

    If I could get the list 50 or 100 at a time, then start downloading, I would be able to eventually determine which program is the offender and DELETE it!
     
  12. May 15, 2012 #4072 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,739
    9
    Apr 6, 2000
    SF Bay Area
    The number of NPL fetches is set to groups of 128 * the number set in Configuration.

    0= All, 1=128, 2=256, etc.

    Another thing you can try is to use java for downloads.
     
  13. May 15, 2012 #4073 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    Note that setting is number of fetches, not number of shows. It used to be TiVo would fetch 128 shows per attempt but for 20.2 Premiere software that number was significantly reduced I think to around 16. So if you want to limit to 160 shows you would set it to 10. I just tried setting it to 1 and it worked fine - only performed 1 fetch which got 16 shows.
    Other important thing to note: That setting is a per TiVo setting, so if you have more than 1 make sure you select the appropriate TiVo first before adjusting the number.
     
  14. May 15, 2012 #4074 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    May be easier for you to do this experiment directly via Web Browser and adjusting AnchorOffset and (which is the starting show number) and ItemCount (which is number of shows to grab). For example this means grab most recently recorded shows 16-26:
    Code:
    https://TiVoIP/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&AnchorOffset=16&ItemCount=10
    
    Eventually you could then narrow in on a particular show (if it is 1 show) by using a specific AnchorOffset and ItemCount=1
     
  15. May 15, 2012 #4075 of 10413
    cherry ghost

    cherry ghost Active Member

    5,281
    6
    Sep 13, 2005
    Chicago
    Did the 20.2.1.1 update break the Remote functions? I'm getting

    rpc Write error - Received fatal alert: handshake_failure
     
  16. May 15, 2012 #4076 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    Yes. You need to run latest kmttg release now for it to work.
     
  17. May 15, 2012 #4077 of 10413
    cherry ghost

    cherry ghost Active Member

    5,281
    6
    Sep 13, 2005
    Chicago
    Thanks
     
  18. May 15, 2012 #4078 of 10413
    OOOOPS!

    OOOOPS! New Member

    25
    0
    Aug 7, 2003
    Thanks,
    I'll give this a try this evening if the kids allow it. :) Can't blame a 3 and 5 year old for wanting attention.
    OOOOPS!

     
  19. May 15, 2012 #4079 of 10413
    OOOOPS!

    OOOOPS! New Member

    25
    0
    Aug 7, 2003
    tried it a work on a hd, off the tivo, cartoon and kmttg/ffmpeg complained.

    Code:
    E:\Tivo\kmttg\ffmpeg\ffmpeg.exe -y -i "E:\Tivo\kmttg\Curious George - Feeling Antsy(02_23_2012).mpg" -threads 4 -acodec copy -vcodec libx264 -pre medium -crf 19 -g 24 -f mp4 "E:\Tivo\kmttg\Curious George - Feeling Antsy(02_23_2012).mp4" 
    encoding failed (exit code: 1 ) - check command: E:\Tivo\kmttg\ffmpeg\ffmpeg.exe -y -i "E:\Tivo\kmttg\Curious George - Feeling Antsy(02_23_2012).mpg" -threads 4 -acodec copy -vcodec libx264 -pre medium -crf 19 -g 24 -f mp4 "E:\Tivo\kmttg\Curious George - Feeling Antsy(02_23_2012).mp4" 
    FFmpeg version SVN-r21085, Copyright (c) 2000-2010 Fabrice Bellard, et al.
      built on Jan  8 2010 06:05:02 with gcc 4.2.4
      configuration: --enable-memalign-hack --prefix=/mingw --cross-prefix=i686-mingw32- --cc=ccache-i686-mingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --enable-avisynth --enable-gpl --enable-version3 --enable-zlib --enable-bzlib --enable-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid --enable-libschroedinger --enable-libx264 --enable-libopencore_amrwb --enable-libopencore_amrnb
      libavutil     50. 7. 0 / 50. 7. 0
      libavcodec    52.45. 0 / 52.45. 0
      libavformat   52.46. 0 / 52.46. 0
      libavdevice   52. 2. 0 / 52. 2. 0
      libswscale     0. 8. 0 /  0. 8. 0
    [mpeg @ 0x2bfee90]MAX_READ_SIZE:5000000 reached
    
    Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (30000/1001)
    Input #0, mpeg, from 'E:\Tivo\kmttg\Curious George - Feeling Antsy(02_23_2012).mpg':
      Duration: 00:12:51.85, start: 0.233367, bitrate: 11245 kb/s
        Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 12205 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
        Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    E:\Tivo\kmttg\ffmpeg\ffmpeg.exe: unrecognized option 'pre'
    I don't see "pre" in ffmpeg's help options list. Other than that I don't know.

    Thanks,
    OOOOPS!
     
  20. May 16, 2012 #4080 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    My fault. It is -vpre not -pre.
     

Share This Page