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. Dec 10, 2009 #1601 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Don't quite follow. Can you give detailed example? Not sure if chinese characters can be posted in this forum, but perhaps you can use pictures if needed to help explain.
     
  2. Dec 10, 2009 #1602 of 10413
    Stormspace

    Stormspace Electrocuted by TiVo

    5,171
    0
    Apr 13, 2004
    Hartsville, SC
    If you set your filename so.

    Smallville - Pandora (recorded fri dec 4 2009 wbtw).mpg

    the TiVo will display the file with the show name and if you select it you'll see the episode title where it belongs. Adding _cut to the end throws off the naming.
     
  3. Dec 10, 2009 #1603 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Guess you are talking about TiVo Desktop? I use the much more robust pyTivo, so as long as you have the accompanying _cut.mpg.txt file it doesn't matter what the actual file name is.
     
  4. Dec 10, 2009 #1604 of 10413
    wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    They can, as several spammers will attest.

    汉语/漢語, 华语/華語, 中國話/中国话 or 中文

    (Copied from Wikipedia, the article "Chinese language". My go-to source for random snippets of non-ASCII text -- check out their front page!)
     
  5. Dec 10, 2009 #1605 of 10413
    Stormspace

    Stormspace Electrocuted by TiVo

    5,171
    0
    Apr 13, 2004
    Hartsville, SC
    I use galleon for goback functionality.
     
  6. Dec 10, 2009 #1606 of 10413
    skaggs

    skaggs AlbanyHDTV

    233
    0
    Feb 13, 2003
    Albany, NY
    Got a new router, kmttg now can't see any of my three TiVo's. What do I need to do in order to get kmttg working again?

    Here's the exact error message from kmttg:
     
  7. Dec 10, 2009 #1607 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Most likely the TiVo IP numbers are not correct in kmttg config. If Bonjour works on your network kmttg should detect IP changes and update accordingly but perhaps that (Bonjour) is not working. Try removing all 3 TiVos from kmttg config and see if kmttg detects your TiVos. If not you can manually supply the IP numbers for each TiVo in kmttg config.
     
  8. Dec 10, 2009 #1608 of 10413
    skaggs

    skaggs AlbanyHDTV

    233
    0
    Feb 13, 2003
    Albany, NY
    Deleted all three TiVos and restarted kmttg. It found all three TiVos and all is well. Thanks.
     
  9. Dec 10, 2009 #1609 of 10413
    Stormspace

    Stormspace Electrocuted by TiVo

    5,171
    0
    Apr 13, 2004
    Hartsville, SC
    If you determine the range that your router assigns ip's in and set your TiVo to a static ip outside that range you won't have problems whenever there is a power outtage either.

    For instance..

    TiVo 1: 192.168.1.100
    TiVo 2: 192.168.1.101
    TiVo 3: 192.168.1.102

    Desktop PC: 192.168.1.103

    A bump in the power that causes all three to reboot might result in this:

    Desktop PC: 192.168.1.100

    TiVo 1: 192.168.1.101
    TiVo 2: 192.168.1.102
    TiVo 3: 192.168.1.103

    Note that all your ips just changed. This will break that app.

    In this example your router would be assigning ip's starting at 192.168.1.100 and assign a number set on the router. On my Linksys router the number was 10.

    Since the subnet starts at 192.168.1.1 and ends at 192.168.1.255 you have a lot of room to manually assign IP's to those three TiVo's, or two. Assigning them to a number less than 192.168.1.100 or greater than the maximum number of IP's the router will assign assures that the TiVo will always be in the same place when the PC looks for it.

    I'd recommend the lower range. In that case setting the TiVo's to

    TiVo 1: 192.168.1.10
    TiVo 2: 192.168.1.11
    TiVo 3: 192.168.1.12

    I'd start at 10, but it's a personal preference. You just can't use 192.168.1.1 since the router uses that one. You can continue to let the router assign IP's to you PC's on the network.

    As an aside. I use the scheduling function on my router to turn off internet access at night(Children), but it only affects devices getting an IP from the router, ie PC's. The TiVo's can still connect and get updates.
     
  10. Dec 10, 2009 #1610 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Curious what version are you using? I just checked and confirmed if I set IP intentionally wrong for a TiVo that kmttg will detect the correct IP and correct it automatically, so if you are using recent version not sure why it didn't auto correct...
     
  11. Dec 10, 2009 #1611 of 10413
    Zaphod

    Zaphod Member

    133
    0
    Feb 17, 2003
    Des Moines,...

    Thanks for the encoder file. I'm not sure if works yet or not. It KILLS my system performance while it's running (the couple other encoders I tried didn't), and mencoder keeps crashing. The one file I did let finish and didn't crash, there was no sound.

    So I'm looking more at VideoRedo. If I'm going to do this a lot, it may be worth the $50 for the basic version. BUT, I have a feature request. When I use the VRD QS Fix option in kmttg, it overwrites the original file with the fixed file. Just as there are options not to remove the previous file after a decrypt, ad cut, or reencode, I'd like an option not to remove the previous file after a QS Fix. Maybe name the new file as .mpeg rather than .mpg or pust "-QSFIX" at the end of the file name and still use the .mpg extension.


    I also have one other new feature reqeust. I'd like to be able to specify different destination paths for each auto-transfer job. It should default to the system default when a new job is created, but if I'm auto-transferring different TV series, I want to be able to have each series in it's own directory.

    Thank you!
     
  12. Dec 11, 2009 #1612 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    I don't see why. VRD QS Fix doesn't do anything bad to the original mpeg file so there really is no point keeping it - the whole point of QSFix is to clean it up and make it usable for other purposes. Plus with the last release if you have VideoRedo & TiVo Desktop's TiVoDirectShowFilter.dll installed you can bypass tivodecode and generate mpeg directly from .TiVo file, so no need for intermediate mpg. I think you will learn to appreciate how well VRD works and won't be skeptical about QS Fix once you've used it for a while.

    You can accomplish that already by using the [/] keyword in file naming template, which allows you to create sub-directories so that for example different series automatically go to their own sub-folders. Consult the configuring_kmttg Wiki for details.
     
  13. Dec 11, 2009 #1613 of 10413
    Zaphod

    Zaphod Member

    133
    0
    Feb 17, 2003
    Des Moines,...
    For sure, QS Fix doesn't affect video quality? Half of the files still work anyway without having to go through QSFix so I thought if the original worked, I'd still use the originals. Also, in a couple cases, QSFix screwed up somehow, like died in the middle of a file or something, and so it replaced the original .mpg file with now a half-finished one, and now I'd lost my original and had to redownload it from the Tivo (I do have the option checked to remove the .tivo file after decrypting).

    I guess if I use QSfix to do the decrypting too, then I keep the .tivo file until I'm sure the qsfixed file is good.

    Although I'm still confused in general. Why would these files have glitches that need to be repaired? You're saying the Tivo doesn't make perfect recordings? Sure, there could be glitches in the broadcast stream but I'd think the Tivo would just record that as anything else, how does it know a pixelated picture is not what it's really supposed to be? They play in Windows Media Player on my PC just fine without going through QS Fix. It's just my DVD authoring software that doesn't understand some of them.


    Ah, thanks! I missed that! I've read through all this stuff but I think I've read through so much between pyTivo itself, kmttg, and auto-push, trying to set these all up at once, that I'm forgetting things I've read.

    That will work as long as you want each series in a subdirectory under a single upper level directory, which I can live with for now, but I'd still ask to consider being able to configure completely different directory within each auto-transfer job.

    LOVE your program. Thanks!!
     
  14. Dec 11, 2009 #1614 of 10413
    theodolite

    theodolite New Member

    8
    0
    Dec 3, 2009
    For example, the downloading command is:
    /usr/bin/curl --anyauth --globoff --user tivo:MAK --insecure --cookie-jar /tmp/cookie4651086533132693437.tmp --url 192.168.1.11:80/download/%E9%AC%BC%E8%A8%8A%E8%99%9F2%E9%9D%88%E7%95%B0%E9%80%8F%E8%A6%96.TiVo?Container=%2FNowPlaying&id=1308616 --output "/Users/Eric/Downloads/kmttg_v0p7f/鬼訊號2靈異透視 - White Noise 2 The Light (12_08_2009).TiVo"

    The tivo file name is:
    鬼訊號2靈異透視 - White Noise 2 The Light (12_08_2009).TiVo

    I think the download file name is also the same in Chinese. But I got:
    %B0%AD%B0T%B8%B92%C6F%B2%A7%B3z%B5%F8 - White Noise 2 The Light (12_08_2009).TiVo

    The Chinese part is encoded. It will not cause problem when decrypt. The command to decrypt uses both encoded name for input/output. But after the name pass to transcoding, transcoder can't find the original name.

    In my case, I think just decode the name after decrypt. But for general case, it will be good to decode after download the .tivo file.
     
  15. Dec 11, 2009 #1615 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    theodolite, just to be clear can you also post the exact commands kmttg uses for tivodecode and for the encode step? I think what is expected to happen is the curl command should output file with proper Chinese characters (not url encoded) and from that point on use file names with non-url encoded characters.
     
  16. Dec 11, 2009 #1616 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    TiVo just records what it receives in digital stream which could (and often does) have timestamp errors among other things. Most mpeg2 decoders are robust enough to deal with those glitches, so if you play back the stream in Media Player for example it will not have a problem. The problem comes about when you try and process the file in some way like trying to cut out commercials or encode to a different format which requires re-encoding. Those programs are very sensitive to glitches in the stream and having glitches there very often leads to problems such as A/V sync issues or worse. VRD QS Fix in general does a great job cleaning up those glitches so as to make further processing without trouble possible.
     
  17. Dec 11, 2009 #1617 of 10413
    alancommike

    alancommike New Member

    3
    0
    Apr 21, 2007
    That would be perfect!
     
  18. Dec 11, 2009 #1618 of 10413
    Zaphod

    Zaphod Member

    133
    0
    Feb 17, 2003
    Des Moines,...
    I'd like to put one more vote (even though it's my own vote twice) for being able to configure directories within auto-transfers jobs. Or if there's a way I can acomplish this in the current system, please let me know.

    I want to keep the different stages of decrypting, etc., in separate subdirectories.

    In the current system I have to have structure like this:

    --Tivo Files
    |+-Series 1
    |+-Series 2
    |
    --MPG Files
    |+-Series 1
    |+-Series 2
    |
    --Cut Files
    |+-Series 1
    |+-Series 2
    etc...


    What I want is to do it this way...

    --Series 1
    |+-Tivo Files
    |+-MPG Files
    |+-Cut files
    |
    --Series 2
    |+-Tivo Files
    |+-MPG Files
    |+-Cut Files
     
  19. Dec 12, 2009 #1619 of 10413
    theodolite

    theodolite New Member

    8
    0
    Dec 3, 2009
    Hi moyekj,

    The following is the log, I checked decrypt and ecnode to ff_h264_high_rate

    I check the file name again, it's not encoded name and I don't know what is it.

    == Start of log ==

    鬼訊號2:靈異透視 - White Noise 2: The Light
    Recorded 星期二 12/08/2009 11:44 下午 on 69-0=衛視西片, Duration = 120 mins
    艾比(奈森菲利安)眼見妻兒遇害後,凶手隨後舉槍自盡的慘劇,他在悲痛下自殺未遂,竟意外得到預知死亡的能力,而後阻止了三人死亡,其中包括幫過他的護士雪莉(凱蒂薩霍夫)。但他不久後便發現,被救過的人會被附身,找尋下一個替死鬼…
    >> DOWNLOADING /Users/Eric/Downloads/kmttg_v0p7f/鬼訊號2靈異透視 - White Noise 2 The Light (12_08_2009).TiVo ...
    /usr/bin/curl --anyauth --globoff --user tivo:MAK --insecure --cookie-jar /tmp/cookie6011400967221029882.tmp --url 192.168.1.11:80/download/%E9%AC%BC%E8%A8%8A%E8%99%9F2%E9%9D%88%E7%95%B0%E9%80%8F%E8%A6%96.TiVo?Container=%2FNowPlaying&id=1308616 --output "/Users/Eric/Downloads/kmttg_v0p7f/鬼訊號2靈異透視 - White Noise 2 The Light (12_08_2009).TiVo"
    Download failed to file: /Users/Eric/Downloads/kmttg_v0p7f/鬼訊號2靈異透視 - White Noise 2 The Light (12_08_2009).TiVo
    Exit code: 0
    0 31 0 2588M 0 0 643k 0 --:--:-- 1:08:40 --:--:-- 620k

    == Skipped ==

    0 31 0 3198M 0 0 639k 0 --:--:-- 1:25:19 --:--:-- 611k
    >> DECRYPTING /Users/Eric/Downloads/kmttg_v0p7f/鬼訊號2靈異透視 - White Noise 2 The Light (12_08_2009).TiVo ...
    /Users/Eric/Downloads/kmttg_v0p7f/tivodecode/tivodecode --mak MAK --out "/Users/Eric/Downloads/kmttg_v0p7f/鬼訊號2靈異透視 - White Noise 2 The Light (12_08_2009).mpg" "/Users/Eric/Downloads/kmttg_v0p7f/鬼訊號2靈異透視 - White Noise 2 The Light (12_08_2009).TiVo"
    tivodecode failed (exit code: 0 ) - check command: /Users/Eric/Downloads/kmttg_v0p7f/tivodecode/tivodecode --mak MAK --out "/Users/Eric/Downloads/kmttg_v0p7f/鬼訊號2靈異透視 - White Noise 2 The Light (12_08_2009).mpg" "/Users/Eric/Downloads/kmttg_v0p7f/鬼訊號2靈異透視 - White Noise 2 The Light (12_08_2009).TiVo"
    Encryption by QUALCOMM ;)

    End of File
    mpeg file not given or doesn't exist: /Users/Eric/Downloads/kmttg_v0p7f/鬼訊號2靈異透視 - White Noise 2 The Light (12_08_2009).mpg

    == End of log ==

    After all jobs done, there are .tivo and .mpeg file in my disk, named

    %B0%AD%B0T%B8%B92%C6F%B2%A7%B3z%B5%F8 - White Noise 2 The Light (12_08_2009).TiVo

    and

    %B0%AD%B0T%B8%B92%C6F%B2%A7%B3z%B5%F8 - White Noise 2 The Light (12_08_2009).mpg
     
  20. Dec 12, 2009 #1620 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    You should be able to accomplish that with a custom script, couple with the available file arguments passed to it...
     

Share This Page