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 26, 2009 #961 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    OK, so you are NOT encoding. Note that to boost the volume you have to re-encode the audio but can leave the video alone. I created a sample encoding profile using mencoder that does just that: re-encodes audio to ac3 with audio boost and leaves the video alone. So do as follows:

    * Download volume_boost.enc and put it in the kmttg encode folder.
    * Now start kmttg and enable the "encode" step and choose volume_boost profile.
    * For existing .mpg files on your computer that you want to amplify volume for go into FILES mode and add the .mpg files you want to amplify audio. Enable "encode" step with volume_boost profile and nothing else, select all the files in the FILES list and then click START JOBS.
    * For future downloads where you want to apply the audio gain simply enable the "encode" step with volume_boost profile along with the other steps you normally use.

    NOTE: Files will come out with .boost.mpg extension as defined in the volume_boost.enc file. If you don't like that edit the file and change it to something you want (but don't use just mpg since it can't be same extension as your source files).

    NOTE: You can also increase or decrease volume by changing volume=15 up or down as desired in the volume_boost.enc file.

    As bkdtv mentioned use a good editor such as Notepad++ to edit and save these .enc files.
     
  2. Jun 26, 2009 #962 of 10411
    krar4

    krar4 New Member

    57
    0
    Dec 21, 2002
    IL
    KJ -

    Excellent! I will give that a try. We fly again next Thursday, so I'll have an opportunity to give it a try then. And thanks to all for educating me on .mpg/.mp2/mp4 etc. That's all good to know.

    Thanks!

    Rick
     
  3. Jun 26, 2009 #963 of 10411
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Someone didn't read the documentation...
     
  4. Jun 26, 2009 #964 of 10411
    krar4

    krar4 New Member

    57
    0
    Dec 21, 2002
    IL
    Sorry, I guess... I haven't seen any documentation on boosting volume in KMTTG... I appreciate the helpful responses.
     
  5. Jun 26, 2009 #965 of 10411
    smelchionda

    smelchionda New Member

    7
    0
    May 20, 2008
    I'm running a Vista home media server and I wanted to have Kmttg pull content off my Tivo Series 3 so I could watch it in another room on the media server. I've already got pyTivo on the Vista media server successfully serving files up to the Tivo S3 I just cant get kmttg to do a successful download. I get the following error.

    >> DOWNLOADING E:\PUBLIC\VIDEO\Z_KMTTG_From Tivo\The Colbert Report - David Kilcullen_Tue_Jun_23.TiVo ...
    "C:\Program Files\kmttg\kmttg_v0p6f\curl\curl.exe" --retry 3 --anyauth --user tivo:MAK --insecure --cookie-jar C:\Users\Admin\AppData\Local\Temp\cookie7456669681717111605.tmp --/download/The%20Colbert%20Report.TiVo?Container=%2FNowPlaying&id=2040203output "E:\PUBLIC\VIDEO\Z_KMTTG_From Tivo\The Colbert Report - David Kilcullen_Tue_Jun_23.TiVo"
    E:\PUBLIC\VIDEO\Z_KMTTG_From Tivo\The Colbert Report - David Kilcullen_Tue_Jun_23.TiVosize=0.00 MB elapsed=00:00:07 (0.00 Mbps)
    Download failed to file: E:\PUBLIC\VIDEO\Z_KMTTG_From Tivo\The Colbert Report - David Kilcullen_Tue_Jun_23.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 204 0 --:--:-- --:--:-- --:--:-- 204
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries
    Warning: left.
    Throwing away 51 bytes

    0 51 0 51 0 0 466 0 --:--:-- --:--:-- --:--:-- 466
    0 51 0 51 0 0 466 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 544 0 --:--:-- --:--:-- --:--:-- 544
    0 51 0 51 0 0 544 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
    >> DECRYPTING E:\PUBLIC\VIDEO\Z_KMTTG_From Tivo\The Colbert Report - David Kilcullen_Tue_Jun_23.TiVo ...
    "C:\Program Files\kmttg\kmttg_v0p6f\tivodecode\tivodecode.exe" --mak MAK --out "E:\PUBLIC\VIDEO\Z_KMTTG\The Colbert Report - David Kilcullen_Tue_Jun_23.mpg" "E:\PUBLIC\VIDEO\Z_KMTTG_From Tivo\The Colbert Report - David Kilcullen_Tue_Jun_23.TiVo"
    tivodecode failed (exit code: 9 ) - check command: "C:\Program Files\kmttg\kmttg_v0p6f\tivodecode\tivodecode.exe" --mak MAK --out "E:\PUBLIC\VIDEO\Z_KMTTG\The Colbert Report - David Kilcullen_Tue_Jun_23.mpg" "E:\PUBLIC\VIDEO\Z_KMTTG_From Tivo\The Colbert Report - David Kilcullen_Tue_Jun_23.TiVo"
    read chunk data: No error
    seek: No error
    Encryption by QUALCOMM ;)

    Also, what should the directory look like where kmttg is installed? Mine is set up like this.

    C:\Program Files\kmttg\kmttg_v0p6f\tivodecode\tivodecode.exe"

    Any help would be appreciated.
     
  6. Jun 26, 2009 #966 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    smelchionda, the curl.exe command you posted doesn't list the --url http portion properly (looks like you intentionally removed that portion), but I assume you have the proper IP set since you are able to get listings from your TiVo via kmttg.
    Your installation seems fine as far as I can tell.

    Try this:
    * Open a web browser and copy the whole http command from kmttg message window. i.e. The string following the --url option and starting with http.
    If that doesn't work either then that means your TiVo server is in a bad state that probably a reboot would cure.
    If it does work that means the TiVo itself is OK but perhaps your firewall is blocking "curl.exe" on port 80. Usually for that case you are prompted by Windows if you want to allow an application to access your network, but it could be you either were not prompted or you were prompted but did not allow access. You can look at your firewall settings to see what programs are granted exceptions. Look for curl.exe and make sure it's one of them, otherwise add it manually.

    CORRECTION: I think it's actually Java that you have to grant access to the firewall, not curl.exe directly.
     
  7. Jun 26, 2009 #967 of 10411
    smelchionda

    smelchionda New Member

    7
    0
    May 20, 2008
    Thanks for the suggestions... after I put the kids to bed I'll give it a shot.

    I didnt post the url because the forum will not let me post urls or pictures because I don't have enough posts. I need a few more posts and then.

    Also, on my Vista media server box I have the firewall turned off, however my Leviton internet gateway has an active firewall so I'll have to check if that firewall is blocking java.
     
  8. Jun 27, 2009 #968 of 10411
    smelchionda

    smelchionda New Member

    7
    0
    May 20, 2008
    I re stated the Tivo and now Kmttg appears to be able to pull files off of the Tivo. I've identified a few problems.

    1.) I think I've discovered that if the download from the Tivo is interrupted then the Tivo will not be able to re-connect with Kmttg on the next download unless I restart the Tivo. Anyone see this?

    2.) Downloads that are not completed cant be restarted unless you go in and delete the files KMTTG created in the destination folder.

    3.) I'm having trouble getting Kmttg to run in the back ground as a service. For example, Kmttg will not identify programs for automatic download unless I run it in the UI.

    4.) I have my server set up to put itself to sleep at night to save electricity and then wake itself in the morning. My concern is that if it puts its self to sleep during a download then I'll have to manually delete the files and restart my Tivo to get this set up to continue working the next day.

    Question - Anyone know if this file transfer goes though the home network or does it go out to the internest and then back to the home network?

    I guess I've got lots of problems! lol!
     
  9. Jun 27, 2009 #969 of 10411
    mikesas

    mikesas New Member

    4
    0
    Dec 31, 2006
    I had the exact same problem on Vista Ultimate and adding a firewall exception for curl.exe in the standard windows firewall resolved the problem.
     
  10. Jun 27, 2009 #970 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    v0p6g (06/27/2009)
    ==================

    NOTE: Special thanks to bkdtv for good suggestions and for help testing this and prior releases.

    release_notes

    ENHANCEMENTS
    * Added job insertion capability. Previously when starting a task set for a show and you forgot to enable a task there was no good way to add it without killing all running jobs and starting over. Now kmttg will insert the task into the task set if possible without you having to start over. For example, you start a download but forgot to enable decrypt. Previously if you then enabled decrypt and clicked on START JOBS again kmttg would try and decrypt the partially download .TiVo file. Now kmttg will queue up the decrypt job and wait for download to complete as is desired.

    * Switched to use Bonjour (MDNS) for networked Tivo discovery. Faster and perhaps more reliable method of Tivo detection compared to the older Tivo Beacon method. NOTE: Check still designed to stop after 5 minutes.

    * Added support for moving columns around for Tivo and FILES tables. You can hold down left mouse button on a column header and drag the column to a new position. Thus for example you can move SHOW column from last column to second column etc. Also kmttg will remember and restore same column order for each tab in next session.

    * Added SOURCE and OUTPUT columns to job monitor in place of DESCRIPTION column. This allows more text to be seen in output file name.

    * Added "Show full paths in Job Monitor" configuration option to control if you would like to see full path names in Job Monitor or not.

    * Added Help->About... menu that brings up a dialog showing current and latest version as well as html links to kmttg web pages.

    * Changed default tivo file naming template to "[title] ([monthNum]_[mday]_[year])".

    * All sub-windows now are first positioned relative to main window instead of top left corner of the screen.

    * Minor: Changed "Other" tab name to "General" in configuration GUI.

    * Minor: Added an extra space to right justified SIZE and DATE table columns to give some more separation of text from next column.

    * Minor: Changed table column background grey columns to a much lighter shade of grey.

    FIXES
    * Refreshing encoding profiles will not reset current encoding profile setting if still valid.

    * Removed '-aspect 16:9' from ff_psp profile so as to avoid distorting 4:3 aspect ratio sources.

    * Removed '-threads' argument from ff_zune profile since wmv codec does not allow for more than 1 thread.

    * Made all encode profile files DOS compatible so they can be edited with Windows simple Notepad editor.
     
  11. Jun 27, 2009 #971 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    What do you mean by interrupted? Canceling downloads and starting new ones from kmttg has never been a problem for me, and I've not heard that reported as a problem by others before either.

    By design kmttg is cautious and will not look to overwrite existing files with same name. Under normal conditions downloads should not be incomplete/failing anyway.

    Be sure to consult the auto_transfers wiki page to see if you have kmttg auto transfers properly configured and service properly installed and started. All auto transfers activity is logged to auto.log file in kmttg installation dir so if there are any problems you should look at that file. You should use Auto Transfers->Run in GUI to test your Auto Transfer setup. Once that is working then running as a service should work as well. Could possibly be account permissions related issue in which case configuring service to run using a local account. Consult this page for more details on that.

    Yes that is an issue if you are using service mode and have computer automatically shutting down while it's still running. Restarting your Tivo should NOT be necessary however.

    It's on your LAN (home network) only. It couldn't possibly go through WAN (internet) anyway without port forwarding setup on your router firewall and some special configuration options.
     
  12. Jun 27, 2009 #972 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Interesting, thanks for posting. I'm running Vista Home Premium and have not had to do that - only Java. This is a good reference post for people reporting similar problems in the future though...
     
  13. Jun 27, 2009 #973 of 10411
    krar4

    krar4 New Member

    57
    0
    Dec 21, 2002
    IL
    KJ,

    The Volume_Boost.enc file works beautifully! Thanks for posting. Thanks again to all who made helpful responses!

    Rick
     
  14. Jun 27, 2009 #974 of 10411
    castlemoyle

    castlemoyle New Member

    22
    0
    Mar 14, 2009
    On the lost...
    I've also got the problem with the Tivo connection to my LAN being "disconnected" requiring a re-boot of the Tivo. I've been playing around with my network and have almost found the solution but not yet. When it happens, Kmttg keeps incrementing the time, but nothing gets copied to my computer. Stopping Kmttg and restarting it gives an error message and repetitive beeping that it can't find the DVR. All 6 of the computers on the network can continue to see each other, but NOT the Tivo. And my Tivo is unable to connect with the Tivo world headquarters (The worldwide tivo wherever it is) until I reboot it. The amount of material transferred appears to be random. Last weekend I transferred/downloaded 10 or 11 1/2 hr tv shows and a couple of movies before it choked. Today (after a Tivo reboot) I got half of a 90 minute movie.

    Kmttg is more reliable than desktop (the older version). Thanks for that!

    John (aiming for the 10 messages to finally see peoples' signatures!)
     
  15. Jun 27, 2009 #975 of 10411
    castlemoyle

    castlemoyle New Member

    22
    0
    Mar 14, 2009
    On the lost...
    Now that's cool! I just scrolled through the output window to see if I could find the error message I referenced above and see that when KMTTG starts up, it shows the number of shows and space used on the DVR harddrive. Never saw that before.

    John
     
  16. Jun 27, 2009 #976 of 10411
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    Are you using a wired ethernet connection right into your router?

    Are you using a static IP address on the tivo? If you aren't, you might consider switching to a static IP address no matter what your connection is.

    Have you checked and tested network status on the tivo when the problem happens?

    -David
     
  17. Jun 27, 2009 #977 of 10411
    LordXerxes

    LordXerxes New Member

    13
    0
    Mar 30, 2005
    Hey Moyekj,

    I just grabbed kmttg yesterday and converted a number of programs. Works great! Thanks!

    I did notice one thing, and I suppose I need to use the AutoTransfer option to work around it, but when I queued up a number of programs and then went to bed, once my screen saver kicked on, it appeared that all processing, including downloading paused. I guess I should mention that I am running Windows Vista Ultimate 64.

    I then saw that there was a new release today. I downloaded it and then ran into what is possibly a bug in the Detect TiVo routine. Upon launch, kmttg appears to try and connect to my TiVos to pull the latest NPL. I also have a Network Printer on my network. If I leave the "Look for Tivos on network" option checked I get a java error:

    None of the NPLs ever download. If I uncheck this option however, the TiVos already stored in my configuration are queried and the NPL are downloaded.

    Thanks again

    Lord Xerxes
     
  18. Jun 27, 2009 #978 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    That's surprising. I have screensaver kick in but it doesn't stop any processing when that happens. Do you have it configured such that screensaver logs you out or does something special other than just showing a screensaver?

    Yes there's a new MDNS based Tivo detection method in place. Thanks for posting the stack trace, I know exactly what the problem is and the fix is trivial. I can give you a copy of development version with a fix if you need it, but it's perfectly OK just to leave Tivo detection turned off if you already have Tivos configured anyway.
     
  19. Jun 27, 2009 #979 of 10411
    LordXerxes

    LordXerxes New Member

    13
    0
    Mar 30, 2005
    I don't have anything special set that I am aware of. I keep my computer on all the time. My power management settings only turn off the Display after 20 minutes. I am the only user and the only person in my house, so no reason to log me out. I am not quite sure why my downloads and decrypt/encrypts paused then.

    Lord Xerxes
     
  20. Jun 27, 2009 #980 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    v0p6h (07/27/2009)
    ==================

    ENHANCEMENTS
    * Added new boolean configuration option "Overwrite existing files" under "General" tab. By default kmttg has always been designed skip a task if output file for that task already exists. This option can be enabled to force kmttg to run the task and overwrite the existing file anyway.

    FIXES
    * Fix to Tivo detection algorithm to prevent exceptions for names with special characters.
     

Share This Page