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. Apr 29, 2012 #4041 of 10405
    todd_j_derr

    todd_j_derr Member

    180
    0
    Jun 6, 2000
    Pittsburgh,...
    The "huge improvement" I was referring to was in AAC audio quality - with the old version the audio was very distorted. Apparently that is a known issue and it's definitely a defect in the encoder - same results on my computer and on my tablet.

    I didn't notice any video changes although I didn't scrutinize it.
     
  2. Apr 30, 2012 #4042 of 10405
    windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    Is there any control over the logging level when kmttg is run in batch mode? Now that I've got a nice automated (in batch) setup going on my Linux box, I'd like to be able to make the log smaller so it's easier to browse and read the output from my nightly job.

    Specifically, I'd like to eliminate the "skipping" lines and maybe limit it to just the NOTE, --DONE, and >> lines.
     
  3. Apr 30, 2012 #4043 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    No. But you could always make a script using "grep" or similar to filter out whatever you want and output an alternate log file.
     
  4. Apr 30, 2012 #4044 of 10405
    windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    That's what I figured, thanks.

    edit: this worked: I piped the output of my 'kmttg -b' command to a log file, then ran that through sed with the following command:

    sed -f /home/jeremy/scripts/kmttg-filter.sed < /var/log/kmttg.log

    where the contents of kmttg-filter.sed are:

    Code:
    /curl/d
    />> Continuing/d
    /Skipping/d
    /job=playlist/d
    /NPL job completed/d
    /ffmpeg/d
    /NOTE:/d
    
    The result is a lot more readable in my daily e-mail.

     
  5. Apr 30, 2012 #4045 of 10405
    nahtanoj1

    nahtanoj1 New Member

    21
    0
    Nov 19, 2007
    Does it make sense that when KMTTG founds files that are configured to auto transfer, that it launches a second version of KMTTG so I actually have two versions of KMTTG running? If I launch the app and it shows me my now playing list do I need to relabel auto transfers each time I launch it (by selecting auto transfers->background job->enable

    This is the output from when I choose Auto Transfers->Background job-> Status
    Process running: 502 71697 71487 0 9:26PM ?? 0:14.71 /usr/bin/java -jar /Users/jonathanbaker/Applications/kmttg_v0p8r/kmttg.jar -a &

    Thanks.
     
  6. May 1, 2012 #4046 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    You can run auto transfer mode via the GUI instead of as a background process. i.e. Auto Transfers->Loop in GUI if you want it to keep going continuously or Auto Transfers->Run Once in GUI for one pass.
     
  7. May 1, 2012 #4047 of 10405
    nahtanoj1

    nahtanoj1 New Member

    21
    0
    Nov 19, 2007
    Thanks. That will do it.
     
  8. May 9, 2012 #4048 of 10405
    SugarBowl

    SugarBowl Member

    790
    0
    Jan 4, 2007
    Cary, NC
    Just getting started with kmttg and it is working great. Excellent program!

    I am downloading from tivo, encoding for appletv, atomicparsley, then a custom command to move the final file into the Automcatically Add to Itunes Folder.

    If i have 5 shows that are queued up, each show progress thru the encode step. After the encode step finishes, the atomic and custom step remain queued, and the next show starts transferring and begins encoding.

    Every show has to get encoded before any of the atomic and custom commands are run. Is this normal behaviour ?
     
  9. May 9, 2012 #4049 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    Under configure->Program Options if you want to allow more jobs to run in parallel then increase the "active job limit" setting.
     
  10. May 9, 2012 #4050 of 10405
    SugarBowl

    SugarBowl Member

    790
    0
    Jan 4, 2007
    Cary, NC
    I increased this from 1 to 2, it will now process 2 jobs at the same time, but the job still skips the atomic and custom steps, and goes onto the next job.

    It looks like the 'atomic' step is getting created dynamically, following the completion of the encode step. On the UI, the atomic step is in the expected location within the job, but maybe internally, this step is being added to the bottom of the overall queue?
     

    Attached Files:

  11. May 9, 2012 #4051 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    atomic job is only scheduled when encoding completes so other "active" jobs currently running will get priority or be higher in the queue. Obviously if atomic job is queued up the custom job won't run until after it completes. "active" job is basically anything other than a download task. If you really want to force some queued jobs through then bump up the active job limit more (2 is not enough) or for the case of atomic job you can cancel the queued atomic jobs in current kmttg session and start a second kmttg session and use FILES mode to manually run atomic & custom jobs for the relevant files. Or just be patient and let current set of jobs go through.
     
  12. May 9, 2012 #4052 of 10405
    chrispitude

    chrispitude New Member

    518
    0
    Apr 23, 2005
    I have a feature request.

    I'm trying to convert a bunch of kid's TV shows to .mp4 format to store on our tablet. They are cartoons so I'm able to use aggressive video compression.

    In addition, I'm running the transcoding on my work laptop. It's slow and disk space is limited.

    When I multi-select a bunch of these shows and start transcoding, I find that the downloads quickly outrun transcoding and the disk fills up (which ironically, then causes ffmpeg to fail too).

    I would like to suggest that we provide some way to limit the number of pre-transcoding files that are not involved in any active jobs. This is purely just a disk space management issue, to minimize the number of mpeg-based files sitting around in any state (pre-decryption, post-decryption, ad cutting, qs-fix, etc.).

    If transcoding outpaces downloading, then this does not apply and we can download as fast as possible. If downloading outpaces transcoding, then it would seem this disk space limiter would be always pretty handy (unless you have reasons for wanting to pull everything down ASAP).

    It's not an easy problem to solve given the configurability of kmttg, but I figured I'd throw it out there to see what people thought.
     
  13. May 10, 2012 #4053 of 10405
    Hercules67

    Hercules67 TiVo addict

    354
    0
    Dec 8, 2007
    I've run into this on one of my older PCs. Is it a big PROBLEM?

    (Forgot to say, they way, I got around it, is by pre-downloading the shows to the Hard drive).
     
  14. May 10, 2012 #4054 of 10405
    chrispitude

    chrispitude New Member

    518
    0
    Apr 23, 2005
    I have another question. If I check the following two boxes:

    [X] Download TiVo files in Transport Stream format
    [X] Combine download and tivodecode decrypt

    I get an error message when I attempt to download/decrypt a file:

    I did some searching and it seems these options can't be used together. Does it make sense to not allow this combination?
     
  15. May 10, 2012 #4055 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    The problem is TS .TiVo files cannot be decrypted reliably using tivodecode. So unless you have VideoRedo to use for decryption instead of tivodecode you should not enable TS downloads option.
     
  16. May 10, 2012 #4056 of 10405
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,715
    7
    Apr 6, 2000
    SF Bay Area
    I have been trying to download a 15Gb file with the resume download and it always starts from the beginning.
     
  17. May 10, 2012 #4057 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    After you set pause point on the show on your TiVo you have to refresh listings for that TiVo in kmttg or it won't have the pause location for resume.
     
  18. May 10, 2012 #4058 of 10405
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,356
    8
    Feb 26, 2002
    RI
    I do have VideoRedo, and have never experimented with this. What is the advantage of using TS Downloads? And how do you configure KMTTG to use VR to do the decryption?

    Jeff
     
  19. May 10, 2012 #4059 of 10405
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,715
    7
    Apr 6, 2000
    SF Bay Area
    [​IMG]
     

    Attached Files:

  20. May 11, 2012 #4060 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    I recommend against using TS downloads as I had trouble with it enabled - seemed less reliable than PS downloads for me and made it so I had to reboot my Premiere to be able to download again. Some like it because downloads are faster. VRD can decrypt it as long as you have at least a partial install of TD 2.8.1 or later. I normally use VRD for decrypting myself since QS Fix & decrypt are combined into 1.
     

Share This Page