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. Feb 18, 2013 #4801 of 10412
    lpwcomp

    lpwcomp Active Member

    8,077
    2
    May 6, 2002
    John's...
    You might try asking that question here.
     
  2. Feb 18, 2013 #4802 of 10412
    Fofer

    Fofer XenForo Rocks! TCF Club

    82,104
    292
    Oct 29, 2000
    That's an email address? "dcahoe@gmail.com"?? Is that the developer of TiVoPlayList?


    EDIT: Yes, I guess so: http://tivoplaylist.dyndns.org
     
  3. Feb 18, 2013 #4803 of 10412
    degobahjunk

    degobahjunk New Member

    48
    0
    Jan 10, 2009
    I gave up & just downloaded the newest Desktop 2.8.3. Altered the curl.conf file & I'm back up & running. For those running 2.5.1, the curl.conf fix just doesn't work, as far as I can tell. I don't think there was a curl.conf file to begin with. I re-installed it afresh, just to be sure. It must have some other way of doing things.... I'm completely self-taught, know enough to get by, and rely on the kindness & knowledge of folks like notting, morac, & unitron putting their know-how out here in the public forum for those of us still learning. Can't thank you enough!! And thanks to morac for mentioning that maybe my Desktop version was just too old... yep, that was the problem. I'm a, "if it ain't broke, don't fix it, type"... but it finally broke. It was time to update.

    JW
     
  4. Feb 18, 2013 #4804 of 10412
    lpwcomp

    lpwcomp Active Member

    8,077
    2
    May 6, 2002
    John's...
    I didn't mean to post that actually. It was meant to be a link to the original TiVoPlayList thread in the TCF. But yes, that is the e-mail addy of the developer. Or you could PM him.
     
  5. Feb 19, 2013 #4805 of 10412
    CoxInPHX

    CoxInPHX COX Communications

    2,350
    6
    Jan 14, 2011
    Phoenix, AZ
    I don't see any Twitter messages to Margret, has anyone contacted her directly? She got the missing Season & Episode # issue fixed very quickly after TiVo support did nothing.
     
  6. Feb 19, 2013 #4806 of 10412
    unitron

    unitron Active Member

    16,387
    2
    Apr 28, 2006
    semi-coastal NC

    If it ain't broke, wait 15 minutes. Someone will release a new version of something else you can't avoid using and that will break it.
     
  7. Feb 19, 2013 #4807 of 10412
    Marconi

    Marconi TiVo Junkie

    444
    0
    Sep 8, 2001
    Page, AZ USA
    It's actually much easier than that, but http-fetcher.pl is the key. Open this in a text editor and change the part of the curl command that says:

    -c /tmp/cookies.txt

    to

    -b sid=123

    That's it. No need to use a cookie jar file. Just hard code the cookie right into curl. So, to use part of your instructions:

    ...go to iTivo in the Applications folder, right-click, and click "Show Package Contents". Go to Contents, then Resources, then right-click on http-fetcher.pl, and open it in Text-Edit. Once there, change "-c /tmp/cookies.txt" to "-b sid=123" . Then re-open iTivo and it should start working again!
     
  8. Feb 19, 2013 #4808 of 10412
    Marconi

    Marconi TiVo Junkie

    444
    0
    Sep 8, 2001
    Page, AZ USA
    If you're going to use --cookie, you probably ought to remove "-c /tmp/cookies.txt"
     
  9. Feb 19, 2013 #4809 of 10412
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    I have been trying to do a few custom encodings for several different circumstances and have run into a problem.

    I am not sure if my syntax is incorrect or if kmttg is not relaying the command correctly or what is going on.

    I want to boost the sound in my encodes (as mentioned earlier in this thread) and have tried several ways and now am trying to do it using handbrake encode.

    I have the following line in my custom profile.
    Code:
    HANDBRAKE -i INPUT -t 1 -c 1 -f mkv -e x264 --cfr -q 24.0 -a 1 -aencoder lame -C -B 128 -6 dpl1 -D 1 -Y 720 -X 1280 -m -x ref=2:bframes=4:b-adapt=2:subme=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=1:nr=150:vbv-maxrate=10000:vbv-bufsize=10000 -v -o OUTPUT
    Which appears to work okay, but when I try and include --gain 5 which is the handbrake code to boost the gain on my audio encode, I get errors from kmttg and it will halt.

    I have tried putting it in a couple different places and verified that it works in the regular handbrake cli. Below is the command in kmttg encode:

    Code:
    HANDBRAKE -i INPUT -t 1 -c 1 -f mkv -e x264 --cfr -q 24.0 -a 1 -aencoder lame -C -B 128 -6 dpl1 -D 1 --gain 5 -Y 720 -X 1280 -m -x ref=2:bframes=4:b-adapt=2:subme=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=1:nr=150:vbv-maxrate=10000:vbv-bufsize=10000 -v -o OUTPUT
    Below is the handbrake cli code:
    Code:
    HANDBRAKECLI -i work2test.mpg -t 1 -c 1 -f mkv -e x264 --cfr -q 24.0 -a 1 -aencoder lame -C -B 128 -6 dpl1 -D 1 --gain 5 -Y 480 -X 854 -m -x ref=2:bframes=4:b-adapt=2:subme=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=1:nr=150:vbv-maxrate=10000:vbv-bufsize=10000 -v -o work2test
    and that seems to encode and work fine.

    Is this something that is not passing thru correctly to handbrakecli or what? Is there any way to get a log of what is going on with the encode in handbrake thru kmttg (like being able to see a log of the kmttg commands after encoding?)
     
  10. Feb 19, 2013 #4810 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    What version of handbrake are you using? When I try with version 0.9.5 with --gain option I get error that option doesn't exist:
    C:\home\kmttg\handbrake\HandBrakeCLI.exe: unrecognized option `--gain'
    unknown option (--gain)

    If I switch to a more recent version such as 0.9.8 then it works. So I'm guessing perhaps you are not pointing kmttg at a recent installation under File-Configure-Programs.
     
  11. Feb 19, 2013 #4811 of 10412
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    ah, for some reason I didn't even think about that.I just figured that all the non kmttg stuff was automatically updated to the latest versions. at least that makes total sense.

    when I get the kinks worked out, I think I will have some helpful encode profiles to load up.

    one other thought, if there any way to be able to have an input field in kmttg? for example, I am trying to come up with something that could also process tv shows on DVD and encode and such, but you need to be able to select the program number on the disc for it to work (I think). still playing with it.
     
  12. Feb 19, 2013 #4812 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    For something like a DVD you can use a ripper that rips main title to a single file (plenty of them have that option) and use FILES tab in kmttg as your entry point.
     
  13. Feb 19, 2013 #4813 of 10412
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,724
    8
    Apr 6, 2000
    SF Bay Area
    I use:

    1. DVD Decrypter, to rip DVDs using IFO mode for multiple episodes into individual files.
    2. Video ReDo, to use Quickstream Fix (yes, timestamp issues do happen from DVDs)
    3. KMTTG to push to Tivo.
     
  14. Feb 20, 2013 #4814 of 10412
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    I kinda do this, but of course am looking to make it even better. I use dvd fab to rip the multi episode dvd to the hard drive (dvd decrypter is defeated by several stupid sony and other discs)

    I have off and on done the videoredo part, but in the past, that lost subtitles and other stuff, so I stopped using it and just went episode by episode in handbrake (but really in video.net) which works awesome and easily.

    But using the cli, if there were a way to input the numbers for program number, you could do it in kmttg. Basically in the input area, identify the program numbers and then kmttg could encode each one using whichever option.

    I don't currently know of any way to take the already decrypted dvd files and have something output all the episodes without going one by one into either videoredo or handbrake. That part would be very nice.
     
  15. Feb 20, 2013 #4815 of 10412
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    On the latest version, it seems the remote behavior has now changed to not run until its spot in the queue. For example, when encoding or adcutting, remote search and other remote functions will not work (refresh of npl does work).

    Was this intentionally changed or is it a issue? I can understand it not running when the queue is stopped, but in the current state, you cannot schedule or browse listings if anything else is running.
     
  16. Feb 20, 2013 #4816 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Increase your "active job limit" setting (File-Configure-Program Options) since that affects most jobs other than NPL or downloads. For example if it is set to only 1 and there currently is 1 encode job running it will queue. If you have a lot of things currently running in kmttg GUI then you are probably better off running another kmttg window for Remote related activities.
     
  17. Feb 20, 2013 #4817 of 10412
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    If I increase the 'active job limit', then more encoding jobs start up. My system can only handle 2 of those at a time without freezing in cpu hell.

    Anyway to make the remotes always run, not charging them as 'active jobs'?
     
  18. Feb 20, 2013 #4818 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    I'll look at it. Suggestion for now is run another kmttg window for Remote jobs if kmttg is busy doing other things.

    EDIT: Remote jobs are no longer considered "active" in next release - changes checked in. There will still be a restriction of 1 remote job per TiVo at a time as is also currently the case.
     
  19. Feb 20, 2013 #4819 of 10412
    cherry ghost

    cherry ghost Active Member

    5,277
    5
    Sep 13, 2005
    Chicago

    can the same be done with autotune?
     
  20. Feb 20, 2013 #4820 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    autotune, what's that? :eek: Seriously though, somebody still uses that? Haven't touched that in a long while since I never found much use for it and didn't think anybody else did either...
     

Share This Page