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. Jul 2, 2010 #2441 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Yes, it's a very important point by Icarus - system call from Java does not invoke a shell. You can choose to invoke the shell as part of your system call but that just adds another layer of complication. So the usual shell escape parameters do not necessarily apply.
     
  2. Jul 5, 2010 #2442 of 10412
    GregComeLately

    GregComeLately New Member

    119
    0
    Nov 27, 2006
    western...
    I get stuck just a couple steps in. When attempting to install the wmcbrine-2009.03.19-RC1 guide/instructional/etc., it won't continue because it brings up a window, "Checking for Python". It's looking for Python 2.4 or higher, but only 2.4, 2.5 or 2.6. Because Python is now up to 2.7, should I just shuck this old pyTivo installation guide and install pyTivo on my own, or, is there some way to work around this, since the wmcbrine guide hasn't been updated to accept 2.7?
     
  3. Jul 5, 2010 #2443 of 10412
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Please don't call it "the wmcbrine guide"... I'm not responsible for the Windows installer, and my recommendation is that you don't use it at all. You don't need an installer for pyTivo. If you want to run it as a service (which is also not necessary, unlike with TiVo Desktop, although it's available as an option), then follow these instructions (note: also not written by me).
     
  4. Jul 5, 2010 #2444 of 10412
    GregComeLately

    GregComeLately New Member

    119
    0
    Nov 27, 2006
    western...
    Sorry, saw that you had stated something similar in another thread, re: the guide.

    Unfortunately, I cannot seem to make any real headway with any of the instructional information provided by yourself and others relating to pyTivo installations. Three hours and I've barely made any progress. This stuff is absolutely not for the faint of heart. I'm ready to scream & throw things.

    ok ok, I've already screamed & thrown things. :eek:
     
  5. Jul 6, 2010 #2445 of 10412
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    I wish I could understand what it is that people find difficult about it. I don't mean that as a put down; I'm being sincere. I just don't get it. The first time I installed pyTivo took under five minutes. I didn't set it up as a service, though. (I still haven't.) If I understood the problem, maybe I could fix it. But I don't.

    Galleon, on the other hand, was a nightmare to set up, for me.
     
  6. Jul 9, 2010 #2446 of 10412
    zabolots

    zabolots Member

    75
    0
    May 24, 2007
    NW Chicago...
    Here's what I've been playing around with for the Motorola Droid. I must admit that thus far I've only run the ffmpeg commands manually to test this and haven't actually tried the encoding from within kmttg but I don't see any reason that it wouldn't work.

    Hopefully somebody will find this useful. It's about time I've been able to contribute something back to the community that I've taken so much from!

    Scott

    p.s. Make sure you rename/save the file without the .txt extension which was required by the forum software
     

    Attached Files:

  7. Jul 18, 2010 #2447 of 10412
    Mikeyis4dcats

    Mikeyis4dcats Active Member

    3,725
    10
    Oct 2, 2003
    just installed kmttg for the first time. I have a 1TB drive in my TivoHD, but kmttg is only reporting it as 520gb. Any idea as to why? Should I just manually set the drive capacity to 1000GB?
     
  8. Jul 18, 2010 #2448 of 10412
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,724
    8
    Apr 6, 2000
    SF Bay Area
    It is reporting the current space used, not the entire drive. You can set it to 1000 but doubt it would get so high, I would probably say in the 950ish gB because Tivo software (and other stuff) is also on the drive.
     
  9. Jul 18, 2010 #2449 of 10412
    Mikeyis4dcats

    Mikeyis4dcats Active Member

    3,725
    10
    Oct 2, 2003
    good point. thanks!
     
  10. Jul 19, 2010 #2450 of 10412
    spocko

    spocko TiVo HD

    427
    1
    Feb 4, 2009
    I also have a Tivo HD with 1TB WD drive upgrade, and the actual drive capacity in kmttg is 915. There are 2 reasons why this is lower than the 1000 that you expected. First, as has been mentioned already, the Tivo sofware takes some space on the drive. The other more significant reason is a difference in terminology between how the drive manufacturers report size (MB) versus how kmttg reports the size (MiB).

    Some relevant links:
    http://en.wikipedia.org/wiki/Mebibyte
    http://www.twotechies.net/?p=154
     
  11. Jul 20, 2010 #2451 of 10412
    omahajs

    omahajs New Member

    14
    1
    Oct 27, 2006
    Just installed this program and tried it out on a small hd cartoon my kid likes to watch. I left program defaults and decrypted the movie fine - i get an mpg file. When I try and play the mpg windows media player opens and shows the video fine, but the audio is just a loud static noise. Any ideas on what I am missing here?

    Windows 7 32-bit.

    Thanks for any help and nice program.
     
  12. Jul 20, 2010 #2452 of 10412
    wesbc

    wesbc New Member

    83
    0
    Mar 16, 2003
    Not sure about your issue as I'm trying to do the same thing and don't have issue with decrypting to mpg. Trying to encode the movie to both a zune 30gb and iphone 3g.

    I have a question on how to enable multi core as I only see one cpu usage when I encode. I have win 7 64bit with an amd 1055t 6-core cpu. I verify that under config that encoding cpu cores are set to 6 and I updated active job limit to 6 (not sure about this one). But during encoding I only see once cpu that is busy. Any help is appreciated.
     
  13. Jul 20, 2010 #2453 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    It's likely a codec issue. If you try Videolan VLC for playback and have no problems with playback using that then it's a codec issue and you will need to install a Windows codec pack that properly supports AC3 decoding. (VLC uses its own codecs and doesn't depend on installed Windows codecs which is why it's a good tool for debugging codec issues).
     
  14. Jul 20, 2010 #2454 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Which profiles are you using specifically? ff_zune for example uses WMV video and ffmpeg doesn't support multi-threading for encoding using that codec. ff_zune_hd profile on other hand uses mpeg4 video codec which does support multi-threading. Other profiles such as ff_iphone should also use multi-threading. Basically if using an ffmpeg profile and you see "-threads 6" as part of the encode command listed in the kmttg message window then you know threads are enabled. As to how efficiently ffmpeg works in multi-thread mode I haven't really benchmarked...
     
  15. Jul 20, 2010 #2455 of 10412
    wesbc

    wesbc New Member

    83
    0
    Mar 16, 2003
    Yes, I was using ff_zune. I'm now trying ff_zune_mp4 and I see the "-threads 6" but under task manager I still only seeing one cpu being busy at 90%+ while the other 5 is pretty much idle. A 1hr 15min movie is taking approx 40min to encode. I'd like to try handbrake but don't see a zune profile for that.
     
  16. Jul 20, 2010 #2456 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Is the source video HD or SD? I think threads work better for more advanced codecs such as H.264. So for example for ff_iphone profile which uses H.264 video codec you should notice quite a significant difference between threads=1 vs threads=2. My guess is that beyond 2 threads there is probably not going to be much/any difference. In general I find ffmpeg MUCH faster than handbrake for encoding. I just tried a short encode using ff_zune_mp4 using 1 thread vs 2 and didn't see much difference, however same clip using ff_iphone profile completed in 2/3 of the time using threads=2 compared to threads=1. Sort of makes sense since H.264 is a lot more CPU intensive compared to mpeg4 video codec, but 2 threads doesn't give you 2x speedup and probably more than 2 threads doesn't help.
     
  17. Jul 20, 2010 #2457 of 10412
    wesbc

    wesbc New Member

    83
    0
    Mar 16, 2003
    Thanks for the input. Source video is HD. Right now I'm trying a hb_iphone profile and do see the 6 cpu usage though it's not using them 100%, just ranges from 25% - 75% usage each. Gonna be playing around with the profiles to see what works best for each device.

    Another somewhat unrelated question, is I had encoded once before and I think it was with the hb_iphone profile, but the encoded video would not sync with iphone, not until itunes re-encode it again and made my 500mb file to 1gb. Anyone know why that's the case. The file played on itunes ok, but just refuse to sync to iphone stating something about unsupported format.
     
  18. Jul 20, 2010 #2458 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Prior to the latest kmttg I had updated handbrake executable but not the HB profiles, so there was an issue with them - the encode would go through but the resulting video wouldn't sync natively from iTunes. If you use the latest kmttg release and encoding profiles the HB iphone profile should work and sync properly. I never had an ipod/iphone to test with until a couple of months ago (my daughter got an ipod touch) which is when I discovered and corrected the issue...
     
  19. Jul 20, 2010 #2459 of 10412
    wesbc

    wesbc New Member

    83
    0
    Mar 16, 2003
    Thanks! I'll try the encode I just did and see how it sync up.

    My ff_zune_mp4 just completed, the video looks great, but no audio. I've been encoding the same video and so far haven't had issue with the ff_zune or the hb_iphone. Not sure if it's a codec issue like you said above, will have to load up VLC player, but did try to play it on 2 different pc.

    Update: VLC player has audio... so a codec issue on my pc. Though I use CCCP codec pack and they have been pretty complete.

    For ff_zune_mp4, I notice zune will re-encode the video before it syncs. I'm trying to get better quality as ff_zune looked a little lacking. Anyway to encode it so it doesn't have to re-encode on the zune?
     
  20. Jul 20, 2010 #2460 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Don't have a zune to test with. Perhaps make a copy of ff_zune.enc to say ff_zune_custom.enc and increase the video bit rate. The relevant parameter to change is -b 640000. I don't know what the zune upper bit rate limits are. (Obviously don't forget to refresh encoding profiles in kmttg and select ff_zune_custom to encode). I would suggest using a very short source clip for testing with so you don't have to wait around a long time for each test encode to complete.
     

Share This Page