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 9, 2010 #1881 of 10616
    sender_name

    sender_name I remember XM 202!

    227
    0
    Feb 11, 2005
    Northboro Ma
    Ok..well that link didn't actually include the hb_television.enc
    so i grabbed it from version g and overwrote the h version with it...still had the problem. So then i ran quickstream fix and that seemed to solve the problem i think..thanks
     
  2. Feb 9, 2010 #1882 of 10616
    moyekj

    moyekj Well-Known Member

    11,267
    81
    Jan 23, 2006
    Mission...
    If you have VideoRedo then QS Fix should be a permanent fixture in your task set - it is indispensable. Don't do any further processing until you have run video through QS Fix is my advice.
     
  3. Feb 9, 2010 #1883 of 10616
    scop

    scop New Member

    10
    0
    Jan 21, 2010
    Hi, thanks so much for this program. I noticed that the srvany folder is not in the updated Win32 tools package, is that deprecated or should I copy it over from my old install?

    Thanks in advance. :)
     
  4. Feb 9, 2010 #1884 of 10616
    moyekj

    moyekj Well-Known Member

    11,267
    81
    Jan 23, 2006
    Mission...
    It is no longer used. That was in place previously for the old/deprecated Perl based implementation but is no longer used anymore.
     
  5. Feb 9, 2010 #1885 of 10616
    bkdtv

    bkdtv New Member

    7,902
    0
    Jan 9, 2003
    DC Metro Area
    For the next release, you could remove VRD QS fix as a JOB option. You could leave it enabled by default, but allow the user to disable it on a global basis under the VideoRedo settings tab.

    I just don't see any scenario where a user with VideoRedo would want to disable this feature (assuming they know what they are doing) on a per program basis.

    Edit: Another possibility is that you remove VRD QS fix as a JOB option by default, but show it if the user deselects the option for "Always use Quickstream fix" (default is checked) on the VideoRedo settings tab.
     
  6. Feb 9, 2010 #1886 of 10616
    bkdtv

    bkdtv New Member

    7,902
    0
    Jan 9, 2003
    DC Metro Area
    With the same basic idea as above, you might consider [completely] hiding the JOB for "captions" unless the path for "t2extract (captions)" is specified. You might also do the same for the custom JOB.
     
  7. Feb 9, 2010 #1887 of 10616
    moyekj

    moyekj Well-Known Member

    11,267
    81
    Jan 23, 2006
    Mission...
    I still like to have flexibility. For example in FILES mode if you start from a TiVo or mpg file that already went through QS Fix previously then there is no need to run it again and the user can consciously make that decision. If it was a global setting then it would be a pain to go change the setting to skip that step for individual files - easier just to toggle the task on/off from main GUI.
    Another example is if user starts from FILES mode and selects a file that VRD QS Fix may not be able to process. (By default FILES mode has TiVo and mpg file filters but one can switch to '*' filter and start from any type of video file one desires perhaps to do an encode).
     
  8. Feb 9, 2010 #1888 of 10616
    scop

    scop New Member

    10
    0
    Jan 21, 2010
    Thanks, it was still in the win tools package v0p5m before the last release so I just wanted to make sure.
     
  9. Feb 10, 2010 #1889 of 10616
    abnersnell

    abnersnell New Member

    18
    0
    Mar 3, 2002
    Once I started to play around with the Auto Transfer service, running VideRedo as Admin, turning off UAC, I started to get the following message in either manual or auto runs. I re-enable UAC, still get this problem. I double-checked my MAK and the download step seems to work, I end up with a .tivo file. I have also restarted the Tivo. Any ideas?

    Code:
    >> Getting Now Playing List from TIVOHD ...
    C:\kmttg\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\Abner\AppData\Local\Temp\cookie758016583445182633.tmp --url https://192.168.1.3/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\Abner\AppData\Local\Temp\NPL7361577631969073013.tmp 
    NPL job completed: 00:00:01
    ---DONE--- job=playlist tivo=TIVOHD
    16 SHOWS, 40 GB USED
    'Dora the Explorer' 3 SHOWS, 1 GB USED
    
    Dora the Explorer - Big River
    Recorded Mon 02/08/2010 11:30 AM on 46=NIK, Duration = 30 mins
    Boots loses one of his boots in the river. 
    >> DOWNLOADING C:\kmttg\work\Dora the Explorer\Big River.TiVo ...
    C:\kmttg\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\Abner\AppData\Local\Temp\cookie6265728647074643292.tmp --url http://192.168.1.3:80/download/Dora%20the%20Explorer.TiVo?Container=%2FNowPlaying&id=2504939 --output "C:\kmttg\work\Dora the Explorer\Big River.TiVo" 
    C:\kmttg\work\Dora the Explorer\Big River.TiVo: size=357.78 MB elapsed=00:06:04 (8.25 Mbps)
    ---DONE--- job=download output=C:\kmttg\work\Dora the Explorer\Big River.TiVo
    >> DECRYPTING C:\kmttg\work\Dora the Explorer\Big River.TiVo ...
    C:\kmttg\tivodecode\tivodecode.exe --mak MAK --out "C:\kmttg\work\Dora the Explorer\Big River.mpg" "C:\kmttg\work\Dora the Explorer\Big River.TiVo" 
    tivodecode failed (exit code: 10 ) - check command: C:\kmttg\tivodecode\tivodecode.exe --mak MAK --out "C:\kmttg\work\Dora the Explorer\Big River.mpg" "C:\kmttg\work\Dora the Explorer\Big River.TiVo" 
    processing frame: No error
    Encryption by QUALCOMM ;)
    Invalid MAK -- aborting
    
     
  10. Feb 10, 2010 #1890 of 10616
    moyekj

    moyekj Well-Known Member

    11,267
    81
    Jan 23, 2006
    Mission...
    Obviously tivodecode is failing for some reason. That looks like kind of error tivodecode spits out for incomplete TiVo files. Is the Dora TiVo file complete? The total downloaded file size reported was 357MB. How about other shows, do they download & decrypt OK?

    If you have at least a partial TiVo Desktop installation with TiVoDirectShowFilter then you should be able to play the TiVo file to check it. Also you could enable Decrypt using VideoRedo instead of tivodecode option to use VideoRedo and TiVoDirectShowFilter to decrypt instead of tivodecode to see if that works.
     
  11. Feb 10, 2010 #1891 of 10616
    jbernardis

    jbernardis New Member

    1,072
    0
    Oct 21, 2003
    Princeton NJ
    Be aware that VideoRedo will not decrypt unless Tivo Desktop is installed. Once I made the full committment to use pytivo and kmttg exclusively, I uninstalled TD as fast as I could. After that, VideoRedo started giving me error messages about the MAK not being correct. I contacted the VRD folks and they confirmed this.

    Still not enough of a reason to reinstall TD.
     
  12. Feb 10, 2010 #1892 of 10616
    moyekj

    moyekj Well-Known Member

    11,267
    81
    Jan 23, 2006
    Mission...
    Yes, but once you have TD installed then when you uninstall it gives you an option to keep a partial installation that is enough to preserve the TiVoDirectShowFilter.dll and the MAK setting in the registry so that you can play back and/or decrypt TiVo files using the DirectShowFilter (what VRD does). This is my current setup - I don't like the TD monster installed and running either, but a partial install is fine. The nice thing about that setup too is you can then have kmttg combine VRD QS Fix & decrypt into a single step.
     
  13. Feb 10, 2010 #1893 of 10616
    jbernardis

    jbernardis New Member

    1,072
    0
    Oct 21, 2003
    Princeton NJ
    I didn't realize that - maybe it's worth an install/partial uninstall just to get this functionality back. Let me give it a try.

    Thanks
     
  14. Feb 11, 2010 #1894 of 10616
    tallott

    tallott New Member

    10
    0
    Jan 11, 2010
    Why do I get the following when attempting to push a file? I am running 7h on XP Pro SP3.

    java.lang.NullPointerException
    at com.tivo.kmttg.main.jobMonitor.videoFilesToProcess(jobMonitor.java:1007)
    at com.tivo.kmttg.main.jobMonitor.LaunchJobs(jobMonitor.java:932)
    at com.tivo.kmttg.gui.tivoTab.startCB(tivoTab.java:296)
    at com.tivo.kmttg.gui.gui$2.actionPerformed(gui.java:193)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
     
  15. Feb 11, 2010 #1895 of 10616
    JZ1276

    JZ1276 Member

    99
    0
    Aug 20, 2008
    can you tell me how I can use this program to get an avi file (divx or xvid) as the final result? Thanks.
     
  16. Feb 11, 2010 #1896 of 10616
    moyekj

    moyekj Well-Known Member

    11,267
    81
    Jan 23, 2006
    Mission...
    Looks like a bug when config pyTivo tab Files to push is set to all and you try to push from FILES mode. I will fix that for next release. In meantime if you set Files to push to last then it works. Thanks for reporting it.
     
  17. Feb 11, 2010 #1897 of 10616
    moyekj

    moyekj Well-Known Member

    11,267
    81
    Jan 23, 2006
    Mission...
    Need more details. Do you want a specific output resolution or same as source? Are you targeting a particular device for playback or just want a high quality result? Currently kmttg only has 2 profiles that output avi but they are targeting the Creative Zen device and output 320x240 resolution: ff_zen & me_zen.
     
  18. Feb 11, 2010 #1898 of 10616
    spocko

    spocko Member

    448
    2
    Feb 4, 2009
    That is good justification for having at least a partial install of TD. Another alternative to the partial it is to keep it fully installed but shutdown the background services. This allows you to actually run TD if you want to, but you can prevent it from wasting resources when you are not using it. See this thread for info on how to manually start/stop the TD background services.

    http://www.tivocommunity.com/tivo-vb/showthread.php?t=436792
     
  19. Feb 11, 2010 #1899 of 10616
    dsloth

    dsloth New Member

    11
    0
    Nov 23, 2006
    I have been using kmttg for some time, but I used it with TVAP because I liked the way TVAP handled VDR. But now that kmttg utilizes PyTivo push I am trying to switch to just kmttg to automate transfers between my TivoHD and my series 2. I am having problems getting kmttg to run qsfix. It will auto download the program, but then the tivo file won't open and I get an error message saying mpeg stream failed, tivo file open failed check MAK. My log shows
    2010_02_11_15:07:19 >> CREATING N:\Recordings\My TiVo\Edits\Damages 303 Flights at 1108 (Rec 02_10_2010)_cut.mpg.txt ...
    2010_02_11_15:07:19 "C:\Program Files\kmttg\curl\curl.exe" --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\WINDOWS\TEMP\cookie5212321791632155221.tmp --url https://xxx.xxx.0.xxx:443/TiVoVideoDetails?id=2701864 --output C:\WINDOWS\TEMP\meta4101146749004891428.tmp
    2010_02_11_15:07:21 NOTE: metadata job completed: 00:00:02
    2010_02_11_15:07:21 ---DONE--- job=metadata output=N:\Recordings\My TiVo\Edits\Damages 303 Flights at 1108 (Rec 02_10_2010)_cut.mpg.txt
    2010_02_11_15:07:23 >> DOWNLOADING N:\Recordings\My TiVo\Kmttg Transfers\Damages 303 Flights at 1108 (Rec 02_10_2010).TiVo ...
    2010_02_11_15:07:23 "C:\Program Files\kmttg\curl\curl.exe" --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\WINDOWS\TEMP\cookie8929206899353984372.tmp --url http://xxx.xxx.0.xxx:80/download/Damages.TiVo?Container=/NowPlaying&id=2701864 --output "N:\Recordings\My TiVo\Kmttg Transfers\Damages 303 Flights at 1108 (Rec 02_10_2010).TiVo"
    2010_02_11_16:14:26 NOTE: N:\Recordings\My TiVo\Kmttg Transfers\Damages 303 Flights at 1108 (Rec 02_10_2010).TiVo: size=1112.73 MB elapsed=01:07:02 (2.32 Mbps)
    2010_02_11_16:14:26 ---DONE--- job=download output=N:\Recordings\My TiVo\Kmttg Transfers\Damages 303 Flights at 1108 (Rec 02_10_2010).TiVo
    2010_02_11_16:14:28 NOTE: VideoRedo video dimensions filter is enabled
    2010_02_11_16:14:30 NOTE: VideoRedo video dimensions filter set to: x=480, y=480
    2010_02_11_16:14:30 >> Running qsfix on N:\Recordings\My TiVo\Kmttg Transfers\Damages 303 Flights at 1108 (Rec 02_10_2010).TiVo ...
    2010_02_11_16:14:30 C:\WINDOWS\system32\cscript.exe //nologo C:\WINDOWS\TEMP\VRD7613488763633313239.vbs "N:\Recordings\My TiVo\Kmttg Transfers\Damages 303 Flights at 1108 (Rec 02_10_2010).TiVo" "N:\Recordings\My TiVo\Edits\Damages 303 Flights at 1108 (Rec 02_10_2010).mpg.qsfix" /l:C:\WINDOWS\TEMP\VRDLock3735084124546195323.tmp
    2010_02_11_17:30:13 ERROR: qsfix failed (exit code: 0 ) - check command: C:\WINDOWS\system32\cscript.exe //nologo C:\WINDOWS\TEMP\VRD7613488763633313239.vbs "N:\Recordings\My TiVo\Kmttg Transfers\Damages 303 Flights at 1108 (Rec 02_10_2010).TiVo" "N:\Recordings\My TiVo\Edits\Damages 303 Flights at 1108 (Rec 02_10_2010).mpg.qsfix" /l:C:\WINDOWS\TEMP\VRDLock3735084124546195323.tmp
    2010_02_11_17:30:15 ERROR: mpeg file not found: N:\Recordings\My TiVo\Edits\Damages 303 Flights at 1108 (Rec 02_10_2010).mpg
    2010_02_11_17:30:17 ERROR: vprj file not found: N:\Recordings\My TiVo\Edits\Damages 303 Flights at 1108 (Rec 02_10_2010).VPrj
    2010_02_11_17:30:17 ERROR: mpeg file not found: N:\Recordings\My TiVo\Edits\Damages 303 Flights at 1108 (Rec 02_10_2010).mpg

    I've run VideoReDo tv suite 4 prior to trying this. It runs in batch mode. I also could run kmttg in gui and it worked, that is I can choose a show in GUI and it processed all the way through push (though i haven't tried that again since I reinstalled kmttg and VDRTV4). It's in only in auto that fails.
    I am on Windows XP S3, VideoRedo TV Suite4(595 build), TD 2.8 and kmttg v0p7h
     
  20. Feb 11, 2010 #1900 of 10616
    moyekj

    moyekj Well-Known Member

    11,267
    81
    Jan 23, 2006
    Mission...
    That is the key to the problem: for some reason VRD cannot open the TiVo file, at least while running in service mode.

    Are you able to start VRDTVS4 and open the following TiVo file and run qsfix on it via the GUI?
    N:\Recordings\My TiVo\Kmttg Transfers\Damages 303 Flights at 1108 (Rec 02_10_2010).TiVo

    If opening via GUI works then my guess is that it's a permission problem of some sort related to service mode. As detailed in the VideoRedo_configuration Wiki make sure to setup the kmttg service to run using same account you are using when running VRD GUI.
     

Share This Page