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. Mar 2, 2010 #2001 of 10405
    CrispyCritter

    CrispyCritter Purple Ribbon Wearer

    3,646
    0
    Feb 28, 2001
    North...
    There are at least two possible explanations that others have seen:
    1. You just have a bad network - the TiVo is not good at recovering from some sorts of network errors.
    2. Some recorded programs have glitches in them and cannot be transferred from a TiVo by any mechanism. The TiVo needs to reconstruct the stream that it transfers to a non-identical device, and some glitches in some recordings cause the reconstruction to bomb. If your transfers are bombing at the same place on a recording, this is probably what's happening. If your TiVo disk is starting to go bad, this sort of error happens much more frequently.

    Note that interrupted transfers often require a TiVo reboot to clear out the partial transfered show - otherwise the TiVo keeps on trying to transfer the same show and bombing again.
     
  2. Mar 2, 2010 #2002 of 10405
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Also, try disabling your anti-virus if you haven't tried that. That is the other problem I have seen noted.
     
  3. Mar 2, 2010 #2003 of 10405
    miguelakiira

    miguelakiira New Member

    37
    0
    Jan 26, 2010
    Thanks guys, this is so helpful!
    Moyekj is there a way to have the kmttg service monitor curl, and have it cancel a process that is stalled?
     
  4. Mar 4, 2010 #2004 of 10405
    scop

    scop New Member

    10
    0
    Jan 21, 2010
    Hi, just doing some more research on the TS files being used in Australian boxes.

    I have already been checking out the patched tivodecode to see how that copes with the MPEG2 TS files.

    Then I tried to use the "Decrypt using VideoReDo instead of tivodecode" option. This doesn't work with the TS file. The error is:

    qsfix failed (exit code: 0 ) - check command: C:\WINDOWS\system32\cscript.exe //nologo C:\DOCUME~1\Tim\LOCALS~1\Temp\VRD5996870064600481566.vbs "D:\Tim\My Documents\My Videos\TiVo Recordings\Every Picture Tells a Story - The Tempest (02_20_2010)-TS.TiVo" "D:\Tim\My Documents\My Videos\kmttg\Every Picture Tells a Story - The Tempest (02_20_2010)-TS.mpg.qsfix" /l:C:\DOCUME~1\Tim\LOCALS~1\Temp\VRDLock2540545503438310644.tmp

    It works fine on the PS file:

    >> Running qsfix on D:\Tim\My Documents\My Videos\TiVo Recordings\Every Picture Tells a Story - The Tempest (02_20_2010).TiVo ...
    C:\WINDOWS\system32\cscript.exe //nologo C:\DOCUME~1\Tim\LOCALS~1\Temp\VRD1947087586603372174.vbs "D:\Tim\My Documents\My Videos\TiVo Recordings\Every Picture Tells a Story - The Tempest (02_20_2010).TiVo" "D:\Tim\My Documents\My Videos\kmttg\Every Picture Tells a Story - The Tempest (02_20_2010).mpg.qsfix" /l:C:\DOCUME~1\Tim\LOCALS~1\Temp\VRDLock9003063527354149503.tmp
    qsfix job completed: 00:01:03
    ---DONE--- job=qsfix output=D:\Tim\My Documents\My Videos\kmttg\Every Picture Tells a Story - The Tempest (02_20_2010).mpg.qsfix
    (Renamed D:\Tim\My Documents\My Videos\kmttg\Every Picture Tells a Story - The Tempest (02_20_2010).mpg.qsfix to D:\Tim\My Documents\My Videos\kmttg\Every Picture Tells a Story - The Tempest (02_20_2010).mpg)


    However, using VideoReDo by itself, the TS file can be decrypted using "Save Video As" but the QuickStream Fix tool doesn't work (using version 3.20.1.596). No doubt this is why it doesn't work via kmttg either. Not sure if this has been fixed in a more recent version of VideoReDo...
     
  5. Mar 4, 2010 #2005 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    You probably should report the bug in VideoReDo TVSuiteV4 forums. 596 is the most recent version released so there is no later version to try at the moment.
     
  6. Mar 4, 2010 #2006 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    The fact that it is stalling indicates a problem with the TiVo server, so terminating the job such that another job could proceed with a download from same TiVo likely wouldn't help much most of the time.
    In next release I already have implemented a scheme where failed downloads will be automatically tried again a user-specified number of times with a user-specified timeout between tries. That won't help for this specific issue where it is just stalling but may help in general when TiVo server rejects downloads requests with "Too Busy" type responses.
     
  7. Mar 4, 2010 #2007 of 10405
    nickhaas33

    nickhaas33 New Member

    38
    0
    Dec 11, 2006
    Moyekj,
    Do you have any more encoding options that are not included in the program itself.
    I am looking for either a handbrake, ffmpeg, or mencoder version for the Archos 605 wifi.
    I have tried several of the ones included, but in all instances the volume is too low, but I have found a couple that the video looks pretty good.
     
  8. Mar 4, 2010 #2008 of 10405
    scop

    scop New Member

    10
    0
    Jan 21, 2010
  9. Mar 5, 2010 #2009 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    If there's an ffmpeg profile that works well but it's just audio that's low you can add the following ffmpeg option to boost audio level:
    -vol 1024
    Nominal audio level is 256, so the above would mean a 4x boost or about 6dB. Obviously you can adjust the number to what works best for you. That's what I use in a profile for generating an encoding for my portable player.
     
  10. Mar 5, 2010 #2010 of 10405
    nickhaas33

    nickhaas33 New Member

    38
    0
    Dec 11, 2006
    I get the -ACODEC COPY is incompatible with -VOL XXX
    error, so I am making a special one without it as a trial.
    I saw the -vol in some posts about ffmpeg, but it does not appear
    on their official list of audio parameters.

    This device (Archos 605) has a very limited volume level due to European restrictions (trying to protect young ears).

    Thanks, as always for your help!
     
  11. Mar 8, 2010 #2011 of 10405
    miguelakiira

    miguelakiira New Member

    37
    0
    Jan 26, 2010
    Hi moyekj, it seems that the Tivo stall may have been from a corrupt recording, so canceling the curl process and blocking transfer of the file, by just leaving the partial failed transfer on the computer drive, should keep kmttg from downloading the problem file again.
     
  12. Mar 9, 2010 #2012 of 10405
    Mark Wilden

    Mark Wilden New Member

    15
    0
    Feb 25, 2008
    It would be great to have some form of retrying. Along the same lines, it would be awesome if partial files could be deleted when there was an error in any of the steps.
     
  13. Mar 10, 2010 #2013 of 10405
    miguelakiira

    miguelakiira New Member

    37
    0
    Jan 26, 2010
    I can refresh the playlist fine in gui, but the service logs this (I am running v0p7j beta):

    2010_03_10_15:14:23 "C:\Program Files (x86)\Kmttg\curl\curl.exe" --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\Akiira\AppData\Local\Temp\cookie6621888562058683134.tmp --url https://192.168.137.121/TiVoConnect...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\Akiira\AppData\Local\Temp\NPL7663042619077095029.tmp
    2010_03_10_15:14:23 >> Getting Now Playing List from DVR-3DA4 ...
    2010_03_10_15:14:23 "C:\Program Files (x86)\Kmttg\curl\curl.exe" --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\Akiira\AppData\Local\Temp\cookie1360216696993228927.tmp --url https://192.168.137.153/TiVoConnect...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\Akiira\AppData\Local\Temp\NPL4234473392847232126.tmp
    2010_03_10_15:14:23 >> Getting Now Playing List from DVR-3CC4 ...
    2010_03_10_15:14:23 "C:\Program Files (x86)\Kmttg\curl\curl.exe" --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\Akiira\AppData\Local\Temp\cookie2589818354145787140.tmp --url https://192.168.137.165/TiVoConnect...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\Akiira\AppData\Local\Temp\NPL4244606286315626034.tmp
    2010_03_10_15:14:23 >> Getting Now Playing List from DVR-044B ...
    2010_03_10_15:14:23 "C:\Program Files (x86)\Kmttg\curl\curl.exe" --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\Akiira\AppData\Local\Temp\cookie4012542622470897047.tmp --url https://192.168.137.33/TiVoConnect?...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\Akiira\AppData\Local\Temp\NPL2055956596832182805.tmp
    2010_03_10_15:14:23 >> Getting Now Playing List from DVR-17CA ...
    2010_03_10_15:14:23 "C:\Program Files (x86)\Kmttg\curl\curl.exe" --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\Akiira\AppData\Local\Temp\cookie2353748964714248948.tmp --url https://192.168.137.187/TiVoConnect...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\Akiira\AppData\Local\Temp\NPL3484454682106872382.tmp
    2010_03_10_15:14:23 >> Getting Now Playing List from DVR-1628 ...
    2010_03_10_15:14:23 "C:\Program Files (x86)\Kmttg\curl\curl.exe" --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\Akiira\AppData\Local\Temp\cookie8302899815042822683.tmp --url https://192.168.137.167/TiVoConnect...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\Akiira\AppData\Local\Temp\NPL932796738112311647.tmp
    2010_03_10_15:14:23 >> Getting Now Playing List from DVR-7090 ...
    2010_03_10_15:14:23 "C:\Program Files (x86)\Kmttg\curl\curl.exe" --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\Akiira\AppData\Local\Temp\cookie1320471116941194155.tmp --url https://192.168.137.73/TiVoConnect?...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\Akiira\AppData\Local\Temp\NPL5730515572134521701.tmp
    2010_03_10_15:14:45 ERROR: Failed to retrieve Now Playing List from DVR 3053
    2010_03_10_15:14:45 ERROR: Exit code: 7
    2010_03_10_15:14:45 ERROR: Check YOUR MAK & IP settings
    2010_03_10_15:14:45 ERROR: curl: (7) couldn't connect to host
    2010_03_10_15:14:45 ERROR: Failed to retrieve Now Playing List from DVR-3DA4
    2010_03_10_15:14:45 ERROR: Exit code: 7
    2010_03_10_15:14:45 ERROR: Check YOUR MAK & IP settings
    2010_03_10_15:14:45 ERROR: curl: (7) couldn't connect to host
    2010_03_10_15:14:45 ERROR: Failed to retrieve Now Playing List from DVR-3CC4
    2010_03_10_15:14:45 ERROR: Exit code: 7
    2010_03_10_15:14:45 ERROR: Check YOUR MAK & IP settings
    2010_03_10_15:14:45 ERROR: curl: (7) couldn't connect to host
    2010_03_10_15:14:45 ERROR: Failed to retrieve Now Playing List from DVR-044B
    2010_03_10_15:14:45 ERROR: Exit code: 7
    2010_03_10_15:14:45 ERROR: Check YOUR MAK & IP settings
    2010_03_10_15:14:45 ERROR: curl: (7) couldn't connect to host
    2010_03_10_15:14:45 ERROR: Failed to retrieve Now Playing List from DVR-17CA
    2010_03_10_15:14:45 ERROR: Exit code: 7
    2010_03_10_15:14:45 ERROR: Check YOUR MAK & IP settings
    2010_03_10_15:14:45 ERROR: curl: (7) couldn't connect to host
    2010_03_10_15:14:45 ERROR: Failed to retrieve Now Playing List from DVR-1628
    2010_03_10_15:14:45 ERROR: Exit code: 7
    2010_03_10_15:14:45 ERROR: Check YOUR MAK & IP settings
    2010_03_10_15:14:45 ERROR: curl: (7) couldn't connect to host
    2010_03_10_15:14:45 ERROR: Failed to retrieve Now Playing List from DVR-7090
    2010_03_10_15:14:45 ERROR: Exit code: 7
    2010_03_10_15:14:45 ERROR: Check YOUR MAK & IP settings
    2010_03_10_15:14:45 ERROR: curl: (7) couldn't connect to host
    2010_03_10_15:14:45
    'DVR 3053' PROCESSING SLEEPING 15 mins ...
    2010_03_10_15:14:45
    'DVR-3DA4' PROCESSING SLEEPING 15 mins ...
    2010_03_10_15:14:45
    'DVR-3CC4' PROCESSING SLEEPING 15 mins ...
    2010_03_10_15:14:45
    'DVR-044B' PROCESSING SLEEPING 15 mins ...
    2010_03_10_15:14:45
    'DVR-17CA' PROCESSING SLEEPING 15 mins ...
    2010_03_10_15:14:45
    'DVR-1628' PROCESSING SLEEPING 15 mins ...
    2010_03_10_15:14:45
    'DVR-7090' PROCESSING SLEEPING 15 mins ...
     
  14. Mar 11, 2010 #2014 of 10405
    cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    Push issue -

    Log file:
    ley job completed: 00:01:09
    ---DONE--- job=atomic output=E:\kmttg\home\Encode\Gary Unmarried\Gary Tries to Find Something for Mitch (Recorded Mar 10,2010).mp4
    This file is not located in a pyTivo share directory
    Available pyTivo shares:
    share=My Videos path=e:\KMMTG\Home\Encode

    Files to Push is set to "Encode File"
     
  15. Mar 11, 2010 #2015 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    Check again: the kmttg output dir location and pyTivo share path do not match just as the log file is saying:

    output=E:\kmttg\home\Encode\...

    share=My Videos path=e:\KMMTG\Home\Encode

    Aside from the obvious KMMTG typo case also matters, so "home" vs "Home" is also wrong as would be "kmttg" vs "KMTTG"
     
  16. Mar 11, 2010 #2016 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    Make sure to setup kmttg service with proper account. See auto_transfers Wiki, specifically the "CONFIGURING ACCOUNT TO RUN KMTTG WINDOWS SERVICE" section. Configure service to use same account that you are using to run the GUI where it is working.
     
  17. Mar 11, 2010 #2017 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    That's already in next version with code checked into SVN. You can configure kmttg for how many times to try again and interval of time to try between failed download attempts. I've been too busy with real work to contemplate an official release any time soon but if this really is an issue and you need a fix P.M. me for a beta version.
     
  18. Mar 11, 2010 #2018 of 10405
    cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    Ooops I always overlook the obvious....I just changed the spelling on the main folder but didn't correct my other typo.

    Rerunning test again.
     
  19. Mar 12, 2010 #2019 of 10405
    krafka

    krafka New Member

    1
    0
    Mar 12, 2010
    moyekj - I just found kmttg and love it.

    I have been using it for a couple weeks. All of a sudden, in the middle of downloading a show it stopped. After numerous attempts at restarting, I finally decided to remove the program, download the zip again, and reload it.

    Now, it doesn't work at all. Any suggestions - I get this red message:

    C:\Users\B\Documents\My TiVo Recordings\Cougar Town - Counting on You (03_10_2010).TiVo: size=0.00 MB elapsed=00:00:07 (0.00 Mbps)

    <h2>Server Busy</h2>
    Download failed to file: C:\Users\B\Documents\My TiVo Recordings\Cougar Town - Counting on You (03_10_2010).TiVo
    Exit code: 0
    &#37; Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed

    0 31 0 31 0 0 164 0 --:--:-- --:--:-- --:--:-- 164
    0 31 0 31 0 0 164 0 --:--:-- --:--:-- --:--:-- 0
    0 51 0 51 0 0 178 0 --:--:-- --:--:-- --:--:-- 178
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries
    Warning: left.
    Throwing away 51 bytes
     
  20. Mar 12, 2010 #2020 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    If you keep getting Server Busy busy message from the TiVo server then you usually have to reboot it to fix the problem.
     

Share This Page