New program for 1 step TTG downloads, decryption, encoding - kmttg

Discussion in 'TiVo Home Media Features & TiVoToGo' started by moyekj, Mar 15, 2008.

  1. DManzaluni

    DManzaluni Member

    39
    2
    Oct 22, 2019
    Your message doesnt exactly answer my question, which is why, when I do exactly what you suggest and highlight numerous files at a time, the resulting files wont play, whereas when i do one program at a time, the files DO play??

    How many should one be able to highlight to transfer at a time please?
     
  2. ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    11,856
    959
    Apr 6, 2000
    SF Bay Area
    You need to be more specific with your issues, what files, how, etc.

    I have done many multiple downloads and no problems with them.
     
    mlippert and kpeters59 like this.
  3. DManzaluni

    DManzaluni Member

    39
    2
    Oct 22, 2019
    When I follow the instructions in the last message, the files play in a blocky predominantly grey screen with nothing visible on it. When i try to tranfer ONE file at a time, they play properly
     
  4. ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    11,856
    959
    Apr 6, 2000
    SF Bay Area
    All Tivos transfer one at a time.
     
  5. DManzaluni

    DManzaluni Member

    39
    2
    Oct 22, 2019
    Not sure what that means, where you have advised that i can highlight numerous files at once and transfer them (OBVIOUSLY one at a time) in sequence but I have said numerous times that when I do this, the files play as predominantly blocky gray screens overlaid with large title characters telling me which file is not playing properly??

    And again, is it normal to have to manually delete all the extra files (edl, ts, tivo,text) once I have determined that the mp4 file WILL play in VLC? Once the 1.2GB working mp4 file has been created, why do I still have a 2GB .ts file artifact remaining in Windows Explorer?
     
  6. mlippert

    mlippert Active Member

    311
    73
    Apr 2, 2010
    Massachusetts
  7. ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    11,856
    959
    Apr 6, 2000
    SF Bay Area
    These really are not extra files. They are from the options set with the checked boxes on top in KMTTG. The .TiVo files is what is downloaded from the Tivo. .TS is a video file from a few options like decrypt. .EDL is a file for editing the video (marking for potential commercial removal) .xxx.TXT is a text file of the info for the video, (MetaData checked)
     
    mlippert likes this.
  8. DManzaluni

    DManzaluni Member

    39
    2
    Oct 22, 2019
    Yes, thank you, - I kinda figured that, and that they were OK to delete. Unusually, one file does actually play, - an MPG file. So it doesnt mean that the process which created them didn't completely finish? Sometimes there is left over a 2kb .ts file but occasionally the .ts file is a few GB!

    BTW I have now found that the conversion process does conclude reasonably rapidly (I always check all boxes except CAPTION). It can do a half hour transfer in 15-20 minutes. But yesterday I thought I should try to do multiple transfers at once, to see if I could succeed where exactly such multiple transfer failed to produce playable files only a few days ago.

    I did limit it to a half dozen transfers. The good news is that all the transfers which have completed play. The bad news is that nearly 24 hours later, the transfers have yet to complete!
     
  9. badams888

    badams888 Member

    39
    13
    Jun 6, 2016
    That seems awfully slow to me. What does it say the transfer rate is during the transfer.
    Did you mention your hardware? Which tivo, what kind of network (wifi or ethernet, and how fast) and what kind of pc are you using.

    I often select just a folder and click start jobs and it adds all the shows. I've had 20 or more pending with no problem. I'm only on 100mbit, and i get 94mbs during transfers.
     
  10. justen_m

    justen_m Cheesehead

    10,040
    660
    Jan 14, 2004
    Boise, ID
    Based on his post, I don't think he means the transfer takes 20-30 minutes. I think he means the time it takes to transfer AND fully process the file. That includes transfer, decrypt, QS Fix, Ad Detect, Ad Cut, plus a final transcode to mp4. The most time consuming is the last step, converting the mpg output to mp4. Personally, I don't know why he wants mp4. I'd just stick with the mpg output of Ad Cut.
     
  11. ej42137

    ej42137 Well-Known Member

    3,695
    551
    Feb 15, 2014
    Los Angeles
    mp4 files should be significantly smaller than mpg with the same quality, assuming Handbrake is used with appropriate parameters.

    OP also says his mpg files don't play (which is obviously a problem in his player, not the mpg files).
     
  12. DManzaluni

    DManzaluni Member

    39
    2
    Oct 22, 2019
    The transfer seems to take place at 40mbps though is it relevant that I only have 4gb of memory in this windows 10 box? (I use a Premiere with an ethernet cable)

    And yes, the one time the process created a MPG file, it does play. The process till the last stage takes about 20 mins but that last stage can take overnight!
     
  13. ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    11,856
    959
    Apr 6, 2000
    SF Bay Area
    It doesn't help much without specific details.
     
    mlippert likes this.
  14. badams888

    badams888 Member

    39
    13
    Jun 6, 2016
    I only set ts downloads, decrypt, and qs fix (I have video redo), it creates a .tivo file, and then runs vrd to decrypt and run a quickstream check. The result is a .mpg file which I can play or use videoredo on. I use handbrake after that when I want a .mp4.

    Maybe try to uncheck some of the boxes and copy the log to upload here. If you're only getting 40mbs that's pretty slow, since you must have at least a 100mbit connection, or else the next lower speed would be 10mbs I believe. You said a premier, that's before my time I think.

    If you can, try changing the cable. Sorry if this has already been mentioned, I just saw your post. If you know how to use wireshark, you could look to see if you're getting any errors during the transfer.
     
  15. DManzaluni

    DManzaluni Member

    39
    2
    Oct 22, 2019
    The results are getting more and more peculiar, though thankfully the MP4s created do now all play. But the transfers are now getting slower and slower!

    Even more peculiarly, I thought the files transferring one at a time was a bit obvious. But it isn't happening like that!

    Yesterday I tried highlighting over a half dozen files at a time again. Two types of file, one public TV and the other with commercials. To all of them, I applied the same parameters. (strip ads, - for the sake of consistency, - even though there were none there on three of the files)

    15 hours later, the first ad-free file has transferred, incredibly slowly, but none of the others. And incredibly, if I look at the transfer time stamp in Windows Explorer, all files transferred in .tivo form one at a time, before the app went on to start processing all those files! And the app seems to ahve had no problems identifying the (no) commercials in some of them but still took anything up to 15 hours to encode those programs! (I cant see at what historical mbps rate it worked at).

    Yet again, all sorts of gigabyte sized ts files are left hanging around the hard drive after creation of the mp4 file
     
  16. justen_m

    justen_m Cheesehead

    10,040
    660
    Jan 14, 2004
    Boise, ID
    Go to File->Configure. Under the first tab, File Settings, check the four boxes that start with Remove. At the bottom, you might want to check those to boxes too, Overwrite existing and Delete failed.

    If you already have all these boxes checked, and are still left with a bunch of extraneous files after the final mp4 encoding has completed, well, something is wrong. I don't know what.
     
  17. justen_m

    justen_m Cheesehead

    10,040
    660
    Jan 14, 2004
    Boise, ID
    That's messed up. Go to File->Configure, then the Program Options tab. What values do you have for active job limit and encoding cpu cores? Make sure the former is at least 2. This will allow, e.g., parallel downloading of file #2, while #1, already downloaded, is going through QS Fix, Ad Detect, etc. I don't think anything higher than 2 really helps, as after downloading, the disk and CPU are a shared resource. Parallelism doesn't really help. The latter is the thread count parameter passed to ffmpeg for the mp4 encoding. Probably set this to the Number of threads your CPU supports, or N-1.

    I have no idea what the default for either of these is when kmttg is first installed. It might be 1, which could explain why everything is being downloaded sequentially, and also why the mp4 encoding is taking all night. e.g., on my hyper-threaded 3.2GHz quad-core Xeon, I have it set to 8 encoding cores, just 2 active jobs.

    [edit] Also, not sure if this is required, under File->Configure->Program Options check the box in front of Allow only 1 download at a time. It could be if this isn't checked, the system is queuing up a ton of downloads before the first even completes, so the next steps being performed are all downloads, preventing the first completed download from being processed (QS Fix, etc).
     
    Last edited: Aug 5, 2020 at 10:56 AM
  18. DManzaluni

    DManzaluni Member

    39
    2
    Oct 22, 2019
    Thanks for that Justen, yes, all the parameters were defaulted incorrectly.(I was unable to respond sooner because I was trying a 6 program transfer and it was taking three days to run)

    Obviously none of the delete file options was checked and certainly the job limit value was defaulted to 1.

    I have now corrected it and run another half dozen program transfers and thus far, the progress bar does seem to be running a bit quicker.

    What is a bit unusual is that not all of the programs which KTTMG sees are actually on the tivo. So after transfer, I go to the Tivo and try to delete the programs to save space and I find they aren't there?
     

Share This Page