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 27, 2009 #981 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    31
    Jan 23, 2006
    Mission...
    v0p6h just released should fix kmttg Tivo detection problem with your network printer.
    I changed my screen saver to power off screen after 1 minute while a kmttg download was happening and after reviving the screen the download was still continuing. Can you determine which task specifically it pauses on? Is it any/all of them or some specific task?
     
  2. Jun 27, 2009 #982 of 10413
    LordXerxes

    LordXerxes New Member

    13
    0
    Mar 30, 2005
    Something else I just encountered with this latest release. After launching kmttg and going to Configuration, all of my directory paths have changed to my Target Directory, including the FILES Default Path which I had set to the kmttg directory. If I try to change any setting I get the following error:

    I have deleted the config.ini and recreated it, but after the first run, if I exit and re-launch this problem happens again. It doesn't matter what I try to change, if I click OK, I get the error. I have no choice but to click Cancel.

    EDIT: As I was posting this I saw you updated the code again. I will download that and try again.

    Lord Xerxes
     
  3. Jun 27, 2009 #983 of 10413
    LordXerxes

    LordXerxes New Member

    13
    0
    Mar 30, 2005
    Ok...I just updated to v0p6h. It looks like the error I was getting above is now gone, but the FILES Default Path is still changing from the kmttg directory to the same as my target directory for the Output directories. I don't think this should cause any problems since the Programs Tab has the correct paths set.

    Lord Xerxes

    EDIT: Ok, I just re-read the Configuring kmttg Wiki Page. I guess I misunderstood the purpose of the FILES Default path.
     
  4. Jun 28, 2009 #984 of 10413
    castlemoyle

    castlemoyle New Member

    22
    0
    Mar 14, 2009
    On the lost...

    Hi David,
    I am wired all the way. computer direct connected to an 8-port "CNET CN8800TPC (10Base-2) hub. Series 2 DVR is wire connected to the same hub. (One of the ports on the hub goes to a 5 port netgear switch which then goes to other some computers and a Belkin wireless access point, but the DVR to computer is wired with only the HUB between them)

    the DVR always comes up as 192.168.0.106, so I'm assuming it's static.

    I was just trying out the direct connection (https://192.168.0.106) (Firefox) and downloaded almost 2 meg of a 2.5 meg movie. Then it stopped. Now going to https://192.168.0.106 gives me a "Network Timeout" error and http://192.168.0.106 gives me a "connection interrupted" error. I can successfully connect to computers on our LAN that are plugged into the hub (same as Tivo) and also plugged into the switch (one step further on) and also wireless through the Belkin. (The DVR is wired all the way).

    I've got a DSL modem also plugged into the hub that I used to be able to connect to and view the status of computers (and Tivo) on my network. I disabled the wireless part of it 10 days or so ago (after the Tivo downloading problems started) and now I can't find it anymore using windows. I'd push the little reset button on it and start over, but it would probably shut me down for a month.

    John
     
  5. Jun 28, 2009 #985 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    Hi John,

    When you have that problem, did you check the network status on the tivo itself to see what it thinks is going on?

    If you go to Tivo Central, Messages and Settings, Settings, Phone & Network. On that page, you can see some network information, including your IP address. From that page you can see your network status, and under Network Diagnostics you can test your network connection (Tivo Service Connection).

    I don't see any problem with your physical setup, except if it were me, I would replace the hub with another switch, but the hub should be fine.

    When you have the problem, what happens if you disconnect and reconnect the tivo's ethernet cable at the hub? Also, does your hub have status lights for each port? Is the status light lit for the port the tivo is connected to when you have the problem?

    Something is clearly not working right, and you may just have to try eliminating/replacing things to figure it out. (ie, the ethernet cable to the tivo, the hub, etc.)

    I think it's safe to say that your problem is unrelated to kmttg, so you should probably just PM me for further discussion on this.

    -David
     
  6. Jun 29, 2009 #986 of 10413
    eht123

    eht123 New Member

    11
    0
    Jul 17, 2008
    Excellent program!

    Just a sanity check - the download was painfully slow, 4.5 GB in 1 hr 10 mins. Is that typical?

    Thanks.
     
  7. Jun 29, 2009 #987 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    31
    Jan 23, 2006
    Mission...
    4.5 GB transferred in 70 mins => 8.57 Mbps (3.86 GB/hour)
    That's probably a Tivo HD unit right? If so that's probably a fairly typical rate. They are a little slower than the original S3 units. As a comparison I usually clock in around 13 Mbps for my transfers but that's with an original S3 unit which are still faster for MRV & TTG transfers in general compared to the THD units.

    If you read bkdtv's excellent FAQ on the subject there is a section on typical transfer rates:
    Download Recordings
     
  8. Jun 29, 2009 #988 of 10413
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    Currently I have Tivo Desktop just automatically backing up my select shows as I slowly get my new Tivo HDs setup.

    I was thinking of using KMTTG to transfer and convert shows that would be compatible with Streambaby but also with Tversity for the Xbox 360. Anyone have any suggestions? I am not that familiar with codecs so I don't know for sure what will work the best. I am mainly trying to plan ahead for the fall when the new shows kick back up and I will have space issues on the Tivos.
     
  9. Jun 29, 2009 #989 of 10413
    eht123

    eht123 New Member

    11
    0
    Jul 17, 2008
    Yep, it's a TivoHD. Thanks for the pointer.
     
  10. Jun 29, 2009 #990 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    31
    Jan 23, 2006
    Mission...
    Yes, the kmttg ff_xbox360 encoding profile produces mp4 files that stream natively and nicely to Tivo via streambaby and supposedly should work for xbox360 playback as well (though since I don't own one I can't verify for sure).
     
  11. Jun 29, 2009 #991 of 10413
    LordXerxes

    LordXerxes New Member

    13
    0
    Mar 30, 2005
    So I have been trying to tweak some of my power management settings, but it seems like after about 20 minutes encode/decrypt and download processes just pause. As soon as I "wake up" my idle machine, the jobs just start up again. I am using the High Performance profile. I have turned off Hard Drive sleep, and I have even tried to change some of the "hidden" settings for AC power. So far, nothing seems to have worked.

    Lord Xerxes
     
  12. Jun 30, 2009 #992 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    It has to be something with your setup, though I did have a similar problem until I adjusted the default PM settings.

    I'm running 64 bit vista home premium, and after I adjusted a bunch of the PM settings (when plugged in, high performance profile), it keeps running. You did set it to never sleep when plugged in, right?

    The only other thing I can think is that you have some system or other task that runs at high priority kick in when the display turns off. So you can also try setting the turn off display when plugged in to never, and see if it makes a difference. Vista does like to do stuff like that, but those tasks should not be running at high priority. (indexing, defrag, etc, tend to run when vista thinks you aren't using the system.)

    -David
     
  13. Jun 30, 2009 #993 of 10413
    LordXerxes

    LordXerxes New Member

    13
    0
    Mar 30, 2005
    Hi David,

    I have never configured any of the settings since I installed the system. I keep this system on 24/7, so the only setting I ever made sure was active was turning off the display. I am certain that the machine never goes to sleep, standby, or hibernate.

    I have had other applications continue just fine (or so it seemed, I haven't checked them since I disabled them for this process) when the machine is "idle". I suppose I could just switch to my XP machine and not have to worry about it. :D

    Lord Xerxes
     
  14. Jun 30, 2009 #994 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    Well, the default PM settings don't work for kmttg, because they will turn off the disk after a period of keyboard inactivity. You already noticed that one.

    I'm pretty sure that the default for vista's PM profiles, even the max performance one when plugged in, is to put the machine to sleep after some period of keyboard inactivity. You want "never" there, when plugged in. I had to change it.

    -David
     
  15. Jun 30, 2009 #995 of 10413
    LordXerxes

    LordXerxes New Member

    13
    0
    Mar 30, 2005
    I just tried disabling the ASUS ACPI Center which, from what I have been reading online, can cause problems for some people. When I wake up in the morning I'll check to see what progress (if any) has been made.

    Lord Xerxes
     
  16. Jun 30, 2009 #996 of 10413
    spocko

    spocko TiVo HD

    432
    1
    Feb 4, 2009
    Yep, that seems normal. Transfers from my Tivo HD via wireless are usually in the 8.5 - 9.5 Mbps range according to kmttg.
     
  17. Jul 1, 2009 #997 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    31
    Jan 23, 2006
    Mission...
    v0p6i (07/01/2009)
    ==================

    FIXES
    * Bug fix to avoid null exception when clicking on OK in configuration dialog when Tivo detection option is disabled.

    (Thanks to AudioNutz for reporting this one).
     
  18. Jul 1, 2009 #998 of 10413
    smithcferg

    smithcferg New Member

    23
    0
    Mar 28, 2003
    You've done a good job on this program, moyekj!

    Specs/Environment: Using v0p6h. I have a "Creative Zen" 4 gb mp3/mp4 player. Windows Seven 64, dual core AMD. The progam works well works well.

    I. Working Zen profile
    I was not able to get the ff_zen profile included to transcode properly for this player, using a sd TIVO source file. One error was "Video Format not supported". This is corroborated by jangelj in this post:
    http://www.anythingbutipod.com/forum/showthread.php?p=347678.

    I have come up with this profile:
    MENCODER INPUT -oac mp3lame -lameopts cbr:br=128 -srate 48000 -af channels=2 -ovc xvid -xvidencopts threads=2:bitrate=500 -ofps 24000/1001 -vf scale=320:-2,crop=320:240 -o OUTPUT

    So far it works great with no audio/video sync problems or seek problems (both of which can happen on the Zen), and the picture has correct aspect ratio. Tested with 1/2 hour SD and 1 hour HD files. On HD, set to crop top and bottom, it may be better to change it to crop the sides, but it is satisfactory the way it is.

    II. Profile for hard subs needs variable
    Ultimately I am trying to come up with a profile that will create hard subs in video that will work on the Zen. My wife is deaf, and this player does not support soft subs. (This is why I chose Mencoder for transcode.)

    This works to create hardsubbed video:
    MENCODER INPUT -sub "<path><subtitle.srt>" -subcc -subfont-text-scale 3 -subfont-blur 2 -subfont-outline 2 -subfont C:\WINDOWS\FONTS\ARIAL\ARIALBD.TTF -oac mp3lame -lameopts cbr:br=128 -srate 48000 -af channels=2 -ovc xvid -xvidencopts threads=2:bitrate=500 -ofps 24000/1001 -vf scale=320:-2,crop=320:240 -o OUTPUT
    with the following caveats:
    1) I have to hardcode the .srt file into the profile (which really limits it's usefulness, grin) [srtFile] variable didn't work. Can you make a full path\filename variable available for the .srt in the profile? Without this, this profile won't work.

    I have used the -sub-fuzziness variable to try to have mencoder automatically load the subtitles. It fails, I think because it doesn't know which directory the file is stored in.
    2) I have hardcoded in the bold arial font on my computer: -subfont C:\WINDOWS\FONTS\ARIAL\ARIALBD.TTF Anybody know of a way to point to a sub font which would be non-specific to any one computer, so the profile would work for everyone?

    I understand there are other reasons why hard coding of subs can be useful to many - other players like mine that don't support soft subs, or preparing a file for streaming through streambaby, which doesn't support closed captions, I believe.

    III. t2extract variables
    Can you make a way where I can use the configurable args of t2extract? This would be helpful. For example, be able to make .sami/.srt/both .sami and .srt - also cutoff duration, bias ( which I currently need) etc.

    I tried unchecking t2extract, and instead including it in my profile with command line arguments which I needed. This failed, as your program cleverly skipped right to the Mencoder line.

    I think you have done a great job. I admire the clarity that I see in the interface design, and how well it works. I hope to be able to one day have a point and click system that will allow my wife to enjoy captioned video.

    Thanks for your help.

    Sincerely,

    Craig

    PS A great program like this deserves its own forum!
     
  19. Jul 1, 2009 #999 of 10413
    ACraigL

    ACraigL Member

    694
    0
    Feb 12, 2003
    I've been tracking this thread for a while -- and since I'm unhappy with the ipod resolution that comes with TiVo Desktop, finally gave it a ride. I have to say I am enormously impressed with this application... really great. Thank you for your efforts here.

    I've been throught the wiki and pretty much get everything, including creating profiles. What I'm not clear on is how to add additional metadata via Atomic Parsley. I'm getting most of what I need, but if I want to include genre and year, for example, is there a way to configure that? It seems that all the data is in the text file...

    Also, how do you use the audio boost in conjuction with other profiles?

    Thanks again!
     
  20. Jul 1, 2009 #1000 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    31
    Jan 23, 2006
    Mission...
    There is not an explicit task in the GUI for adding the data, however it does happen automatically under the following circumstances:
    You have "metadata" and "encode" tasks configured as part of the job set with encoding profile that outputs mp4 or m4v.
    The "metadata" step then creates file.mp4.txt or file.m4v.txt file.
    Following a successful "encode" step kmttg will then launch an "atomic" job which reads data from that .txt file and uses AtomicParsley to add data to the .mp4 or .m4v file.
     

Share This Page