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. Oct 6, 2010 #2721 of 10410
    moyekj

    moyekj Well-Known Member

    11,132
    27
    Jan 23, 2006
    Mission...
    The reason I never added this in the past is that TiVo does not give good indication of the file size to be downloaded to your PC (since it does conversion on the fly when using TTG it probably cannot estimate file size accurately enough to report it). Without knowing accurate file size it's impossible to give an accurate estimate of time remaining. You may have noticed for downloads the % complete never actually reaches 100% since the file size stored on TiVo is always greater than what actually gets downloaded via TTG.
    In any case for next release I have added a configuration option that if enabled will show estimated time remaining instead of download bit rate which some may find more useful even though it's not very accurate (will never actually get down to zero).
     
  2. Oct 6, 2010 #2722 of 10410
    cweb

    cweb New Member

    106
    0
    May 29, 2004
    Thanks moyekj. I thought about that issue but didn't see an apostrophe in the output so I didn't think it relevant. However, clearly "Grey's" does, so I went back to the regular curl and all is once again right with the world of kmttg. I'm not even sure why I went with the cygwin version in the first place.

    Again, thanks.
     
  3. Oct 7, 2010 #2723 of 10410
    shelleye

    shelleye New Member

    39
    0
    Nov 28, 2002
    For those who are interested, and with thanks for those who have been helping me, here is what I ended up with:

    1) you need to set your stream at 29.97 fps, or the roku stream will hang up and rebuffer, especially on content longer than one hour. 2) the Roku can’t process an encode with two audio tracks, so you need to set 1 audio track in Handbrake; although some people are able to successfully pass through AC3 content, faac is the most universally compatible format. 3) the Roku can’t (at least in my house) handle passthrough greater than the capacity of your Roku box; since my boxes are 720P (1280 x 720), I have to set the width at 1280 or less—when I did pass through encoding of hd content (1920 x 1080), the stream was noisy, and rebuffered.

    After confirming these three rules, I played with different settings, and arrived at the following profiles, one for transcoding HDTV content, and one for standard definition DVDs, although they are basically the same except for the frame width:

    HDTV Profile: Frame width 960, I let Handbrake determine height based on the original aspect ratio; anamorphic “none”; keep aspect ratio checked; decomb and detelecine video filters “default’ the rest off; fps 29.97; avg bitrate 2500; faac audio; audio bitrate 160. DVD Profile: the same except I set the frame width at 720, which is the original width of a standard dvd.

    Notes: I tried various picture widths: 640, which is recommended on the Roksbox thread, as well as 720, and 940, and felt that 940 gave me by far the best results. I didn’t go any higher, because the highest Handbrake preset is 940, and I figure those guys must have some reason for keeping it at 940. Some people have said that lower bitrates (1500-1600) and/or using constant quality (RF 21) produce equivalent results with smaller file size, but I had some issues with buffering when I tried constant quality on some videos.

    Based on advice I got here, I translated the above settings into two .txt files that seem to give me the same output as using the above settings in the Handbrake GUI. I am posting them here, in case they prove useful.

    Thanks to all for all of your help.
     

    Attached Files:

  4. Oct 8, 2010 #2724 of 10410
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Glad that you found some profiles that work for you!
     
  5. Oct 8, 2010 #2725 of 10410
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,716
    7
    Apr 6, 2000
    SF Bay Area
    Here is something I discovered:

    Since I don't have TiVo Desktop installed any more, I have been getting errors when I tried to push .TiVo files from Kmttg. The solution was to decode them to .mpg and then push works without any problems.
     
  6. Oct 8, 2010 #2726 of 10410
    shelleye

    shelleye New Member

    39
    0
    Nov 28, 2002
    Me too! (I considered titling my post "Obsessive Encoding Disorder".) Needless to say, I couldn't have done it without your help. :)
     
  7. Oct 8, 2010 #2727 of 10410
    moyekj

    moyekj Well-Known Member

    11,132
    27
    Jan 23, 2006
    Mission...
    You can push .TiVo files with pyTivo. You just have to configure pyTivo with path to tivodecode so pyTivo will decode on fly while pushing. See pyTivo thread:
    http://pytivo.sourceforge.net/forum/tivodecode-support-t831.html
     
  8. Oct 13, 2010 #2728 of 10410
    shiffrin

    shiffrin Member

    215
    0
    Aug 23, 2000
    Lancaster, PA
    Is there a way to exclude certain files from being processed? I've read through the documentation and didn't see any way to specify this.

    I record 'The Daily Show' and 'Stephen Colbert' but really don't need to back them up to my server. Any suggestions?
     
  9. Oct 13, 2010 #2729 of 10410
    moyekj

    moyekj Well-Known Member

    11,132
    27
    Jan 23, 2006
    Mission...
    It is possible though not obvious or pretty. Setup a "title" type auto transfer with the following text:
    Code:
    ^((?!daily show|colbert).)*$
    
    The above is a regex pattern that says to match everything except titles containing "daily show" and "colbert".

    NOTE: You can enable "Dry Run Mode (test keywords only)" option under GLOBAL SETTINGS to try it out. Once enabled then OK the auto transfers form and then use Auto Transfers->Run Once in GUI. You will see in message window all the titles that are matched, which should exclude the daily show and colbert titles. Once satisfied it works then of course remember to turn off the Dry Run Mode.

    P.S. I updated the auto_transfers Wiki page to include this example.
     
  10. Oct 14, 2010 #2730 of 10410
    shiffrin

    shiffrin Member

    215
    0
    Aug 23, 2000
    Lancaster, PA
    Thank you very much. That does exactly what I want and I learned a little bit about auto configure.
     
  11. Oct 14, 2010 #2731 of 10410
    KevinG

    KevinG Member

    303
    0
    Sep 3, 2003
    Mt. Laurel, NJ.
    Is there any way to configure autotransfers of different shows to end up in different directories?

    So, let's say I want all Spongebob episodes in a /Kids folder and all Boardwalk Empire in an /Adults folder?
     
  12. Oct 14, 2010 #2732 of 10410
    moyekj

    moyekj Well-Known Member

    11,132
    27
    Jan 23, 2006
    Mission...
    No. You can use [/] keyword in File Naming configuration to generate folders though. For example:
    Code:
    [mainTitle][/][episodeTitle] ([monthNum]_[mday]_[year])
    
    Using above for example all Spongebob episodes end up in "Spongebob" folder.
    See details about file naming options in configuring_kmttg wiki page.
     
  13. Oct 15, 2010 #2733 of 10410
    KevinG

    KevinG Member

    303
    0
    Sep 3, 2003
    Mt. Laurel, NJ.
    Hmm, not entirely sure I can make that work for me... I need these to end up on completely different shared volumes since I'm trying to get it so the "Adult" shows aren't exposed to my kids' WD Live media players.
     
  14. Oct 15, 2010 #2734 of 10410
    moyekj

    moyekj Well-Known Member

    11,132
    27
    Jan 23, 2006
    Mission...
    Only other suggestion I have is to setup a "custom" script that moves titles to where you want them according to their names.
     
  15. Oct 16, 2010 #2735 of 10410
    Marceneiro

    Marceneiro New Member

    2
    0
    Jan 26, 2010
    Hi, I'm new to kmttg, and I've been trying to get the VRD QS fix running from the GUI, but I keep getting this type of error, no matter the file:

    Code:
    qsfix failed (exit code: 4 ) - check command: C:\WINDOWS\system32\cscript.exe //nologo C:\DOCUME~1\Mar\LOCALS~1\Temp\VRD2478777492916378502.vbs "S:\TiVo Downloads\New Yankee Workshop - Kitchen Cabinet Basics (10_12_2010).mpg" "S:\TiVo Downloads\New Yankee Workshop - Kitchen Cabinet Basics (10_12_2010).mpg.qsfix" /l:C:\DOCUME~1\Mar\LOCALS~1\Temp\VRDLock5644255066559464974.tmp 
    ? Problem opening output file: S:\TiVo Downloads\New Yankee Workshop - Kitchen Cabinet Basics (10_12_2010).mpg.qsfix
    
    I can open the file in VideoReDo and run the Quickstream Fix manually, so I don't think it is a problem with the files. Does anyone have any ideas as to what is going wrong?
     
  16. Oct 16, 2010 #2736 of 10410
    moyekj

    moyekj Well-Known Member

    11,132
    27
    Jan 23, 2006
    Mission...
    Most likely you are using a recent beta version of VRD TVS4? There were changes to the VRD COM code recently that makes it non-backwards compatible. I already addressed the issue but haven't released a version of kmttg yet containing support for newer VRD, however you can download latest beta version here.
     
  17. Oct 16, 2010 #2737 of 10410
    Marceneiro

    Marceneiro New Member

    2
    0
    Jan 26, 2010
    That was it exactly! I'm using the latest beta of VRD TVS4. I tried the latest beta of kmttg, and it worked perfectly.

    Thanks so much!
     
  18. Oct 16, 2010 #2738 of 10410
    moyekj

    moyekj Well-Known Member

    11,132
    27
    Jan 23, 2006
    Mission...
    Highlights of this release include support for latest versions of VideoRedo, configuration option to show estimated time remaining for downloads and better configuration options to support downloads from your TiVos from internet.

    NOTE: In this release the custom VideoRedo COM scripts reside in VRDscripts folder in kmttg installation. This gives more transparency as to what they are doing as well as making it a little easier to debug and/or customize further for your own needs if desired.

    See release notes for full details.
     
  19. Oct 16, 2010 #2739 of 10410
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,716
    7
    Apr 6, 2000
    SF Bay Area
    I just loaded v0p7p and now it will not recognize my S2 and gives me an exit code 6, but it does read my THD with no problem. The MAK is the same on both. I also tried to re-enter my network settings and its been on static IP. PyTivo and my web browser will read the playlist, but not v0p7p.

    Edit: now it will not read my THD when I pressed on refresh.
    Edit2: I restarted kmttg and it seems to work again.
     
  20. Oct 16, 2010 #2740 of 10410
    moyekj

    moyekj Well-Known Member

    11,132
    27
    Jan 23, 2006
    Mission...
    Nothing changed compared to last release related to downloads/playlist retrieval methods. Are you using curl method (if so which version) or Java method for downloads? Try switching methods to see if it makes any difference.
     

Share This Page