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. Jul 31, 2010 #2481 of 10413
    lew

    lew Active Member

    3,963
    3
    Mar 12, 2002
    You have an option (in the configure screen) to delete tivo file after decrypt. That means the tivo file isn't available if we want kmttg to extract captions. Either change the option to delete tivo file after captions or extract captions from the mpg file.

    edited to add--for the benefit of anyone searching. The issue was solved v0p7mbeta
     
  2. Jul 31, 2010 #2482 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Captions file generation is from .mpg file already (or the cut .mpg file if you enable Ad Cut step).
     
  3. Jul 31, 2010 #2483 of 10413
    marbordom

    marbordom Member

    38
    0
    Sep 29, 2007
    Bronx, NY
    Hi,

    I am not sure if this is the correct forum to ask this question:
    I have been using kmttg since the beginning of this year on an Acer R3610 with Win 7 Home and switched finally to v0p7l because I have noticed that since 07/22/2010 my service running kmttg does not make any progress and no new shows were processed.
    It looks like that I have narrowed it down to curl
    The last messages in the log are from kmttg invoking curl to download from my Tivo. In the past SD contents as well as HD were downloaded fine but all of a sudden the download just sits there.
    Which log file or config/ini file can I look for to debug further?
    Note: It does not seem that there is a file space problem, bandwidth or anything obvious. Also I believe that the 4GB download has completed but kmttg does not see curl returning from its download.

    Any help is appreciated.
     
  4. Jul 31, 2010 #2484 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    marbordom, do downloads work in GUI mode? If so, does Loop in GUI work as well? If not have you rebooted your TiVo and tried again? auto.log.0 is where service log messages are recorded. If service is shutting down you should see "NOTE: SHUTTING DOWN" message as last entry in log file.
     
  5. Jul 31, 2010 #2485 of 10413
    wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    Yeah you can. It's 10.6 that you can't upgrade it to.
     
  6. Aug 1, 2010 #2486 of 10413
    marbordom

    marbordom Member

    38
    0
    Sep 29, 2007
    Bronx, NY
    It does not look like downloads work in either single, loop in GUI or in service mode anymore. So I installed the latest curl from their website and I can download manually from the Tivo using curl but not using kmttg.
    The log file does not indicate any service being shut down but during my tampering under Windows/cygwin I ran into
    permission problems for the cookie-jar files, running the kmttg service as user instead of Admin (which I thought I did already) and some HTTP transient errors of which all are just clouding my judgement of figuring out what to fight first.

    Now I am trying to restart the TiVo - seems that it does not respond to the ENTER command ... oh it does. .. rebooting

    Okay - your guess is correct: I am getting the SHUTDOWN message now:

    2010_08_01_13:05:29 NOTE: OVERWRITING EXISTING FILE: e:\.tivo\ORIG\Burn Notice - Where Theres Smoke (07_29_2010).TiVo
    2010_08_01_13:05:29 >> DOWNLOADING e:\.tivo\ORIG\Burn Notice - Where Theres Smoke (07_29_2010).TiVo ...
    2010_08_01_13:05:29 C:\kmttg\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\dombrowa\AppData\Local\Temp\cookie5200432106925091396.tmp --url http://192.168.0.20:80/download/Burn%20Notice.TiVo?Container=/NowPlaying&id=1877957 --output "e:\.tivo\ORIG\Burn Notice - Where Theres Smoke (07_29_2010).TiVo"
    2010_08_01_13:46:15 NOTE: SHUTTING DOWN
    2010_08_01_13:46:15 NOTE: Removing job: {source=https://192.168.0.20:443/TiVoVideoDetails?id=1877957 tivoName=DVR5974 type=decrypt status=queued familyId=1.04}
     
  7. Aug 1, 2010 #2487 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    marbordom, you should focus on getting downloads to work via GUI. If curl works via command line it should work via kmttg as well. Only thing I can think is perhaps you have a firewall or anti-virus program that is impeding things, or perhaps UAC. Shut those down temporarily or give access to java (kmttg) and the kmttg version of curl.
     
  8. Aug 1, 2010 #2488 of 10413
    rrr22777

    rrr22777 New Member

    532
    0
    Jul 31, 2002
    Running latest version - kmttg_v0p7j.zip - getting the transient error below. Any suggestions?

    No windows firewall etc. Entire thing is running inside a VMWare VM.

    Code:
    >> Getting Now Playing List from DVR E861 ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie8750408822319007925.tmp --url https://192.168.0.41/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\NPL8213694459924743349.tmp 
    Updating IP for TiVo: DVR E861
    Failed to retrieve Now Playing List from DVR E861
    Exit code: 7
    Check YOUR MAK & IP settings
    
    curl: (7) couldn't connect to host
    Refreshing encoding profiles
    Adding detected tivo: DVR E861
    >> Getting Now Playing List from DVR E861 ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie5162384712205809651.tmp --url https://192.168.0.42/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\NPL5629227417373348716.tmp 
    NPL job completed: 00:00:15
    ---DONE--- job=playlist tivo=DVR E861
    >> Getting Now Playing List from DVR E861 ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie5162384712205809651.tmp --url https://192.168.0.42/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&AnchorOffset=128 --output C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\NPL5629227417373348716.tmp 
    NPL job completed: 00:00:32
    ---DONE--- job=playlist tivo=DVR E861
    >> Getting Now Playing List from DVR E861 ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie5162384712205809651.tmp --url https://192.168.0.42/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&AnchorOffset=256 --output C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\NPL5629227417373348716.tmp 
    NPL job completed: 00:00:41
    ---DONE--- job=playlist tivo=DVR E861
    336 SHOWS, 840 GB USED
    336 SHOWS, 840 GB USED
    'Anthony Bourdain: No Reservations' 5 SHOWS, 30 GB USED
    336 SHOWS, 840 GB USED
    'MANswers' 4 SHOWS, 13 GB USED
    
    MANswers - How to tell if she's a hooker or a cop
    Recorded Fri 07/30/2010 12:08 AM on 752=SPIKPHD, Duration = 30 mins
    How to tell if she's a hooker or a cop; how to get drunk faster. 
    >> DOWNLOADING C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie4726757077228103807.tmp --url http://192.168.0.42:80/download/MANswers.TiVo?Container=%2FNowPlaying&id=484775&Format=video/x-tivo-mpeg-ts --output "C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo" 
    C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo: size=0.00 MB elapsed=00:00:07 (0.00 Mbps)
    <h2>Server Busy</h2>
    Download failed to file: C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo
    Exit code: 0
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0    31    0    31    0     0    330      0 --:--:-- --:--:-- --:--:--   330
      0    31    0    31    0     0    330      0 --:--:-- --:--:-- --:--:--     0
      0    51    0    51    0     0    362      0 --:--:-- --:--:-- --:--:--   362
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 4 seconds. 1 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    544      0 --:--:-- --:--:-- --:--:--   544
      0    51    0    51    0     0    544      0 --:--:-- --:--:-- --:--:--     0
    MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo: Download attempt # 2 scheduled in 10 seconds.
    >> DOWNLOADING C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie7219573335863218346.tmp --url http://192.168.0.42:80/download/MANswers.TiVo?Container=%2FNowPlaying&id=484775&Format=video/x-tivo-mpeg-ts --output "C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo" 
    C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo: size=0.00 MB elapsed=00:00:07 (0.00 Mbps)
    <h2>Server Busy</h2>
    Download failed to file: C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo
    Exit code: 0
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0    31    0    31    0     0    661      0 --:--:-- --:--:-- --:--:--   661
      0    31    0    31    0     0    661      0 --:--:-- --:--:-- --:--:--     0
      0    51    0    51    0     0    544      0 --:--:-- --:--:-- --:--:--   544
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    652      0 --:--:-- --:--:-- --:--:--   652
      0    51    0    51    0     0    652      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    816      0 --:--:-- --:--:-- --:--:--   816
      0    51    0    51    0     0    816      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 4 seconds. 1 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    408      0 --:--:-- --:--:-- --:--:--   408
      0    51    0    51    0     0    408      0 --:--:-- --:--:-- --:--:--     0
    MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo: Download attempt # 3 scheduled in 10 seconds.
    >> DOWNLOADING C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie8241369502852934530.tmp --url http://192.168.0.42:80/download/MANswers.TiVo?Container=%2FNowPlaying&id=484775&Format=video/x-tivo-mpeg-ts --output "C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo" 
    C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo: size=0.00 MB elapsed=00:00:07 (0.00 Mbps)
    <h2>Server Busy</h2>
    Download failed to file: C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo
    Exit code: 0
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0    31    0    31    0     0    992      0 --:--:-- --:--:-- --:--:--   992
      0    31    0    31    0     0    992      0 --:--:-- --:--:-- --:--:--     0
      0    51    0    51    0     0    544      0 --:--:-- --:--:-- --:--:--   544
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    816      0 --:--:-- --:--:-- --:--:--   816
      0    51    0    51    0     0    816      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 4 seconds. 1 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    408      0 --:--:-- --:--:-- --:--:--   408
      0    51    0    51    0     0    408      0 --:--:-- --:--:-- --:--:--     0
    MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo: Download attempt # 4 scheduled in 10 seconds.
    >> DOWNLOADING C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie6204989920229189111.tmp --url http://192.168.0.42:80/download/MANswers.TiVo?Container=%2FNowPlaying&id=484775&Format=video/x-tivo-mpeg-ts --output "C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo" 
    C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo: size=0.00 MB elapsed=00:00:07 (0.00 Mbps)
    <h2>Server Busy</h2>
    Download failed to file: C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo
    Exit code: 0
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0    31    0    31    0     0    992      0 --:--:-- --:--:-- --:--:--   992
      0    31    0    31    0     0    992      0 --:--:-- --:--:-- --:--:--     0
      0    51    0    51    0     0    652      0 --:--:-- --:--:-- --:--:--   652
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    652      0 --:--:-- --:--:-- --:--:--   652
      0    51    0    51    0     0    652      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 4 seconds. 1 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    816      0 --:--:-- --:--:-- --:--:--   816
      0    51    0    51    0     0    816      0 --:--:-- --:--:-- --:--:--     0
    MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo: Download attempt # 5 scheduled in 10 seconds.
    >> DOWNLOADING C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie4756983471384220609.tmp --url http://192.168.0.42:80/download/MANswers.TiVo?Container=%2FNowPlaying&id=484775&Format=video/x-tivo-mpeg-ts --output "C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo" 
    C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo: size=0.00 MB elapsed=00:00:07 (0.00 Mbps)
    <h2>Server Busy</h2>
    Download failed to file: C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo
    Exit code: 0
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0    31    0    31    0     0    661      0 --:--:-- --:--:-- --:--:--   661
      0    31    0    31    0     0    661      0 --:--:-- --:--:-- --:--:--     0
      0    51    0    51    0     0    544      0 --:--:-- --:--:-- --:--:--   544
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 4 seconds. 1 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    233      0 --:--:-- --:--:-- --:--:--   233
      0    51    0    51    0     0    233      0 --:--:-- --:--:-- --:--:--     0
    MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo: Too many failed downloads, GIVING UP!!
    >> DECRYPTING C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo ...
    C:\kmttg-J\tivodecode\tivodecode.exe --mak MAK --out "C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).mpg" "C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo" 
    tivodecode failed (exit code: 6 ) - check command: C:\kmttg-J\tivodecode\tivodecode.exe --mak MAK --out "C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).mpg" "C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo" 
    C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).TiVo: No such file or directory
    mpeg file not given or doesn't exist: C:\kmttg-J\MANswers - How to tell if shes a hooker or a cop (07_30_2010).mpg
    336 SHOWS, 840 GB USED
    'The Colbert Report' 5 SHOWS, 12 GB USED
    
    The Colbert Report
    Recorded Mon 07/26/2010 02:30 PM on 760=CCHDP, Duration = 30 mins
    Stephen Colbert and guests discuss current issues. 
    
    The Colbert Report - Andy Cohen
    Recorded Thu 07/29/2010 11:30 PM on 760=CCHDP, Duration = 30 mins
    Host Andy Cohen. 
    >> DOWNLOADING C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie6999149015910200868.tmp --url http://192.168.0.42:80/download/The%20Colbert%20Report.TiVo?Container=%2FNowPlaying&id=484770&Format=video/x-tivo-mpeg-ts --output "C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo" 
    C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo: size=0.00 MB elapsed=00:00:07 (0.00 Mbps)
    <h2>Server Busy</h2>
    Download failed to file: C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo
    Exit code: 0
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0    31    0    31    0     0    198      0 --:--:-- --:--:-- --:--:--   198
      0    31    0    31    0     0    198      0 --:--:-- --:--:-- --:--:--     0
      0    51    0    51    0     0    251      0 --:--:-- --:--:-- --:--:--   251
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    816      0 --:--:-- --:--:-- --:--:--   816
      0    51    0    51    0     0    816      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 4 seconds. 1 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    408      0 --:--:-- --:--:-- --:--:--   408
      0    51    0    51    0     0    408      0 --:--:-- --:--:-- --:--:--     0
    The Colbert Report - Andy Cohen (07_29_2010).TiVo: Download attempt # 2 scheduled in 10 seconds.
    >> DOWNLOADING C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie7709059810880055678.tmp --url http://192.168.0.42:80/download/The%20Colbert%20Report.TiVo?Container=%2FNowPlaying&id=484770&Format=video/x-tivo-mpeg-ts --output "C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo" 
    C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo: size=0.00 MB elapsed=00:00:07 (0.00 Mbps)
    <h2>Server Busy</h2>
    Download failed to file: C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo
    Exit code: 0
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0    31    0    31    0     0    496      0 --:--:-- --:--:-- --:--:--   496
      0    31    0    31    0     0    496      0 --:--:-- --:--:-- --:--:--     0
      0    51    0    51    0     0    466      0 --:--:-- --:--:-- --:--:--   466
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 4 seconds. 1 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    The Colbert Report - Andy Cohen (07_29_2010).TiVo: Download attempt # 3 scheduled in 10 seconds.
    >> DOWNLOADING C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie1030743410780565234.tmp --url http://192.168.0.42:80/download/The%20Colbert%20Report.TiVo?Container=%2FNowPlaying&id=484770&Format=video/x-tivo-mpeg-ts --output "C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo" 
    C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo: size=0.00 MB elapsed=00:00:07 (0.00 Mbps)
    <h2>Server Busy</h2>
    Download failed to file: C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo
    Exit code: 0
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0    31    0    31    0     0    661      0 --:--:-- --:--:-- --:--:--   661
      0    31    0    31    0     0    661      0 --:--:-- --:--:-- --:--:--     0
      0    51    0    51    0     0    544      0 --:--:-- --:--:-- --:--:--   544
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 4 seconds. 1 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1632      0 --:--:-- --:--:-- --:--:--  1632
      0    51    0    51    0     0   1632      0 --:--:-- --:--:-- --:--:--     0
    The Colbert Report - Andy Cohen (07_29_2010).TiVo: Download attempt # 4 scheduled in 10 seconds.
    >> DOWNLOADING C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie6251172209014116500.tmp --url http://192.168.0.42:80/download/The%20Colbert%20Report.TiVo?Container=%2FNowPlaying&id=484770&Format=video/x-tivo-mpeg-ts --output "C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo" 
    C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo: size=0.00 MB elapsed=00:00:07 (0.00 Mbps)
    <h2>Server Busy</h2>
    Download failed to file: C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo
    Exit code: 0
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0    31    0    31    0     0    992      0 --:--:-- --:--:-- --:--:--   992
      0    31    0    31    0     0    992      0 --:--:-- --:--:-- --:--:--     0
      0    51    0    51    0     0    544      0 --:--:-- --:--:-- --:--:--   544
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 4 seconds. 1 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    816      0 --:--:-- --:--:-- --:--:--   816
      0    51    0    51    0     0    816      0 --:--:-- --:--:-- --:--:--     0
    The Colbert Report - Andy Cohen (07_29_2010).TiVo: Download attempt # 5 scheduled in 10 seconds.
    >> DOWNLOADING C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo ...
    C:\kmttg-J\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cookie1827509914163603574.tmp --url http://192.168.0.42:80/download/The%20Colbert%20Report.TiVo?Container=%2FNowPlaying&id=484770&Format=video/x-tivo-mpeg-ts --output "C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo" 
    C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo: size=0.00 MB elapsed=00:00:07 (0.00 Mbps)
    <h2>Server Busy</h2>
    Download failed to file: C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo
    Exit code: 0
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0    31    0    31    0     0    661      0 --:--:-- --:--:-- --:--:--   661
      0    31    0    31    0     0    661      0 --:--:-- --:--:-- --:--:--     0
      0    51    0    51    0     0    544      0 --:--:-- --:--:-- --:--:--   544
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    652      0 --:--:-- --:--:-- --:--:--   652
      0    51    0    51    0     0    652      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--  1088
      0    51    0    51    0     0   1088      0 --:--:-- --:--:-- --:--:--     0
    Warning: Transient problem: HTTP error Will retry in 4 seconds. 1 retries 
    Warning: left.
    Throwing away 51 bytes
    
      0    51    0    51    0     0    652      0 --:--:-- --:--:-- --:--:--   652
      0    51    0    51    0     0    652      0 --:--:-- --:--:-- --:--:--     0
    The Colbert Report - Andy Cohen (07_29_2010).TiVo: Too many failed downloads, GIVING UP!!
    >> DECRYPTING C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo ...
    C:\kmttg-J\tivodecode\tivodecode.exe --mak MAK --out "C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).mpg" "C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo" 
    tivodecode failed (exit code: 6 ) - check command: C:\kmttg-J\tivodecode\tivodecode.exe --mak MAK --out "C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).mpg" "C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo" 
    C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).TiVo: No such file or directory
    mpeg file not given or doesn't exist: C:\kmttg-J\The Colbert Report - Andy Cohen (07_29_2010).mpg
    
    
     
  9. Aug 1, 2010 #2489 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    You have TS download option enabled. Turn it off - as has been mentioned several times in this thread TS downloads don't work reliably:
    File-Configure, Program Options tab, turn off "Download TiVo files in Transport Stream format"
     
  10. Aug 2, 2010 #2490 of 10413
    marbordom

    marbordom Member

    38
    0
    Sep 29, 2007
    Bronx, NY
    Thank you for the advice. I added rules in the firewall for the curl version under kmttg and the java binary. UAC is disabled. I will post once I check back on the programs progress.
     
  11. Aug 2, 2010 #2491 of 10413
    marbordom

    marbordom Member

    38
    0
    Sep 29, 2007
    Bronx, NY
    So I ran kmttg since last night as "Run once in GUI". The result is:
    2 Shows were downloaded and processed but the last one got stuck again.

    There is no NOTE: Shutdown but other unrelated errors:
    2010_08_02_10:36:43 ERROR: PARSE_MPEG12: add_frames(47498) failed, exit
    2010_08_02_10:36:43 ERROR:
    2010_08_02_10:36:46 >> Running custom command ...
    2010_08_02_10:36:50 c:\cygwin\home\user\bin\postprocess.bat "e:\.tivo\CUT\Leverage - The Boost Job (08_01_2010)_cut.mpg" e:\TIVO
    2010_08_02_10:37:53 NOTE: custom job completed: 00:01:02
    2010_08_02_10:37:53 NOTE: exit code: 0
    2010_08_02_10:37:53 ---DONE--- job=custom
    2010_08_02_11:28:31 NOTE: Auto config settings saved
    2010_08_02_11:30:22 NOTE: Removing job: {source=https://192.168.0.20:443/TiVoVideoDetails?id=1877957 tivoName=DVR5974 type=decrypt status=queued familyId=3.04}
    2010_08_02_11:30:22 NOTE: Removing job: {source=https://192.168.0.20:443/TiVoVideoDetails?id=1877957 tivoName=DVR5974 type=comcut status=queued familyId=3.1}
    2010_08_02_11:30:22 NOTE: Killing 'download' job: C:\kmttg\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\user\AppData\Local\Temp\cookie751828343547506502.tmp --url http://192.168.0.20:80/download/Burn Notice.TiVo?Container=/NowPlaying&id=1877957 --output "e:\.tivo\ORIG\Burn Notice - Where Theres Smoke (07_29_2010).TiVo"
    2010_08_02_11:30:22 ERROR: mpeg file not found: e:\.tivo\MPG\Burn Notice - Where Theres Smoke (07_29_2010).mpg
    2010_08_02_11:30:23 >> CREATING e:\.tivo\CUT\Bewitched - Santa Comes to Visit and Stays and Stays (07_29_2010)_cut.mpg.txt ...
    2010_08_02_11:30:23 C:\kmttg\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\user\AppData\Local\Temp\cookie5702979565910547588.tmp --url https://192.168.0.20:443/TiVoVideoDetails?id=1845398 --output C:\Users\user\AppData\Local\Temp\meta1363277213042505942.tmp
    2010_08_02_11:30:23 >> Running custom command ...
    2010_08_02_11:30:23 c:\cygwin\home\user\bin\postprocess.bat "e:\.tivo\CUT\Burn Notice - Where Theres Smoke (07_29_2010)_cut.mpg" e:\TIVO
    2010_08_02_11:30:25 NOTE: metadata job completed: 00:00:02
    2010_08_02_11:30:25 ---DONE--- job=metadata output=e:\.tivo\CUT\Bewitched - Santa Comes to Visit and Stays and Stays (07_29_2010)_cut.mpg.txt
    2010_08_02_11:30:26 >> DOWNLOADING e:\.tivo\ORIG\Bewitched - Santa Comes to Visit and Stays and Stays (07_29_2010).TiVo ...
    2010_08_02_11:30:26 C:\kmttg\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\user\AppData\Local\Temp\cookie2672569525425738517.tmp --url http://192.168.0.20:80/download/Bewitched.TiVo?Container=/NowPlaying&id=1845398 --output "e:\.tivo\ORIG\Bewitched - Santa Comes to Visit and Stays and Stays (07_29_2010).TiVo"
    2010_08_02_11:30:39 NOTE: custom job completed: 00:00:15
    2010_08_02_11:30:39 NOTE: exit code: 0
    2010_08_02_11:30:39 ---DONE--- job=custom

    The last show: starting in log as '2010_08_02_11:30:26 >> DOWNLOADING' was now stuck with no increasing file size ~585 out of 750 MB
    I noticed that after this happened two curl processes show up in task manager even if kmttg is closed.

    After that I captured the curl command:
    and ran it in a command shell. It also gets stuck at 585 MB. Interesting is that the downloaded size stays at 585MB and the download rate drops almost linear while the process is stuck.
    So I have Windows Firewall turned off now and retry. The next step is to kill all curl processes prior.
     
  12. Aug 3, 2010 #2492 of 10413
    Tiresius

    Tiresius New Member

    37
    0
    Mar 22, 2004
    Mesa, AZ
    Kevin(&all),

    First off, great program. I remember years ago you were building some excellent tools for the Motorola 64xx DVR's before you joined the Tivo ranks(I think you had some replaytv boxes too).

    I'm testing kmttg to move HD shows from my Series 3 Tivo to my iPad to watch while travelling. My test cases have been with 1080i recordings of the CBS series "Flashpoint".

    Everything has gone great and they look great, except for an audio sync issue when using ffmpeg. The audio lags behind the video by almost 2 seconds. It happens from the beginning of the video and stays the same throughout(it does not get progressively worse). The issue occurs and seems the same with both episodes that I have tested. The issue can be observed by watching the file in iTunes or Quicktime(i.e. you don't need an iPad to see it) I'm aware that video redo can be used to fix some sync issues, but I'm not sure this is the type it fixes.

    I'm using the ff_ipad profile, but modified it to higher resolution as I'm more concerned about res than file size since I'll watch once and delete.
    I did find an "-async 1" switch that I tried, but it made no difference.

    Here's the current command line in my .enc file:
    FFMPEG -async 1 -y -i INPUT -threads CPU_CORES -vcodec libx264 -level 31 -subq 6 -me_range 16 -qmin 10 -qmax 50 -g 300 -s 1280xHEIGHT -r 29.97 -b 2500k -maxrate 4000k -acodec aac -ac 2 -ab 160k -ar 48000 -f mp4 OUTPUT

    I don't know what most of the switches are, but the only thing I modified is adding the "-async 1" and changed "-s 1280xHEIGHT) to get 1280x720 resolution.

    FYI, the Tivo file and MPG file do not have the audio sync issue.
    I also tried handbrake(from the HB gui) and did not have the sync issue.
    Also, after avoiding it for years -I actually bought Tivo Desktop Plus to test this. The audio sync issue does not occur, but the video looks like s^#t since the resolution they use for ipad is 640x360(WTF!), and you have no control to change it. Wish I could get that money back...

    I would just use HB, but it is ridiculously SLOW, took 3 1/2 hours to do the same episode that ffmpeg did in about an hour.
    In HB I used an the AppleTV profile at 960x544, with the AAC audio codec mixed down to Dolbly Pro Logic II.

    Any thoughts?
     
  13. Aug 3, 2010 #2493 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Tiresius, yeah the good 'ole ReplayTV days were great...
    VideoRedo QS Fix does fix glitches in the original mpg files such that when they are re-encoded the A/V sync issues go away, so that's the most reliable way to go.

    The ffmpeg -async parameter can work. Note that -async 1 is a special case which only tries to fix sync issue at the very start of the stream.
    This from the ffmpeg docs:
    So you can try with a much bigger async number such as -async 4800. Note that if sync is too far off that the audio stream correction may distort audio too much though and I saw in the past that using -async parameter can actually crash ffmpeg at times if timestamps are corrupted which is why I don't use it in default profiles. Can't hurt to try it though...

    P.S. There is some limited control over TD+ profiles you can achieve by editing xml files - search this forum for xml perhaps to find them. However there is little you can do and typically I don't think you can go higher resolution than the intended target device supports, which is probably TiVo protecting itself from content providers in case someone tries to use TD+ to generate high quality encryption free encodings to distribute over internet.
     
  14. Aug 3, 2010 #2494 of 10413
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Have you tried -async 50 ?
     
  15. Aug 3, 2010 #2495 of 10413
    Tiresius

    Tiresius New Member

    37
    0
    Mar 22, 2004
    Mesa, AZ
    Based on your's and Kevin's suggestion, I'll try -async 50 or 4800.

    FYI, I did try the default hb_appletv profile from kmttg. Worked, no audio sync issues, but it took HandBrake 4 1/2 hours vs. about an hour with ffmpeg.

    Kevin, on the TD+, I'll fish around for the xml info and see what I come up with. Since the native display of the device is 1024x768 and Apple's recommendations for video are 1280x720 or 960x544, I just can't see a legitimate reason for Tivo do use such a low-res, other than maybe filesize.

    My encodes with mtttg have been running about 1-1.2Gb for the 1-hour program.

    I'll let you know if I have any luck with ffmpeg.

    Cheers,
    Ray
     
  16. Aug 4, 2010 #2496 of 10413
    ferror

    ferror New Member

    66
    0
    May 3, 2005
    Austin, TX
    Just wanted to weigh in that I also recently started having the problem with downloads getting stuck for no reason. I have been running kmttg for several months without this particular problem, but something just recently changed. Maybe it is a Windows update, but not sure. The last time this worked was using the same version of kmttg (v0p7l) and curl (7.20.0) under Windows 7 x64. Downloads will progress to some random point in the file and then the flow of data simply stops, but curl is still running indefinitely. Cancelling the stuck download will get the next file downloading for awhile, but I have to add that file back to the bottom of the list. I can't quantify this (just a hunch), but it seems like it happens a little more frequently when the machine in under heavy load.

    This makes the whole experience very tedious now.
     
  17. Aug 4, 2010 #2497 of 10413
    marbordom

    marbordom Member

    38
    0
    Sep 29, 2007
    Bronx, NY
    Thanks ferror. Knowing that I am not the only person having that problem let me think I am not crazy. Your description is exactly the same I experience. I have finally noticed finally that firewall, User Access Contol and other nonsense are not the problem. Curl will get stuck on mu Win7 system either in service, GUI mode or even when I issue the command in a command shell. That said: I can download the same show showing the stuck download via curl from a MacBook in a shell. Also running iTivo runs smooth.
    That said all indicators point to a Windows problem and not a Tivo, kmttg or curl problem themselves. As suggested I also bet my pennies on a Windows update .. but which one ..
     
  18. Aug 4, 2010 #2498 of 10413
    AgtScully

    AgtScully New Member

    10
    0
    May 26, 2009
    Marbordom, maybe you’re on to something with the Windows 7 update theory. I'm having a similar problem where the “RUN IN GUI” works fine but kmttg in service mode will shut down on its own . The debug log has me and moyekj scratching our heads.
     
  19. Aug 4, 2010 #2499 of 10413
    Network_Guy

    Network_Guy New Member

    5
    0
    Apr 25, 2010
    I am running VideoReDo on WHS.

    When I run the VideoReDo from a console, QuickStream Fix runs fine. When I manually start kmttg and have it run VideoReDo QSFIX, it also runs fine.

    The problem happens when kmttg runs automatically as a service.

    Any suggestions?

    Thanks,
     
  20. Aug 4, 2010 #2500 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,736
    8
    Apr 6, 2000
    SF Bay Area
    I have seen this issue under v0p7l under Win XP. I haven't seen it under v0p7j.
     

Share This Page