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. Nov 11, 2010 #2821 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Some have been able to avoid A/V sync issues without using VideoRedo QSfix by using one of the Hanbrake encoding profiles (hb_*) instead of ffmpeg ones (ff_*).
     
  2. Nov 12, 2010 #2822 of 10413
    Hcour

    Hcour Member

    868
    11
    Dec 24, 2007
    Bump.
     
  3. Nov 12, 2010 #2823 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Most likely an issue on TiVo server side perhaps due to glitch in a recording at specific times. Try downloading that show using a web browser (copy the URL kmttg shows in the message window and paste in your web browser and when prompted use tivo for login and your 10 digit MAK as password). If that also fails then there really is not much you can do short of trying to record that episode again on your TiVo.
    (TiVo goes through a CPU intensive decrypt, demux, remux and re-encrypt cycle during TTG transfer that sometimes fails when there are glitches in the recording and in those cases no TTG client can get around the problem).
     
  4. Nov 12, 2010 #2824 of 10413
    Hcour

    Hcour Member

    868
    11
    Dec 24, 2007
    When I logon via the web browser I get the following msg: This XML file does not appear to have any style information associated with it. The document tree is shown below.
     
  5. Nov 12, 2010 #2825 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    You are probably using the wrong URL. Simply use the following URL to get list of shows in your Now Playing list:
    Code:
    https://<tivoip>/nowplaying/index.html
    
    Obviously replace <tivoip> with your TiVo IP address. Then find the show and click on download link for PS format (not TS format).
     
  6. Nov 12, 2010 #2826 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,726
    8
    Apr 6, 2000
    SF Bay Area
    I would also add that you need to use:

    User: tivo
    Password: your media access key
     
  7. Nov 12, 2010 #2827 of 10413
    Hcour

    Hcour Member

    868
    11
    Dec 24, 2007
    Great, thanks. I think I've found the problem. I recently downgraded my bandwidth with my ISP and while transferring the files thru kmttg from my tivo I was also downloading torrents from various websites, which were using a lot of my available bandwidth and I think that was the problem. I just transferred a file using kmttg, w/o any other simultaneous downloads going, and it worked fine. Does that make sense?
     
  8. Nov 12, 2010 #2828 of 10413
    wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    How much bandwidth you're getting from your ISP isn't relevant, unless your TiVo and your PC are in different houses or something. Normally, that would be a transfer over the LAN, not involving your ISP at all. The torrents could run at full blast, and would still only subtract a portion of your LAN bandwidth (depending on your connection type, etc.).

    Example: My TiVo and PC are connected via 100 Mbps Ethernet. My ISP connection is 25/15 Mbps. So, even with my ISP link saturated, I should have 75 Mbps free.

    Of course there are other issues beyond raw bandwidth. Torrents are pretty demanding, and can mess with some routers, due to the sheer number of connections.
     
  9. Nov 13, 2010 #2829 of 10413
    Hcour

    Hcour Member

    868
    11
    Dec 24, 2007
    It might be something like that then. It seems to be working fine now as long as I'm not dl'ing torrents at the same time.

    Thanks for the info.
     
  10. Nov 13, 2010 #2830 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    There could be a lot of disk activity as well, if the swarm was fairly big. Writes from kmttg download on one portion of the disk, writes from torrent peers/seeds on another portion, and reads from torrent peers/leechers from yet another portion.
     
  11. Nov 16, 2010 #2831 of 10413
    mkstretch

    mkstretch New Member

    41
    0
    Apr 10, 2005
    I have used Kmttg to try and remove commercials automatically, but it still leaves some commercials. Is there a special way to set it up to get all the commercials? Thanks!!
     
  12. Nov 16, 2010 #2832 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,726
    8
    Apr 6, 2000
    SF Bay Area
    Usually what it uses to look for commercials is the search for the 2+ seconds of black/blank frames to indicate the start/end of the commercials, but sometimes there are less then the 2 seconds so it ignores those. Sometimes the 2+ seconds are followed by actual parts of the show, so you may have missed those parts if you let it do the cutting automatically.
     
  13. Nov 16, 2010 #2833 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    Actually, I believe the indicator that comskip weights more heavily is the presence (or absence) of a channel logo. kmttg allows the use of individual comskip.ini files, customized to a specific show's characteristics. I've had some success using different comskip.ini files (specifically, I increased the "max_commercial_size" parameter to account for a 3-4 minute Dish commercial that airs during Star Trek: TNG), but I've never been able to customize a comskip.ini file to successfully keep the last 30 second snippets of shows like The Office, 30 Rock or Community, despite the presence of "always_keep_last_seconds". I've noticed those snippets don't include a channel logo, which may be influencing comskip.

    Other comskip.ini parms to look at:
    "cut_on_ar_change"
    "logo_present_modifier"
    "max_commercial_size" (as mentioned)
    "min_show_segment_length"

    It would be nice for me to offer some of my customized comskip.ini files, but I don't think they'd be "universal" enough to work in every environment.

    It's also a tedious process to test changes. In the past, I've downloaded and decrypted shows using kmttg, and stopped the kmttg process there. I then used comskip "standalone" with the various changes to it's ini file, and either run it through VideoReDo, or looked at the output files created by comskip (.VPrj? .edl?). Some tweaks I've made rendered comskip completely ineffective with no commercials cut at all. Others tweaks cut too much. With time and patience, I'm pretty sure comskip can be fine tuned to account for most if not all commercial breaks for a show. Although I might have the time, I don't really have the patience, so I live with a "good enough" setup. ;)
     
  14. Nov 16, 2010 #2834 of 10413
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    I wonder if ShowAnalyzer would work better than comskip. You should be able to set it up with DVRmstoolbox to monitor the folders the way you can with 7MC and then use it to edit commercials.
     
  15. Nov 16, 2010 #2835 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    There's an add on called Comskip Proxy from the same company: http://www.dragonglobal.biz/download/

    This looks like a great way to test out ShowAnalyzer without any program changes to kmttg. :up:
     
  16. Nov 16, 2010 #2836 of 10413
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    Cool I didn't even notice that. I know most Media Center users swear by Show Analyzer and Ben on engadgethd did a great write-up on how to set it up for 7MC.

    I will have to see if I can find time this week to play with it.
     
  17. Nov 16, 2010 #2837 of 10413
    ccrider2

    ccrider2 New Member

    100
    0
    Nov 1, 2007
    I'm getting frequent transfer failures with this error in the log pane at the bottom. The 'cookie........' is always a different number.

    Is this error telling me anything?
    Got an idea what this means? :confused:

    C:\KMTTG\kmttg_v0p7q\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\Chris\LOCALS~1\Temp\cookiexxxxxxxxxxxxxxxxxxx.tmp


    Thanks for any suggestions,
     
  18. Nov 16, 2010 #2838 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    That's not an error message - that's part of the curl command being used for downloading (though you did not post the http part of it). The cookie file is simply a temporary unique file name used for each run so it's normal to change every time. There must be some other error messages being shown along with an exit status of some sort. i.e. post the whole error message that shows up in red in message window.
     
  19. Nov 17, 2010 #2839 of 10413
    ccrider2

    ccrider2 New Member

    100
    0
    Nov 1, 2007
    As I recall, that was the only thing there. The transfer just stops and shows a very low bit-rate. I changed the configuration to use Java instead of Curl, and had better success.

    Any disadvantage of using Java over Curl? :confused:

    Thanks Much,
     
  20. Nov 17, 2010 #2840 of 10413
    marbordom

    marbordom Member

    38
    0
    Sep 29, 2007
    Bronx, NY
    In the past I had no luck for a while with curl at all under Windows 7.
    This forum has helped me out and finally I believe that this problem others as well are seeing triggered to implement the option "use java for download".

    Now since I have switched to almost every show being in HD my downloads frequently stall again - with either java or curl.
    1) The TIVO Series 3 I have is not very reliable in its web serving
    2) kmttg does not time out during .TiVo downloads. That stalls the entire kmttg service and it would be great if a monitor could be implemented to terminate stuck downloads and queue them for another try after the next download has completed.

    I have monitored my auto.log.0 file with a Perl script last night and the download of one show was stuck from 2am to 10am this morning. Then I restarted kmttg service but this is not very graceful and leaves files which are then not removable anymore (Windows permissions) - just a pain.

    To investigate further I currently only download and decrypt files and I get the feeling that the Tivo serves download better during the day than at night when its load is higher during recording. As I read here the TIVO's performance is not very high for transcoding recordings for downloads.

    Note: Even when downloads work some 1hour HD episodes take ~2hours with ~ 1Mbyte/sec (8MBps) give and take. This is not impressive.

    Question: What exactly does the Reset Tivo Web server do?
     

Share This Page