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 13, 2011 #3641 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,736
    8
    Apr 6, 2000
    SF Bay Area
    Chapter marks would be put in by VideoReDo on burning a DVD. It would not have any affect on a Tivo.
     
  2. Dec 13, 2011 #3642 of 10413
    miricle

    miricle New Member

    63
    0
    Jan 26, 2002
    Waltham, MA
    Sorry, I should have been more specific - I wanted chapters in the m4v/mp4 file generated by handbrake or ffmpeg transcodes. I want to copy those to an iPhone, iPad or Touchpad. iOS devices make "scrubbing" pretty easy with fairly fine control but the media player on a Touchpad doesn't make it easy to move to a precise point in the video. A chapter break in the file would mean just using the built-in navigator controls instead of "scrubbing".
     
  3. Dec 13, 2011 #3643 of 10413
    wireman121

    wireman121 Member

    126
    0
    Nov 8, 2008
    @moyekj awesome, cant wait!!
     
  4. Dec 13, 2011 #3644 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Thanks for mentioning it and I was able to reproduce the problem. Looks like .bat files that were part of ProjectX were being blocked perhaps by virus tools or perhaps had permissions issues. I removed those in the zip file and uploaded the updated one and verified a new kmttg installation now does install ProjectX properly.
     
  5. Dec 13, 2011 #3645 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    I understand that and remember it, and have used that in testing. But it is also easy to differentiate the 2 and versions because of their appearance and I have found that it seems that even when making sure I am using the (OLD OLD) version 3 of vidredo, the backgrounding is not working.

    It is calling version 3 from the kmttg version and that is what is loading ( i can check by looking at the process if it is not brought to the foreground, or if it is, it is obvious what version it is.) I have not had a chance to run the old versions of kmttg to see if that makes a difference or not, or if there is some other screwy setting in the registry changed by updating vidredo which is affecting this. I have the older version of vrd installed on a laptop with and older kmttg, so I can update that to the most recent and hopefully that will help in troubleshooting the issue if there is anything you can do about it, or letting us let vrd know about it also.

    I am trying to help and if it sounds critical in my posts, that is not the case, just trying to help as much as possible and always available to try software updates and other stuff and log to feedback as much as I can.

    For anyone out there processing HD files. Can you please post say and average time to qsfix a 5gb or 10gb file (1920 resolution) and adscan, adcut times for the same file. And if possible what processor you are using. My processing seems very slow recently and trying to determine the cause.
     
  6. Dec 13, 2011 #3646 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    One other kinda on topic but maybe off topic question. Is there a way to boost the volume in vidredo the way that is done in mencoder? That would be helpful and I guess it could either be a configuration setting in kmttg or a profile change in the cut scripts or whatever. When processing the mpgs in other programs if I do, they have the options to boost volume, but for files that are not post processed or encoded it would be nice to boost the volume thru vidredo.
     
  7. Dec 13, 2011 #3647 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Not for AC3 audio as VRD does not have AC3 encoder. However in TVSuite you can edit/create a video profile (Tools->Edit Profile list...) and create a profile that uses AAC audio. Then under Audio section if you change "Compression" to Automatic then you are allowed to specify "Gain Level" for audio. Note that whenever you change volume it requires re-encoding with any tool.
     
  8. Dec 14, 2011 #3648 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Which i am guessing is not as quick as I could probably boost the volume manually using vdub or similar tools where it only strips the audio, renencodes the audio and patches it back to the mpg file as I am guessing vidredo will reencode the video too.

    I will try it to verify but thinking I might make script that does it using vdub or vdubmode command line since it is easy and fast to do that way.
     
  9. Dec 18, 2011 #3649 of 10413
    Hercules67

    Hercules67 TiVo addict

    354
    0
    Dec 8, 2007
    Since I have not posted in a while, can I ask my stupid question of the month?

    --------> Let me digress for a moment....
    (BTW, I am back to running version "L"). I traced all my problems to Seagate's stupid back-up software, and the fact that a lot of the Video I was working with were on that Seagate drive. Both that software and offending HDD have been accounted for now...
    <----------------


    So, question:

    Once I separate the subtitle stream with T2Sami how do I put it back when I encode? And what happens to the subtitles when you do an adcut via VRD?

    Thanks for the answer.
     
  10. Dec 18, 2011 #3650 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    T2Sami does not "separate" captions, it simply extracts them to a new file. The video file still contains the captions. VRD preserves the captions so no problem to run VRD before extracting captions.
     
  11. Dec 18, 2011 #3651 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    v0p8m version just released. Contains new auto transfers global config option to no longer wait for all tasks for a TiVo to complete before processing new shows as has been requested for a while by some users. Also now kmttg supports ccextractor in place of T2Sami for extracting captions (either one can be used now). Some fixes as well. See release_notes Wiki for full details.
     
  12. Dec 18, 2011 #3652 of 10413
    mattack

    mattack Active Member

    20,743
    4
    Apr 9, 2001
    sunnyvale
    Here's a bug that I just ran into.. I think it's because of the accented letter in the name (even previously, the metadata file and the mpg would have different names.. In this case, the .mpg file has the html escaped character, the metadata file has the correct character).

    But kmttg NEVER showed progress downloading the file. It actually downloaded it, thought it failed, and I was able to cancel it before it started downloading again... Here's the beginning of the output.

    > DOWNLOADING/DECRYPTING TO /Volumes/Tivo2/kmttgdownloads/Saturday Night Live/12_17_2011 Jimmy Fallon Michael Bublé performs.mpg ...
    "/usr/bin/curl" --anyauth --globoff --user tivo:MAK --insecure --cookie-jar "/tmp/cookie8825989112982919026.tmp" --url "http://192.168.11.5:80/download/Saturday%20Night%20Live.TiVo?Container=%2FNowPlaying&id=3198728" | "/Applications/kmttg_v0p8h/tivodecode/tivodecode" --mak MAK --no-verify --out "/Volumes/Tivo2/kmttgdownloads/Saturday Night Live/12_17_2011 Jimmy Fallon Michael Bublé performs.mpg" -
    Download failed to file: /Volumes/Tivo2/kmttgdownloads/Saturday Night Live/12_17_2011 Jimmy Fallon Michael Bublé performs.mpg
    Exit code: 0
    0
    ...
     
  13. Dec 19, 2011 #3653 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    That's probably a consequence of special characters not being preserved via a script which is what is used for combined download/decrypt - a .bat file in case of Windows. The script is not honoring special characters properly in the file name. If you keep download and decrypt separate then everything works as expected. So my suggestion is if this is a problem for you then keep download and decrypt separate and you won't run into the issue.
     
  14. Dec 19, 2011 #3654 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Thanks MoyekJ, will try out the delete and other stuff tomorrow, or i guess later today. One thing i have been running into recently and meant to ask about. Sometimes qsfix tasks in vdredo fail by i guess selecting the wrong aspect size, which i think is because a commercial in the show is say 720p in a 1920 size show and the automatic check finds the 720 so sets qsfix to 720 which results in only like a one minute file because it strips out all but the commercial (i am guessing that is what is going on) or othwr commercials that might be the same size.

    It appears that when i set the detection manually in vidredo when reprocessing the files, i set it to like a sample of 24 and so far, that seems to mostly guess correctly for the qsfix (you choose it by hand in the select streams, but it defaults to the larger result or whatever). It does make the initial check slower than the default which ithink is 8. So my question is, assuming i am somewhat one the right track about what is going on, is it possible to set the value to a larger value in the script in kmttg or some other setting for those who wish to or change the default in vidredo? I am not at a computer where i can examine theqsfix.vbs, which might be very obvious that i could modify and not available to use and check vdredo till tomorrow, but i dont recall being able to change the default other than manually processing qsfiles.
     
  15. Dec 19, 2011 #3655 of 10413
    mattack

    mattack Active Member

    20,743
    4
    Apr 9, 2001
    sunnyvale
    But can't you fix this?

    or at least figure out that special characters are included in the name, and automagically turn off download & decrypt combined in that case?

    Basically, this is a fairly serious bug, easily reproducible.

    I'm running on Mac OS X, BTW. Is it one of your scripts causing the problem, or something else? Even if something else, maybe that could be fixed?
     
  16. Dec 19, 2011 #3656 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    I don't consider it a serious bug as simply turning off combined decrypt/download solves the problem. Another workaround that may allow you to keep combined download/decrypt is switch to use Java downloads instead.

    The problem with non-Java download/decrypt is a Bourne Shell (sh) script is used in the case of Mac/Linux and cmd shell in case of Windows which pipes together the curl command with tivodecode, and the shell does not seem to handle special characters properly, so really it's more of an OS shell issue and I can't think of anything to workaround that.
     
  17. Dec 19, 2011 #3657 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,736
    8
    Apr 6, 2000
    SF Bay Area
    What Kmttg needs is settings to specify what to replace special characters with, ones the user can customize on their own. Such as the double quotes, we can set with 2 single quotes, or maybe "..", or whatever we prefer.

    Currently, they get removed without recourse.
     
  18. Dec 20, 2011 #3658 of 10413
    cweb

    cweb New Member

    106
    0
    May 29, 2004
    Since upgrading to 8m from 8K. When trying to list my season passes for selected stations I get the following error on all my premiers and elites:

    "RPC error response: java.lang.IllegalArgumentException: Cannot cache data larger than 1048576 bytes (you tried to cache a 1264364 byte object)"

    I get this on my windows and my Mac OSX installations.

    Any help would be appreciated.
     
  19. Dec 20, 2011 #3659 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    I'm not sure I understand what you mean by "When trying to list my season passes for selected stations"? Do you mean just trying to get list of season passes for a TiVo? There has been hardly any changes at all for the iPad stuff going from k->m version so my guess is if you install k version you would get the same errors, but it's worth trying to see if that's the case:
    http://kmttg.googlecode.com/files/kmttg_v0p8k.zip
    Perhaps it's a consequence of the recent 14.9.2.2 upgrade, though my Premieres on 14.9.2.2 are still functioning fine with all the kmttg iPad stuff.
     
  20. Dec 21, 2011 #3660 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,736
    8
    Apr 6, 2000
    SF Bay Area
    You upgraded from 8m to 8k? Isn't that downgrading?
     

Share This Page