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. Jan 25, 2013 #4641 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    That kinda makes sense, it's tricky because you want to adcut, but right now, if it doesn't detect if properly, without modifications that is, if I run adcut on an h264 mkv file, it will save it as a mpeg2 mpg file. A h264 ts file works fine and comes out as a h264 ts adcut, but an h264 mt2s comes out as a mpeg2 mpg file.

    I thought maybe the easiest way might be to have a check box for adcut like there is for encode, so that you choose your output format at that point. In some cases it would re encode, some cases it would just switch container and other cases, it would just adcut in the same container.

    Essentially it would insert whatever the output format you choose is into the adcut vbs file (assuming that doesn't cause problems other places)

    In the current structure I think the internal part of adcut +encode would not do the adcut properly or whatever, and might keep the other encoding options, meaning, you cannot adcut with the ffmpeg 480p encoder because it has to use the vredo built in profiles only for adcut but then you could encode it to whatever you want. That sounds confusing but I think you know what I mean. Its late and cannot think of a better way to say it at this point.

    Again, I don't know the backend, but that seems to me to be the way to do it and might help the rookies a bit more, though it probably would need a bit of explaining the difference between the encoding format and the container, will it seems like many people still don't understand.

    One other thing, currently, the not available vredo beta doesn't properly handle subs in mkv files when cutting, but they are working on fixing it, so that also could help when taking tivo files and including the subs in the mkv container, which I know some people will be very happy about when it works properly. The guy at vrdo is alway working on getting chapters to work better in the mkv container also.

    Thanks for your work and consideration! Any testing you want me to do, let me know.
     
  2. Jan 25, 2013 #4642 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    sanjonny, a kmttg.jar with VideoRedo "Combine Ad Cut & Encode" option added is available for you to try here:
    http://kmttg.googlecode.com/files/kmttg_v0p9k_beta2.zip

    To use it enable the option in kmttg and make sure that "Show VideoRedo encoding profiles" option is also set such that VRD encoding profiles are shown in kmttg. Then setup your flow ending at the "Ad Cut" task and make sure the VRD encoding profile you want to be used is selected before clicking on Start. You will now see that "vrdencode" task will be run which takes the .Vprj file as input so that cuts are performed and at the same time video is encoded to profile you selected.
     
  3. Jan 26, 2013 #4643 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    I will hopefully be able to mess around with it and report back later today.
     
  4. Jan 27, 2013 #4644 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    The good news is it seems to work well. I tried several files and formats and all came out correctly for the adcut operation to encode to the proper profile.

    The only issue and I am not sure it is an issue yet, seems to be that if you want to encode without the adcut, ( if you just want to take a file and encode it to videoredo profile but not adcut it) it pulls up the videoredo profile and output vredoencode. If you select a file and just select encode and try to encode to a videoredo profile it gives you an error.

    Code:
    VRD combine Ad Cut & Encode option selected but .Vprj file doesn't exist: null
    But it seems to work fine if you select encode and then try to encode to any profile except a videoredo one.

    I think that would be confusing for users who might want to just encode to something or who might switch back and forth between encoding and adcutting. On the flipside, most of the time, if you are using videoredo, combining the two operations is a good thing and you probably would not want to encode independently much, but maybe others do that all the time so having to go into options to switch it back and forth would be a problem.

    Anyway, it works well and be helpful. My suggestion would be to have the encode+adcut only be tied to the adcut check box and not the encode, but it might be much more difficult to do that in the programming.

    This is an improvement no matter which way so thanks so much for working on it.

    One other suggestion. Since I switch my checkboxes multiple times per day due to my workflow, is it possible to have an option to not check for videoprofiles every time you select qsfix or whichever switch does that?

    For some reason on my system, it causes issues in some files that might be processing, essentially a glitch in the encoding, not every time and not enough I can tell exactly which program causes what, but I have noticed an issue when switching and kmttg refreshes profiles while I am encoding/adcutting/qsfixing or whatever.
     
  5. Jan 27, 2013 #4645 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Also, unlike in versionj, in the beta, you cannot select the same file multiple times for adcutting or encoding. For example, in version j, I can select adcut for a file, then select encode to a certain format and select encode or adcut again and it will all be queued.

    edit:
    In the beta version, if you select anything that has videoredo/encode task, it will only allow one type of manipulation of the one file in the queue. You can queue many other files, but not duplicates or different encodes of the same file. Again not a big deal and not sure if people do that often, but might be an issue for some.
     
  6. Jan 27, 2013 #4646 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
  7. Jan 27, 2013 #4647 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,733
    8
    Apr 6, 2000
    SF Bay Area
    Discovered something under the remote tab on KMTTG, I hit BKSP and it acted like the REW button.
    SPACE just shows the timeline and a BONG.
     
  8. Jan 27, 2013 #4648 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    Not unexpected. Most keyboard presses are passed along in order for TiVo screens with virtual keyboard to work using your computer keyboard buttons. So in live TV or play mode (or other screens without virtual keyboard) some of those key presses will get you a TiVo reaction of some sort. You should also note that there is a keyboard shortcut for every icon shown in the kmttg Remote - the tooltip indicates what each one is.
     
  9. Jan 28, 2013 #4649 of 10413
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    mattack,

    Attached is a zip file with the program I mentioned in this post. It also has installation instructions and some documentation.

    View attachment 18019
     
  10. Jan 29, 2013 #4650 of 10413
    skisail

    skisail New Member

    7
    0
    Jan 3, 2013
    I had help with this, but didn't work. it seems an uninstall is in order before updating. what's best way?
     
  11. Jan 29, 2013 #4651 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    1. Remove all files and folders in folder containing kmttg.jar except config.ini (and auto.ini if you use auto transfers).
    2. Unzip new distribution to that same place you just removed all files from

    i.e. Basically the only important files are the .ini files. So for every new installation you can just delete everything but those files and unzip new distribution to that same location.
     
  12. Jan 29, 2013 #4652 of 10413
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Shouldn't the auto.history file also be kept?

    Not sure if it is necessary, but I usually stop and restart the service after replacing the .jar file.
     
  13. Jan 30, 2013 #4653 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    Yes, good points if using auto mode.
     
  14. Jan 30, 2013 #4654 of 10413
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    Is there any way of having kmttg delete shows off the tivo if it is a TivoHD (Not hacked)?

    I want to use my old tivohd as a library storage buffer, and put things there until kmttg moves them to the pc, then delete them over there.

    Set up that way, I don't have a tv screen displaying the data on the tivohd, just select and see it under kmttg or on other tivos at the end of my shows.
     
  15. Jan 30, 2013 #4655 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    Not that I know about (Tivo Web Plus requires hacked TiVo).
     
  16. Jan 31, 2013 #4656 of 10413
    cherry ghost

    cherry ghost Active Member

    5,278
    6
    Sep 13, 2005
    Chicago
    Anyone else have problems with shows on the FX network? Download/decrypt works fine, but then QS Fix seems to mess something up, resulting in a shortened show. An hour show can be reduced to as little as 35 minutes. I'm not using VideoRedo, just the ProjectX demux / ffmpeg remux. I've only had this happen with shows from FX.
     
  17. Jan 31, 2013 #4657 of 10413
    mattack

    mattack Active Member

    20,743
    4
    Apr 9, 2001
    sunnyvale
    I'm only *slightly* joking, but have you confirmed that it absolutely is messed up/too much cut out?

    MTV shows (e.g. Real World) seem to have MORE than the ~18ish minutes of commercials that OTA network shows have.. and other cable networks seem just as bad.

    Though one thing that I've seen lately is some shows having a VERY short bit of show (less than a minute usually) in the middle of a very long commercial break. I presume any automated skipping would miss these.
     
  18. Jan 31, 2013 #4658 of 10413
    cherry ghost

    cherry ghost Active Member

    5,278
    6
    Sep 13, 2005
    Chicago

    Yes

    This happens without running Ad Cut. My guess is that something gets messed up during the remux. It could be that newer versions of ffmpeg don't work well sometimes with -acodec -vcodec and would rather see -c:a -c:v, but I'm probably wrong.
     
  19. Jan 31, 2013 #4659 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    If you examine the elementary streams (separate video & audio files) from ProjectX demux using mediainfo, are they showing the right length? i.e. Try to determine which function is getting messed up, ProjectX or ffmpeg.
     
  20. Jan 31, 2013 #4660 of 10413
    cherry ghost

    cherry ghost Active Member

    5,278
    6
    Sep 13, 2005
    Chicago
    Looks like it's ProjectX. For the 1 hour show I tested, the .m2v is 30:51.
     

Share This Page