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. Jun 2, 2009 #761 of 10616
    bkdtv

    bkdtv New Member

    7,902
    0
    Jan 9, 2003
    DC Metro Area
    Are you using an antivirus program that might halt the transfers?
     
  2. Jun 2, 2009 #762 of 10616
    bkdtv

    bkdtv New Member

    7,902
    0
    Jan 9, 2003
    DC Metro Area
    Minor suggestion for next version:

    Remember the last source/device setting when you exit kmttg. If "Living Room" TiVo is selected when I exit the program, then it should default to that the next time I start the program.
     
  3. Jun 2, 2009 #763 of 10616
    krar4

    krar4 New Member

    57
    0
    Dec 21, 2002
    IL
    BK - I'm just using the free version of AVG Antivirus. It's the same antivirus I'm using on my wired desktop. The download starts just fine on my wireless laptop, but then it halts. The first time it halted 23MB into the download.

    Help?

    Thanks,
    Rick
     
  4. Jun 2, 2009 #764 of 10616
    moyekj

    moyekj Well-Known Member

    11,266
    81
    Jan 23, 2006
    Mission...
    There should be an accompanying error message in message window if it stops abnormally. Does that provide any insight? You can also double click on the download job in JOB MONITOR once you start the download to get more information about what is happening.
     
  5. Jun 2, 2009 #765 of 10616
    mchief

    mchief Morey

    336
    1
    Sep 10, 2005
    Alexandria, VA
    Have not been able to get kmttg to run. Double clicking on the .jar file, I get a flash of a DOS dialog box and nothing else. Can't find a log file to help. Java is up to date and running Vista Home Pre SP2. Tried 'opening with' JAVA Platform SE binary with the same result.
     
  6. Jun 2, 2009 #766 of 10616
    moyekj

    moyekj Well-Known Member

    11,266
    81
    Jan 23, 2006
    Mission...
    If you run from "cmd" window then you can see any error messages Java is spitting out:
    * Open a "cmd" window AKA DOS box (From Start you can just type in "cmd") and then execute the following:
    java -jar "<PathWhereYouInstalled>\kmttg.jar"

    (Change <PathWhereYouInstalled>\kmttg.jar above with the full path to the kmttg.jar file)
     
  7. Jun 2, 2009 #767 of 10616
    krar4

    krar4 New Member

    57
    0
    Dec 21, 2002
    IL
    When the download stops there is no error message. It looks like the job is still ready to run, but the downloaded quantity stops counting upwards. When I first click on Start, the download begins and it counts the megabytes upwards. When it got to 23MB, it stopped counting upwards for about 5-7 minutes, so I canceled the job. I started another download, and it started counting upwards immediately only to stop the count at about 15MB. Again, after about 5-7 minutes, I canceled the job. I still showed connected to the wireless network, and after I canceled the job both times, I opened IE and was able to use the internet without difficulty. This probably won't be a big issue for me since I will usually use my wired desktop PC and let the jobs run overnight. Somewhere between being wired and having more time, I'm guessing the jobs would've completed if I hadn't intervened.

    I just thought I would report my issue.

    Thanks again for some incredible software.

    Rick
     
  8. Jun 2, 2009 #768 of 10616
    moyekj

    moyekj Well-Known Member

    11,266
    81
    Jan 23, 2006
    Mission...
    If you do try it again from wireless laptop I'd be curious what you see when you double-click on the job in JOB MONITOR. For the window that comes up if the file is still downloading the "stderr" (bottom) pane should be continuously updating with statistics.
     
  9. Jun 2, 2009 #769 of 10616
    KateS

    KateS New Member

    7
    0
    Apr 19, 2009
    I think I've got a newbie configuration problem, but don't have the mental chops to figure it out. Have searched the last couple of days but haven't found the answer…

    I can successfully download .tivo files, but kmttg fails on decrypting (or encoding for that matter). Using the encoding profile ff_h264_high_rate, I get the error Failed to start command: ... /Volumes/Video workspace/kmttg_v0p6c/tivodecode/tivodecode: cannot execute. I get the same errors when I try decoding a different .tivo file (...tivodecode: cannot execute) or when I try to encode a file (...ffmpeg: cannot execute). I figure it must be in my installation, but am stumped.

    My setup:
    1. I'm running OS X 10.5x on a MacPro.

    2. I installed kmttg_v0p6c and tools on a new second drive: /Volumes/Video workspace/kmttg_v0p6c. (I double-checked for typos in the config settings.) This isn't my boot volume – is that my trouble?

    Can anyone help? Thx
     
  10. Jun 2, 2009 #770 of 10616
    moyekj

    moyekj Well-Known Member

    11,266
    81
    Jan 23, 2006
    Mission...
    When you installed did you let kmttg download and install the tools zip file or did you do it manually? It's one of 2 problems:

    1. The file permissions are not set to executable on the tool binaries. If this is the case then the following should solve that problem:
    From a command window execute the following:
    chmod -R u+x "/Volumes/Video workspace/kmttg_v0p6c"

    2. The binaries in the tool package are not compatible with your system. AudioNutz kindly generated the OSX binaries package for me but I'm not 100% sure if the binaries are compatible with all OSX 10.5x installations.
     
  11. Jun 2, 2009 #771 of 10616
    bkdtv

    bkdtv New Member

    7,902
    0
    Jan 9, 2003
    DC Metro Area
    Are you using 64-bit Vista?

    I had the same problem you describe with Streambaby. To fix it, I had to uninstall the 64-bit version of Java and re-install the 32-bit version of Java.

    Alternatively, you can leave the 64-bit version of Java installed, but also install the 32-bit version and create a shortcut as follows:

    Code:
    "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -jar "<PathWhereYouInstalled>\kmttg.jar"
    Edit: Amended to use javaw.exe, as per moyekj's suggestion.
     
  12. Jun 2, 2009 #772 of 10616
    moyekj

    moyekj Well-Known Member

    11,266
    81
    Jan 23, 2006
    Mission...
    Thanks bkdtv. I also have 64 bit Vista but installed 32 bit Java (I tend not to trust 64 bit versions too much). Just 1 amendment to the shortcut is to use javaw.exe instead of java.exe so as to not have a console window appear when you launch the shortcut.
     
  13. Jun 2, 2009 #773 of 10616
    krar4

    krar4 New Member

    57
    0
    Dec 21, 2002
    IL
    I just tried a 1-2 minute test of a TiVo download, comskip, comcut, and encode. The job failed at Encode. Here is what the Job Monitor showed:

    >> Getting Now Playing List from Downstairs TiVo ...
    C:\Home\curl\curl.exe --retry 3 --anyauth --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\Rick\LOCALS~1\Temp\cookie4111948128106114962.tmp --url https://192.168.1.68/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\DOCUME~1\Rick\LOCALS~1\Temp\NPL876488155684694976.tmp
    NPL job completed: 00:00:38
    ---DONE---
    TOTALS: 118 shows, 126.83 GB, 101:34 total time


    Operation Repo
    Recorded Tue 06/02/2009 03:59 PM, Duration = 0 mins

    Operation Repo
    Recorded Tue 06/02/2009 03:59 PM, Duration = 0 mins
    >> DOWNLOADING C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.TiVo ...
    C:\Home\curl\curl.exe --retry 3 --anyauth --user tivo:MAK --insecure --cookie-jar C:\DOCUME~1\Rick\LOCALS~1\Temp\cookie8071353304443835545.tmp --url http://192.168.1.68:80/download/Operation Repo.TiVo?Container=/NowPlaying&id=4216240 --output "C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.TiVo"
    C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.TiVosize=15.76 MB elapsed=00:00:52 (2.54 Mbps)
    ---DONE---
    >> DECRYPTING C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.TiVo ...
    C:\Home\tivodecode\tivodecode.exe --mak MAK --out "C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.mpg" "C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.TiVo"
    tivodecode job completed: 00:00:00
    ---DONE---
    (Deleted file: C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.TiVo)
    >> Running comskip on C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.mpg ...
    C:\Home\comskip\comskip.exe --ini C:\Home\comskip\comskip.ini "C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.mpg"
    comskip job completed: 00:00:06
    ---DONE---
    >> Running comcut on C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.mpg ...
    C:\Home\mencoder\mencoder.exe "C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.mpg" -edl "C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.edl" -oac copy -ovc copy -of mpeg -o "C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02_cut.mpg"
    comcut job completed: 00:00:00
    ---DONE---
    (Deleted mpeg file: C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.mpg)
    (Deleted edl file: C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.edl)
    >> ENCODING WITH PROFILE 'ff_h264_high_rate' TO FILE C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.mp4 ...
    C:\Home\ffmpeg\ffmpeg.exe -y -i "C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02_cut.mpg" -vcodec libx264 -coder 0 -level 41 -sameq -g 300 -bufsize 14745k -b 8000k -maxrate 16000k -bug +autodetect+ms -me_method epzs -trellis 2 -mbd 1 -acodec copy -f mp4 "C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.mp4"
    encoding failed (exit code: 1 ) - check command: C:\Home\ffmpeg\ffmpeg.exe -y -i "C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02_cut.mpg" -vcodec libx264 -coder 0 -level 41 -sameq -g 300 -bufsize 14745k -b 8000k -maxrate 16000k -bug +autodetect+ms -me_method epzs -trellis 2 -mbd 1 -acodec copy -f mp4 "C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02.mp4"
    FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
    configuration: --enable-memalign-hack --enable-postproc --enable-swscale --enable-gpl --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --disable-ffserver --disable-ffplay --enable-avisynth --enable-libdirac --enable-libschroedinger --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-libspeex --enable-libopenjpeg --enable-small --disable-decoder=aac --extra-cflags=-mtune=generic -fno-common -I/usr/local/include --extra-ldflags=-L/usr/local/lib
    libavutil 49.15. 0 / 49.15. 0
    libavcodec 52.20. 0 / 52.20. 0
    libavformat 52.31. 0 / 52.31. 0
    libavdevice 52. 1. 0 / 52. 1. 0
    libavfilter 0. 4. 0 / 0. 4. 0
    libswscale 0. 7. 1 / 0. 7. 1
    libpostproc 51. 2. 0 / 51. 2. 0
    built on Mar 13 2009 23:50:16, gcc: 4.3.3
    C:\Documents and Settings\Rick\My Documents\My Tivo Recordings\Operation Repo_Tue_Jun_02_cut.mpg: could not find codec parameters

    What does this mean to me, and how do I resolve it?

    Thanks,
    Rick
     
  14. Jun 2, 2009 #774 of 10616
    moyekj

    moyekj Well-Known Member

    11,266
    81
    Jan 23, 2006
    Mission...
    My guess is that for such a short clip commercial cutting phase may be thinking the whole thing is a commercial and there is nothing left of the resulting video file (i.e. the _cut.mpg file is almost empty). Try it without the comskip & comcut steps to see if that works OK.
     
  15. Jun 2, 2009 #775 of 10616
    cherry ghost

    cherry ghost Active Member

    5,380
    16
    Sep 13, 2005
    Chicago
  16. Jun 2, 2009 #776 of 10616
    moyekj

    moyekj Well-Known Member

    11,266
    81
    Jan 23, 2006
    Mission...
    OK, better link to a zip file here:
    http://mplayer.d-strict.com/get.php?dir=&file=mencoder-svn-27958.zip
    The file you want is mencoder.exe. Replace mencoder\mencoder.exe in the kmttg installation directory with the one in the above zip file.
    (Of course there's no guarantee it will behave any better than the kmttg packaged one but it's worth a shot).
     
  17. Jun 2, 2009 #777 of 10616
    cherry ghost

    cherry ghost Active Member

    5,380
    16
    Sep 13, 2005
    Chicago
    Thanks, I'll give it a shot.
     
  18. Jun 2, 2009 #778 of 10616
    moyekj

    moyekj Well-Known Member

    11,266
    81
    Jan 23, 2006
    Mission...
    P.S. I have another thing to try if you are still having issues. Specifically adding a few more options to mencoder to potentially fix timeline & audio/sync issues:
    -mpegopts format=dvd:tsaf -mc 0 -vf harddup
    If you are willing to try it out I can generate a test version of kmttg with those options added to see if that fares any better.
     
  19. Jun 2, 2009 #779 of 10616
    cherry ghost

    cherry ghost Active Member

    5,380
    16
    Sep 13, 2005
    Chicago
    No change with this. Still nothing in the status bar and FF and REW disabled.



    I'll try it, but again, I don't know where to add this.
     
  20. Jun 3, 2009 #780 of 10616
    windhello

    windhello New Member

    2
    0
    May 22, 2009
    It’s a piece of extremely powerful and full-featured converter software that supports almost all video and audio formats. The software is designed to convert video for your mobile video player as 3gp, mp4, PSP, PS3, iPod, iPhone etc and also VCD or DVD player, XBOX360
     

Share This Page