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. Feb 16, 2011 #3041 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    What model are you downloading from specifically? THD units you are lucky to get around 8-11Mbps for PS downloads. So assuming a slow speed of 8 Mbps = 1MByte/sec => roughly 3.6 GByte/hour. S3 OLED units are faster than THD units (say around 13 Mbps) and Premiere units are much faster still (say 20+ Mbps).
    To benchmark download speeds try a download using your browser directly. You should not notice much difference between the curl download speed and your browser. If there is then maybe you have an anti-virus program or something throttling curl.
     
  2. Feb 16, 2011 #3042 of 10413
    waynomo

    waynomo My One Time TCF Club

    12,057
    36
    Nov 9, 2002
    Seven...
    You can do several things to speed up your transfers.

    1) Use a wired Ethernet connection. (Is that redundant?)

    2) Put both TiVo tuners on different blank/empty channels.

    Remember that TiVo is constantly wants to record. So not only is it trying to record 2 HD channels it is also trying to transfer. So this is slow. If you change to empty channels there is nothing to record so all power can go to the conversion and transfer. Even tuning to one blank channel will improve the transfer rate. Also tuning to SD channels will show improvement also.

    Good luck!

    FYI - Transferring an HD program takes about 15 to 20% longer than the actual program depending on quality. NBC programs are usually faster because they do more compression. ESPN takes longer.

    Also remember that when transferring to a PC, TiVo needs to convert process the show before transferring. When doing a TiVo to TiVo transfer the conversion doesn't take place.
     
  3. Feb 16, 2011 #3043 of 10413
    Stuxnet

    Stuxnet Alien Infidel

    356
    0
    Feb 8, 2011
    I'm using a Premier. I connected via browser and my download rate was 520-530 KB/s. That was taken with one channel recording, one viewing/buffering. The TP is on a power wire LAN (SlingLink).

    The power wire lan measures 5 Mbps (PS3 internet line test). My PC downloads at least 1500 KB/s from most internet sites (speedtest.net download result is 15 Mbps) ... I'd love to see 15 Mbps from the TP.

    I'll try blanking the channels later... but I wouldn't expect to see that jump.

    Win7-64 here... any ideas?
     
  4. Feb 16, 2011 #3044 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    That is awful speed, especially for a Premiere. You should be getting around 2500 KBytes/sec = 20 Mbps. Your posted numbers are a little confusing. By normal convention lowercase b represents bits, upper case B represents Bytes, and there are 8 bits per Byte.
    Mbps is a measure of speed and means Mega bits per second.

    Sounds like you are using powerline instead of wired ethernet though so that may well explain it.
     
  5. Feb 16, 2011 #3045 of 10413
    Stuxnet

    Stuxnet Alien Infidel

    356
    0
    Feb 8, 2011
    I cleaned up the bits and bytes in my last post (I think)... sorry 'bout that... It seems that my power line system may be the problem...

    I did retry the download with the tuners set to empty channels. Things actually got worse... maybe the tuning adaptor was having fits with an empty channel.

    Can I connect my laptop directly to the TP using an ethernet crossover cable to download recorded programs w/kmttg... I think I've got one of those in a drawer somewhere... I could also see what transfer rates the TP can deliver.
     
  6. Feb 17, 2011 #3046 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    @Stuxnet- Have you tried rebooting your Premiere yet? I have seen transfer rate issues that were fixed with power cycling the Tivo unit (this was a few years ago with my TivoHD).
     
  7. Feb 17, 2011 #3047 of 10413
    Stuxnet

    Stuxnet Alien Infidel

    356
    0
    Feb 8, 2011
    I've tried hard and soft boots... mostly because I had obvious network lockups (couldn't access program lists by PC). I'll give it another try this weekend... I also want to see what effect "standby" has on transfers... I understand it blocks tuner buffering... not sure if it would allow up/downloads.
     
  8. Feb 17, 2011 #3048 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,736
    8
    Apr 6, 2000
    SF Bay Area
    Standby only shuts down the video output while buffering still continues.
     
  9. Feb 17, 2011 #3049 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Powerline is definitely the problem, while your pc might be able to get around it's issues, if the tivo is in a different room with more "noise" it could be getting horrible speeds like it sounds like you are getting. and also the router is probably in the same room as the pc while the tivo in another room has all kinds of issues. I have never found a good powerline network that worked well. I agree with trying the wired option. You might be able to connect via laptop to tivo with a crossover cable, it might take static ip addresses, maybe not but it sounds like your main problem is the lan. If your laptop wireless? What speeds do you get if you hook your laptop up to the same wire from the tivo to the computer in whatever room it is in. I have a N wireless network that my tivo connects to thru a bridge and switch and get okay transfers most of the time, the only time speeds really slow down is when my network traffic goes up.
     
  10. Feb 17, 2011 #3050 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Ah forgot to mention, there are several free programs you can use to check your network speed. If you have high speeds thru the lan on the laptop at the same place that you have the tivo, then tivo might be the problem, but it really sounds like your lan is the problem and not the tivo. (Based on the fact that powerline lans are notoriously unreliable and consistent)
     
  11. Feb 18, 2011 #3051 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    I ran through the gamut of the different LAN options: wireless, powerline, and I ended up using MoCA to extend my LAN over coax. As mentioned before in other threads, if you can run CAT6 cabling through the walls, do that for the most reliable and effective connection. I'm in an apartment, so my options were limited.
     
  12. Feb 19, 2011 #3052 of 10413
    Stuxnet

    Stuxnet Alien Infidel

    356
    0
    Feb 8, 2011
    FWIW, I connected my PC to the power line LAN I use for my TP... here's the connection data...

    PC on power line lan.... 620 KB/s (file source: Microsoft XP SP2 upgrade)
    PC on wireless G.... 1540 KB/s (file source: Microsoft XP SP2 upgrade)
    TiVo to PC (using browser).... 320 KB/s (rebooted TiVo, tuners set to empty channels, firewall disabled)

    While the power line lan is limiting... TP is the limiting factor... even more so since I can't seem to download much more than 500 MB of a 5GB recording before the connection dries up (via kmttg or browser).... ughhhh...

    I'm downloading TiVo Desktop now to see how it handles the 5GB file...
     
  13. Feb 19, 2011 #3053 of 10413
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Since you can't download with the browser, I'm guessing the issue isn't kmttg. Is it possible to move the TiVo to the same room that your PC lives in (temporarily), and plug it into a real, wired network port? This would rule out the TiVo as the issue, and confirm that it's the network connection.
     
  14. Feb 21, 2011 #3054 of 10413
    boredsox38

    boredsox38 New Member

    9
    0
    Apr 7, 2007
    Ok, having a bit of an issue. I have a movie that I pulled from my Tivo with KMTTG. I purchased the movie online and moved it over to my tivo via pytivo. When I get to the decryption step I get this error:

    tivodecode failed (exit code: 10 ) - check command: C:\KMTTG\tivodecode\tivodecode.exe --mak MAK --out "C:\KMTTG\Batman - Under the Red Hood (02_17_2011).mpg" "C:\KMTTG\Batman - Under the Red Hood (02_17_2011).TiVo"
    TiVo Private Data : Unmatched Stream ID: No error
    ts_handle_tivo_private_data failed: No error
    processing frame: No error
    Encryption by QUALCOMM ;)
     
  15. Feb 21, 2011 #3055 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Sounds like you have TS downloads enabled in kmttg which is not recommended. Switch to PS downloads and download again.
     
  16. Feb 21, 2011 #3056 of 10413
    boredsox38

    boredsox38 New Member

    9
    0
    Apr 7, 2007
    Thanks moyekj. That is the issue but for some reason KMMTG will not download without TS being enabled. It does about 5mb and then skips out. On everyfile. Not sure what the issue is.
     
  17. Feb 21, 2011 #3057 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    You can try this version of tivodecode, but last I tried there were still issues with it for TS decrypt (does not decrypt video entirely leaving some segments pixelated). Short of that you will need TiVo Desktop installed to decrypt TS downloads without issue. I use VideoRedo along with partial install of TiVo Desktop for decrypting.
     
  18. Feb 21, 2011 #3058 of 10413
    MikeAndrews

    MikeAndrews Registered abuser

    14,222
    1
    Jan 17, 2002
    Northern...
    Can I mention my wished for kmttg feature?

    I'd like a destination switch for downloads. Envision it as a virtual train track switch.

    Add a pull down with user defined entries - i.e Video, Movies, Documentaries, Specials, Series, ... with a full path for the destination of downloads for each. This parameter could be stored in the Auto transfer settings so a given auto transfer would go to a given folder.

    I have 6 disks and have organized my content like that, down to Series A-L and Series M-Z. At present I have to move the files or put in soft links to make new downloads and auto transfers check the right folder.

    I think I could try modifying kmttg with that feature but I've have to get up to speed and I'd hate to make a fork.

    What d'ya think? Anybody else that could use that?
     
  19. Feb 22, 2011 #3059 of 10413
    charlesd81

    charlesd81 New Member

    77
    0
    Apr 19, 2006
    PA
    I don't have the setting enabled in the app but for some reason I'll occassionally receive the error. It seems as though it isn't using the right MAK for tivodecode. This happens every so often. The Tivo file downloaded is fine and is complete.
     
  20. Feb 25, 2011 #3060 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    Just a Windows observance:

    When I have Task Manager open showing Processes, and set the "View > Select columns" option to show Base priority, I see that comskip.exe comes in at a priority of "Low". Is this by design?


    Further detail:
    The Windows (adjustable) priorities are as follows (low to high, on a scale of 0-31):

    LOW (4)
    BELOWNORMAL (6)
    NORMAL (8, default)
    ABOVENORMAL (10)
    HIGH (13)
    REALTIME (24)

    I'm transcoding a bunch of videos to mp4, and found this in one of my "error" logs I produce from auto.log when my transcoding script was executing:

    Code:
    2011_02_18_20:50:34 ERROR: Timing out command that was taking too long: "C:\Program Files\kmttg\ffmpeg\ffmpeg.exe" -i "\\Dl380-server\ToTivo\Cut Programs\Emergency\35721-The Professor_cut.mpg"  
    
    I've found some situations where comskip.exe fails as well, though they've not been marked as "Timing out command". I've since modified my script that's doing the transcoding to set ffmpeg to "BELOWNORMAL" so CPU resources can be more easily shared when kmttg tasks occur. I'm not sure if setting ffmpeg to "LOW" in my script will help with the comskip task when it kicks off, hence my question of whether setting priorities are a part of the kmttg source.
     

Share This Page