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. Sep 7, 2010 #2601 of 10413
    bwall23

    bwall23 New Member

    73
    0
    Jun 8, 2009
    Yah, that's a funky part of it. A TiVo gets the OAD from the Tribune Guide Data (date only, no time) and stuffs the correct date in, but zeroes out the time since that's not important to the TiVo. It's in that format because that's what the TiVo uses internally. For all other Date/Time info the TiVo will adjust it internally to compensate for your time zone, but not for the OAD, it just looks at the date portion. If it actually adjusted it for your time zone, the date may end up being off if you're not in the GMT/UTC time zone. I guess the best thing to do would be to change the time portion of the OAD in the metadata to 12:00:00, since there are 25 time zones (GMT/UTC to GMT/UTC +/- 12 hrs). Since the TiVo ignores the time portion of the OAD, it won't cause a problem with the metadata for pyTiVo users.
     
  2. Sep 9, 2010 #2602 of 10413
    krar4

    krar4 New Member

    57
    0
    Dec 21, 2002
    IL
    Kevin,

    I have been using kmttg very successfully for a couple of years now. Early on, I had an Archos player and you did me a great favor by making a personalized encoding profile that worked for that player that you called "Volume_Boost" that increased the volume on the encoded file by 30% to give me sufficient available volume for when I'm flying. I just updated to the new 4th Gen Ipod Touch tonight. I confirmed that the "ff_ipod_high_res" encoding profile works for the Ipod Touch, so I'm writing to ask if you would consider writing another personalized "Volume Boost" version of the Ipod profile that would also increase the volume by 30%. That was a perfect amount.

    I appreciate any assistance, and thanks again for a wonderful program!

    Rick
     
  3. Sep 9, 2010 #2603 of 10413
    krar4

    krar4 New Member

    57
    0
    Dec 21, 2002
    IL
    Kevin,

    I think I figured out what I need to do on this. I found this instruction from 6/2009 when you created the last "Boost" profile for me. You said:

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

    I copied the "volume=15" instruction from the "volume_boost.enc" profile into the ff_ipod_high_res.enc profile. Will that do what I'm looking for?

    Thanks,
    Rick
     
  4. Sep 9, 2010 #2604 of 10413
    krar4

    krar4 New Member

    57
    0
    Dec 21, 2002
    IL
    Nope - Tried it, but the conversion failed. What am I missing? Is there a specific spot in the encoding profile where the volume instruction needs to be?

    Thanks,
    Rick
     
  5. Sep 9, 2010 #2605 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    That profile is for mencoder. ffmpeg is different. Below is the ff_ipod_high_res.enc profile with -vol 512 added which gives a 2x volume boost. A setting of 256 is nominal volume, higher means amplification, lower means attenuation. You may want to experiment with different values to find suitable one for you.
    Create ff_ipod_high_res_boost.enc file in the "encode" folder with following contents:
    Code:
    # Description (single line, keep short)
    <description>
    mpeg4 container, res x=640 30fps h.264 video, 48KHz/128Kbps 2 chan amplified aac audio
    
    # Encode command or script (single line)
    # Known keywords: FFMPEG, HANDBRAKE, MENCODER, PERL, INPUT, OUTPUT, PWD, CPU_CORES, SRTFILE
    <command>
    FFMPEG -y -i INPUT -threads CPU_CORES -vcodec libx264 -level 30 -subq 6 -me_range 16 -qmin 15 -qmax 20 -g 300 -s 640xHEIGHT -r 29.97 -b 1500k -maxrate 2000k -acodec aac -ac 2 -ab 128k -ar 48000 -f mp4 -vol 512 OUTPUT
    
    # Encoded output file extension
    <extension>
    mp4
    
     
  6. Sep 9, 2010 #2606 of 10413
    richklein

    richklein New Member

    98
    0
    Feb 9, 2001
    Hi,

    I am using version p7m (latest) & I am having an issue. When I download a show, it downloads the .tivo file (Raiders of the Lost Ark (06_19_2010).tivo), then makes two files:

    Raiders of the Lost Ark (06_19_2010).mp4
    Raiders of the Lost Ark (06_19_2010).mpg

    Why is it making both files? I just want the MPG file.

    Thanks,
    Rich
     
  7. Sep 9, 2010 #2607 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,739
    9
    Apr 6, 2000
    SF Bay Area
    Do you have ENCODE checked on Kmttg?
     
  8. Sep 10, 2010 #2608 of 10413
    krar4

    krar4 New Member

    57
    0
    Dec 21, 2002
    IL
    Kevin,

    I changed my ff_ipod_high_res.enc profile to what you showed above to increase the volume and make a "boost" profile out of it, but kmttg errored out and failed. I noticed you made several changes to the ff_ipod_high_res.enc profile besides just the volume boost change, so I went back to the original profile, added the "-vol 512" change to the profile only and tried again. This time the file encoded without any problems, and the volume was noticeably louder.

    Thanks again for your assistance.

    Rick
     
  9. Sep 10, 2010 #2609 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    You must be on older versions of kmttg & ffmpeg then. There was an update a couple of versions that updated several encoding profiles & ffmpeg. All the ipod profiles were updated to use the better H.264 video encoding among other changes. But if you are happy with what you have then no reason to update.
     
  10. Sep 10, 2010 #2610 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    Has there ever been an GUI enhancement request for an option to download all programs from a specific channel?
     
  11. Sep 10, 2010 #2611 of 10413
    gtalvola

    gtalvola New Member

    23
    0
    Apr 2, 2008
    I installed mkttg v0p7m on Windows 7. It doesn't see my Tivos even though Tivo Desktop does. Also, when I open up the Configuration page and then click OK, even without changing any settings, I get an error message:

    java.lang.NullPointerException
    at java.util.Hashtable.containsKey(Unknown Source)
    at com.tivo.kmttg.task.autotune.init(autotune.java:170)
    at com.tivo.kmttg.task.autotune.disable(autotune.java:190)
    at com.tivo.kmttg.gui.configMain.write(configMain.java:1238)
    at com.tivo.kmttg.gui.configMain.okCB(configMain.java:172)

    ...

    Anyone else seen this? I suspect there's some setup step I've missed.
     
  12. Sep 10, 2010 #2612 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    kmttg uses Bonjour to detect TiVos on the network which must not be working on your network. There is code to use the older detection method which maybe is what you are using in TiVo Desktop, but it's currently disabled in kmttg. You can manually specify TiVos on your network which is an option assuming their IP #s don't change:
    File-Configure-Tivos, specify name & IP and click on ADD then OK
     
  13. Sep 10, 2010 #2613 of 10413
    gtalvola

    gtalvola New Member

    23
    0
    Apr 2, 2008
    I did try entering my Tivos IP's manually which also didn't work, but I'm also having the other error where I get a stack trace when I try to click OK in the config GUI, so I'm not sure any of my config changes are actually taking effect. That makes me think there's something fundamental going wrong, like maybe I need to run kmttg as administrator or turn off my windows firewall or something. I'll experiment this weekend and report back my results.

    mkttg does successfully decrypt and transcode local files that I downloaded using Tivo Desktop, so it's not completely broken for me.
     
  14. Sep 10, 2010 #2614 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    Looks like there's a bug related to autotune stuff when no TiVos are initially available I will have to fix. For now easiest thing to do is for you to use previous version of kmttg:
    http://kmttg.googlecode.com/files/kmttg_v0p7l.zip
    You will probably still have to specify TiVo name & IP manually but at least after clicking OK kmttg should be able to save settings with that version.
     
  15. Sep 11, 2010 #2615 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    v0p7n version just released. Enhancements include setting to use native java for downloads instead of curl and option to revert back to TiVo beacon mechanism for TiVo detection instead of Bonjour (which may not work for some people). There were also some bug fixes related to Autotune configuration.
    See release notes for full details.
     
  16. Sep 12, 2010 #2616 of 10413
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,363
    8
    Feb 26, 2002
    RI
    Gearing up for the fall tv schedule, I am rethinking how I use kmttg. Can anyone recommend a good format to balance

    encoding speed/playback quality that can playback on both the AppleTV and Ipad.

    File Size isn't really an issue.
     
  17. Sep 12, 2010 #2617 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    If file size isn't an issue, 720p, 29.97fps for hi-def content.

    -David
     
  18. Sep 12, 2010 #2618 of 10413
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,363
    8
    Feb 26, 2002
    RI
    which encoder profile?
     
  19. Sep 12, 2010 #2619 of 10413
    ferror

    ferror New Member

    66
    0
    May 3, 2005
    Austin, TX
    Running with the latest version v0p7n. I am trying the java downloads instead of curl. The javaplaylist task fails with this:

    >> Getting Now Playing List from Bedroom ...
    https://10.20.1.21/TiVoConnect?Comm...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0
    http IO exception for: https://10.20.1.21/TiVoConnect?Comm...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0
    Read timed out
    Failed to retrieve Now Playing List from Bedroom
    Check YOUR MAK & IP settings

    Interestingly, one of my TiVo units (which is the exact same model but has a smaller disk) does successfully download the playlist using java. Switching back to using curl still works for all of them. It seems as if the amount of time it takes to download the playlist could be a factor.
     
  20. Sep 12, 2010 #2620 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    OK thanks for feedback. This is something I can never test since I never have many shows on my TiVos. Having said that I set the timeout to be only 10 seconds which is too low. If I set it to 1 second I can get my playlists to fail as well. I should probably set it to 2 minutes or something along those lines by default (I actually forgot to change it to a more reasonable value before release).
     

Share This Page