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. Nov 10, 2011 #3521 of 10413
    jcthorne

    jcthorne Active Member

    2,721
    3
    Jan 28, 2002
    Houston
    VAP will do what you want. Click Advance Configuration and place a naming template for the output files.

    Mine is:

    {title} S{seasonnum}E{epnum} {eptitle}

    which generates file names that look like this:

    Law & Order: Criminal Intent S01E16 The Prodigy.mpg
     
  2. Nov 10, 2011 #3522 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Second, as for processing, here is what I do (scroll back for more detail, I went thru this a few weeks ago)

    Use kmttg to pull show off tivo, decrypt, qsfix and adscan all in one session. Basically select the files to be processed and check the boxes listed and after awhile kmttg will process them all. I use videoredo for the qsfix and adscan- it is worth it. But you cannot trust the automated cuts.

    Then later on, have a cup of coffee and open the project (adscan) files in videoredo sequentially and manually check the commercials. Some files will need no modifications, some will need some playing around with. As you get used to the software, you get pretty fast at it and usually I wait until I have like 20 files to go thru and it normally might take 5 minutes to go thru them all if none need major editing or 15 if there is alot of editing needed. After I check/edit each file, I save the project file and edit check the next one.

    AFter I have gone thru all the 20 shows. I then go to files in kmttg and load them, select adcut only and have kmttg run the adcut (you can set several options as to what you want to keep or whatever), I basically have it remove the original file and project file once I have completed them all automated.

    So then depending on what settings you have, you will have your 20 shows all cut and pretty and ready for any post processing you are planning on doing.

    It makes sense to cut the commercials out before encoding because it saves time. If one third of everything is commercials, then if you cut the file down, you will only encode 2/3 as much as if you tried to cut commercials later. And once you have the hang of it, it goes really fast.

    Now for shows that I want to encode in xvid or rename or both, I rename them, then move to a different directory just to make life and sorting easier and then run index.net on the 20 files which prepares them for avi.net (saves manual time) then load them and choose settings for each in avi.net and batch encode them, and then delete the cutmpg file. Assume I had 20gb of files, now I might only have 3gb in xvid format.

    If I want to encode to H264 (which I do not usually due with tivo files due to the extra time and issues with playing back on slower computers) I would load them into handbrake or video.net and process them that way- for me always matroska because I can easily convert that to mp4 if needed.

    I don't use the built in encoder profiles in kmttg as I have run into audio sync issues in the past. I have even made my own profiles in kmttg and still had troubles. I plan to work on this later, but actually using avi.net, I can choose per file how much compression I want, some shows I really shrink down if I think I might not watch them too much and others I know I will watch over and over again, I don't shrink as much so they look prettier. The downside is avi.net only goes to 720p, but that is fine by me for the shows I use it on.

    If you watch most of your shows back on the tivo, you might want to choose mp4 because it is natively supported but limited in my mind. You can always stream them back using streambaby if needed which is why I use mkv because I like the other features.

    I then place the files on my server and enjoy. I mostly watch archived stuff thru my settop boxes or my tv which all have ways to watch them. I have a brite view stb which is vary forgiving of format issues, vs the wd which i had at first but wanted to throw away because of the audio issues with it only playing basically one type of audio for many files.

    I have one tivo/tv that doesn't have a stb and to watch the mkv and xvid files there, i use streambaby, which works fine.
     
  3. Nov 10, 2011 #3523 of 10413
    jcthorne

    jcthorne Active Member

    2,721
    3
    Jan 28, 2002
    Houston
    You cannot push an avi/xvid to tivo without transcoding again. mpeg2 or mp4 only. mp4 containing an h264 video stream is far more compact than an mpeg2 stream and pushes to tivo far faster than real time. This allows instant access from the tivo menu for files stored on a server.
     
  4. Nov 10, 2011 #3524 of 10413
    jcthorne

    jcthorne Active Member

    2,721
    3
    Jan 28, 2002
    Houston
    Interesting choice. I actually chose a WDTV BECAUSE it was one of the very few devices that would correctly play an mp4 file containing h264 video and an ac3 5.1 soundtrack. IE the same files I prepare for Tivo play perfectly on the WDTV.
     
  5. Nov 10, 2011 #3525 of 10413
    Hercules67

    Hercules67 TiVo addict

    354
    0
    Dec 8, 2007
    :up:

    +1000 Thanks. I am going to try.

    Please understand, I had inferred most of this, but I could not coherently make it work on VRD. Now I am going to try again. :D

    I am going to be in the hospital with my wife post-op the next few days, and I am going to try to take some files with me on the laptop. Thanks.
     
  6. Nov 10, 2011 #3526 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    if in xvid format, stream baby converts on the fly, so minus about a 5 second pause, no real difference if you are serving it via streaming. if you want to physicallly place it on the tivo (and why would you, just gonna take up space), yes, mp4 is okay and h264 can be smaller ( you could actually encode it to be larger, like taking a 720p 2 mb/sec file and encoding it to 1920 15mb/s, but that would be silly. on a relative basis, h264 is better compression than xvid, but not a vast difference.

    xvid is also faster than realtime, and if i remember correctly only certain audio format on the mp4 works, so some mp4 will not play on tivo without transcoding anyway (back to the whole container vs encoder).

    whatever floats your boat, i am just sharing what i do and tryi g to point out all the options. if you love h264 in mp4 format, and hate xvid, that is okay. i have just had the most success with the h264 mkv and xvid avi format for reasons already discussed, but i do use all the formats.
     
  7. Nov 10, 2011 #3527 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    i had one wd (granted this was a year ago) but i had so many problems with format/audio issues on xvid and mp4 and flv that i wanted to throw the thing away. i did return it. i imagine there have been some updates to it now, but the brite view is cheaper and plays almost anything, even incorrectly labeled containers and formats, though certain flash videos it used to play it now doesnt (but alternate firmware allows this)

    if i remember, the wd would not place mpeg2 aac which lots of tivo stuff has or something like that. sd content was hit or miss and i forget why but it would not play everything right off the tivo because of audio issues.

    to its credit, i think briteview performs a mediainfo style lookup on the file regardless of container extension and just plays it. incorrectly named xvid avi labeled mpg and vice versa all play on the briteview. i think now it is smaller and cost 80 bucks but for 50 bucks, you cannot go wrong. like i said, i imagine the wd is better now, but i really have no interest in it since my bv works great.
     
  8. Nov 10, 2011 #3528 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    speaking of renamers, i have a ton of south park episodes in the title - episode format. does anyone know of a program that will help me fix that? say south park - bass to mouth. most of the renamers want the s15e08 in front of it. anyone know a way to rename that doesnt have that?

    i imagine you could integrate that into kmttg like is done in nextpvr, where there is a plugin that will properly rename the episode on transfer, maybe another suggestion for future development as i think that would be good for kmttg.
     
  9. Nov 10, 2011 #3529 of 10413
    Phantom Gremlin

    Phantom Gremlin New Member

    1,555
    0
    Jun 20, 2002
    Tualatin,...
    This is a fantastic thread.

    Thanks to moyekj for writing kmttg and for continuously improving it. The only thing I ask for is that the program be rewritten in Python rather than Java. Perhaps the next major release? :)

    Thanks to everyone else for all the great information on containers, transcoding, supplemental programs, etc.
     
  10. Nov 10, 2011 #3530 of 10413
    Hercules67

    Hercules67 TiVo addict

    354
    0
    Dec 8, 2007
    I can't seem to get this to work. Since this forum is about KMTTG, can you PM me about it? OR not, if other people want to learn from this. Apparently, it wont take MPEG2 or MPEG4 files? Only AVI? And it didn't like any of my files from TIVO after they were renamed from .tivo to .mp4 or whatever. Why is that?
     
  11. Nov 11, 2011 #3531 of 10413
    jcthorne

    jcthorne Active Member

    2,721
    3
    Jan 28, 2002
    Houston
    Because I gave up on streaming via streambaby. For HD files the problems, rebuffering etc all ended up with a WAF of zero.

    I use pytivo and vidmgr. mp4 files with h264/ac3 are selected from the tivo using a glorious HD interface and pushed instantly upon selection. IE select what you want to watch and its available now. All the benifits of streaming with none of the problems, and a number of better features too.

    ALL of my video on our server is stored in mp4 containers with h264/ac3. It all plays on the tivo natively. It also all plays on any pc we own and the WDTV box we keep in our motorhome. One file for all. WAF of 100%.
     
  12. Nov 11, 2011 #3532 of 10413
    jcthorne

    jcthorne Active Member

    2,721
    3
    Jan 28, 2002
    Houston
    MetaGenerator3 will do what you want and save metadata files for the tivo as well as cover art for the files if you wish.
     
  13. Nov 11, 2011 #3533 of 10413
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    example : You have a file with a name like "south park - bass to mouth.xxx" What exactly do you want to change it to?
     
  14. Nov 11, 2011 #3534 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Actually, I found filebot, which takes a little getting used to the interface but gets exactly what I was looking for, which is basically taking my file and renaming it with episode title and number so that I could take my 288 south parks and get them organized by season and such.

    I too tried the renamer, which works okay for some things, but I didn't really like that it just does it, without preview in some cases. I also tried tvrenamer which worked okay too, but needs the episode and season number to work.

    I will also take a look at metagenerator 3, since I like to explore many options and fine the one that works best for me.

    So the good news is filebot will take south park - bass to mouth.avi and turn it into (not sure about the true numbers since i dont have the file open) but south park S15E12 Bass to Mouth.avi.

    The thing I really liked about tv renamer is it will then take the properly formatted file, look it up and move the files into folders by season and also show you the episodes you are missing. It really is pretty cool. I found several series I was missing an episode or two which were in a different folder than where they should be, so tvrenamer helped organize a bunch of stuff.

    For the person who has everything in mp4 h264 (sorry, don't remember your name) I really never have a problem with streambaby and xvids and as previously mentioned, way too many problems with 264 decodes on older computers or my slower netbooks or whatever, but again, to each his own. I really do not send much back to the tivo anymore so the other convenience of mkv and/or xvid is better for me. I will say that recently, any dvds that I convert i have to use mkv format because I can then keep some structure and all commentary tracks and such in one file, which for me is the holy grail of movies, and i can link as mentioned before. Since I archive lots of movies but watch them later on (like a year later) it is nice to have everything there and easier to have it mostly in one file. That means that most of my movies at least newer ones are in 264 format, which wont play on my netbook and older computer, but I have lots of other stuff to play on it!!!!

    I don't know what the WAF or WAV error was you were talking about? Maybe since I have a strong server and fast network, I don't have the problems with streambaby you have. I love it because it just works and poking around I can see some other good stuff that can be done with it too.

    Going further, for downloads of shows off of tivo, there seems to be some good open source apis and code around that I think it is a good suggestion to put some renaming code into kmttg and lookup episode info and such. I would just add that as a feature suggestion, because I imagine many people would use it. Maybe just calling code to filebot or whatever would work too and I again think people would appreciate it. So there is my new suggestion.

    On another note, I recently have been using nextpvr and there is a one line program that it runs to rename files in the save process with the season and episode name and number integrated into the gui, which is of course where I got the idea for adding it to kmttg.

    Again thanks for eveyone's help and suggestions, maybe I will get off my lazy butt at some point and write a wiki for kmttg or add to it with all this great software and learning we share, so new persons to the program don't have to spend as much time trying out all kinds of stuff.
     
  15. Nov 11, 2011 #3535 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    on another note, I think i found an interesting bug.

    Recently when running a refresh of the now playing list on my tivo hd, I have somehow caused the flag for copy protection to be cleared. Which means that then it allows kmttg to download and process the file like it was not a copy protected file. it shows in the npl and will download and process.

    I do not know exactly the circumstances that work, but it has happened now on at least three files and it has to be refreshed while the show is recorded. Anyone else know about this or know more about it? I of course hate my cable card restrictions so this weird bug has potential...
     
  16. Nov 12, 2011 #3536 of 10413
    cweb

    cweb New Member

    106
    0
    May 29, 2004
    moyekj:

    Since the Elite has four tuners does it make sense to have an option where it can autotune all four tuners?
     
  17. Nov 12, 2011 #3537 of 10413
    moyekj

    moyekj Well-Known Member

    11,145
    33
    Jan 23, 2006
    Mission...
    My impression is that very few use or even know about autotune, plus if you have Premiere/Elite TTG downloads are very fast anyway which kind of reduces the need for it. Could be updated I suppose but I don't have much incentive to do so since I don't use it and don't have or plan on getting an Elite (3 TiVos = 6 tuners is enough for me).
     
  18. Nov 12, 2011 #3538 of 10413
    jcthorne

    jcthorne Active Member

    2,721
    3
    Jan 28, 2002
    Houston
    If streambaby and xvids work fine for you, then by all means use them. They work for many. Its obvious from your response that you are using DVD and SD video. Once you move to BluRay and HD material both xvid and streambaby will become FAR less useful.

    WAF is Wife Acceptance Factor, a term used pretty frequently in these discussions of home theater equipment. For me, and I suspect most on this forum, this is a hobby. For my wife, its the home theater and it should 'just work'. It does. All the tinkering goes on in the background. The part she and guests see is polished and works. Every time.

    My comment was with regard to streambaby needed to stop and rebuffer after every 1GB of transfer. For a BluRay movie, that can be every 10 minutes. NOT ACCEPTABLE.

    You are correct my server is not a high powered pc. Power consumption alone does not allow that in my home. Ours is a Syology NAS and an old low power (35w) laptop. I wish the NAS could do it all on its own but I ran into roadblocks for music and Usenet. If the laptop is necessary, I keep it busy. The NAS maintains the 18Tb RAID array but I run nothing else on it. I should.

    Your idea about kmttg doing the lookups and file naming was previously suggested and dismissed by moyekj the author. Its his project. VAP takes over and does it.
     
  19. Nov 12, 2011 #3539 of 10413
    ccrider2

    ccrider2 New Member

    100
    0
    Nov 1, 2007
    *************:up:Save Auto Tune :up:*************

    I only have an old S3, but I use it instead of switching back to the TiVo input on the TV just to change the TiVo channels.
     
  20. Nov 12, 2011 #3540 of 10413
    wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    [media]http://www.youtube.com/watch?v=3EWruiIjBmo[/media]
     

Share This Page