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. Sep 5, 2012 #4281 of 10413
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Just tested. I started with a fresh install of pyTiVo, which naturally didn't send the programId that was in the metadata file. I then edited pyTivo/plugins/video/templates/TvBus.tmpl and added:
    Code:
          #if $video.programId
          <uniqueId>$video.programId</uniqueId>
          #end if
    right before
    Code:
    </program>
    . I then pulled the same recording to the TiVo again. Season and Episode numbers were displayed in the HDUI.

    Note that
    • this will not work on a Push since a Push sends very little of the metadata.
    • even if it gets to the TiVo, there is no guarantee that it will do anything.
     
  2. Sep 6, 2012 #4282 of 10413
    bwall23

    bwall23 New Member

    73
    0
    Jun 8, 2009
    Not sure if that proves anything. Did you look at the container or video details view provided by pyTiVo to your TiVo? What type of metadata and video file. Was the original recording still on your TiVo, etc. The TVBus template provides the video details view, but if that metadata hasn't been parsed by pyTiVo and made available to display, it won't. Haven't seen anything since July from mcbrine on the pyTiVo forum thread. Is it still being maintained?

    AND P.S. Why are we discussing this on the kmttg forum thread and not the pyTiVo forum thread?
     
  3. Sep 6, 2012 #4283 of 10413
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    You're right, this discussion belongs in the other forum. However, since you think you know everything about it anyway, you obviously don't need my help. Good luck.
     
  4. Sep 6, 2012 #4284 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    YEAH for this change. I know it has been something debated for awhile for all the reasons debated about, but glad to have it as it will really help for those times when it is a. actually there and b. actually correct. which has nothing to do with kmttg obviously as for some reason tivo guide cannot get correct what all kinds of other free software can.

    Thanks so much!
     
  5. Sep 6, 2012 #4285 of 10413
    bwall23

    bwall23 New Member

    73
    0
    Jun 8, 2009
    I agree it should be continued in the pyTiVo forum.

    Never said I know everything about it, or meant to imply it. If I knew everything, I wouldn't be posting in these forums. I was just providing a somewhat more scientific approach to the problem versus an emperical evidence approach.

    We're both trying to achieve the same objective, I was just offering what I knew based on poring over code I'm unfamiliar with and trying to analyze what it's doing. I'm a developer from a previous life and don't want to learn YAPL (yet another programming language) just to get this accomplished.

    It appears the mcbrine pyTiVo thread is on-hold or dead. Don't know if it's still being developed and if not, what fork to follow.

    Was just trying to offer what I found, but if the attitude is nobody wants to know, I'll STFU and keep it to myself.

    Good Luck also.
     
  6. Sep 7, 2012 #4286 of 10413
    wmcbrine

    wmcbrine Ziphead

    10,367
    22
    Aug 2, 2003
    :rolleyes:
     
  7. Sep 7, 2012 #4287 of 10413
    bwall23

    bwall23 New Member

    73
    0
    Jun 8, 2009
    See, that's what we get for posting in the wrong Forum thread:rolleyes:
     
  8. Sep 8, 2012 #4288 of 10413
    DougD

    DougD New Member

    60
    0
    Apr 25, 2011
    There are a large number of movies where the remake has the same name as the original such as Bad Company and Freaky Friday. Any chance as a future update that the movie year could be an option for creating the file name? By the way this program works great - highly recommended. I use it both on my linux box and on my windows PC.
     
  9. Sep 11, 2012 #4289 of 10413
    lew

    lew Active Member

    3,961
    3
    Mar 12, 2002
    Anyone done any comparisons? Auto mode without reviewing the cuts. Obviously I'd rather wind up with a stray commercial rather then cut part of the program.

    Most network shows have a logo in the corner during the program but not during the commercial. Surprised there isn't a reliable way to use that.
     
  10. Sep 11, 2012 #4290 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,733
    8
    Apr 6, 2000
    SF Bay Area
    VideoReDo does not determine commercial breaks by the logo on the video, it determines by the black frames between the video and the breaks. Sometimes they will cut directly to the commercial suddenly without the blank frames and that will not get detected.
     
  11. Sep 11, 2012 #4291 of 10413
    lew

    lew Active Member

    3,961
    3
    Mar 12, 2002
    My post wasn't clear. My understanding is comskip can use the logo and VRD doesn't. Hence the question which approach gets better results.
     
  12. Sep 12, 2012 #4292 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    I never much cared for auto-commercial cutting personally. I'd rather just do it manually since I don't do it very often. But comskip is highly configurable - by editing comskip.ini you can do things such as you suggest to target a network logo as an indicator. But you have to put in place different configs for different channels and/or shows so if you have a wide variety of recordings you are targeting it quickly becomes unwieldy. If you want to play with it, kmttg does allow you to specify comskip.ini file to use and in auto transfers config you can even setup a different comskip.ini for each entry so you could setup different ones for different shows. It all depends how much work you are willing to put in to get it working as well as possible. If it's just occasional use then I say don't bother and just cut manually using VRD without any commercial detection. If you do a lot of shows frequently then it's a different story.
     
  13. Sep 12, 2012 #4293 of 10413
    lew

    lew Active Member

    3,961
    3
    Mar 12, 2002
    ITA I was thinking of automating the process so I can D/L programs while I'm on vacation. My goal would be to get rid of some, not all, commercials. I have no doubt getting rid of all the commercials is likely to also get rid of some of the program.

    I may try it with earlier episodes of programs. See which programs work.

    I'll be watching the program when I don't have access to the internet.

    This "exercise" may be more trouble then it's worth.
     
  14. Sep 12, 2012 #4294 of 10413
    lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    I definitely agree with the rest of what you say, but definitely not this. No commercial cutting utility is going to be 100% accurate, or indeed anywhere close, but that does not mean automated commercial cutting is not useful. Having a cut file created automatically can save the user a huge amount of time when manually editing the file. Most cuts are at least in the ballpark, and skipping to the proposed cut points can save one easily ten to fifteen minutes of searching per show on average. False positives are easy to detect and eliminate, and it is usually easy to tell when a commercial has been missed because the show content will be more than 43 minutes per hour of recording after one is at the end of the file. I manually edit all programs - even the ones which do not contain commercials, which in my case is the vast majority - but I have kmttg run them all through comskip when they are downloaded.
     
  15. Sep 12, 2012 #4295 of 10413
    lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    It doesn't quite work that way. While it is true that tweaking the skip parameters can make the commercial cuts more or less accurate, in general it is a case of working well for one channel and poorly for another. Note, too, that accuracy involves not only the rate of false positives and false negatives, but also the accuracy of the cut point. Frequently either comskip or VRD will accurately identify commercials, but will set the cut point where a few seconds of program video are lost or a few seconds of commercial are displayed. You may not care, but I want the cuts to be as accurate as possible.

    Both work fairly well in general. One may work much better with one channel than the other, even after tweaking. Some channels are devilishly difficult for both.

    That's entirely for you to decide, of course.
     
  16. Sep 12, 2012 #4296 of 10413
    lew

    lew Active Member

    3,961
    3
    Mar 12, 2002
    I wouldn't expect an automated process would do the cuts as accurately as doing it manually. For my purposes I'm looking for a system which errs in leaving an occasional commercial or even a few seconds of a commercial.

    In your experience, is the automated ad scan likely to be consistent among shows on the same network? Among different episodes of the same series?

    My goal is to chop enough commercials so I can transfer the program, on the road, to an iPad.

    I'd be surprised if an automated system is good enough for my normal processing. Just trying to decide if it's good enough so I can D/L some shows while on vacation. Watch on the plane or other downtime.
     
  17. Sep 12, 2012 #4297 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    I agree with what lrhorer is saying, I have kmttg generate the detection file but do not actual have it cut the video. I just use that to jump around in VRD using F5/F6 to verify the cut points. (I use comskip to do the actual detection FWIW). I do think it is a little faster than the manual scrub. I tend to set up downloads and let it run overnight, so the extra 10 mins or so to do the detection doesn't really impact me. This has actually allowed me to VPN into my machine and perform commercial cuts (even with sub-par fps through VPN). If I didn't have the detection file, it wouldn't have really been possible with just a manual scrub.
     
  18. Sep 14, 2012 #4298 of 10413
    global_dev

    global_dev Member

    110
    0
    Mar 15, 2010
    Northern VA
    moved from a windows system to osx last year and got back into setting up kmttg.

    i like having the CC extracted and it took a bit to sort out how to compile the binary as the appropriate tools aren't included in the default os x image.

    i had to install xcode and check another option in xcode to install the correct tools to compile and then run the script in terminal of the dir as the script wouldn't work from the provided info.

    if anyone wants the binary or better directions, let me know...
     
  19. Sep 15, 2012 #4299 of 10413
    global_dev

    global_dev Member

    110
    0
    Mar 15, 2010
    Northern VA
    OS X CCE further info&#8230; i downloaded Xcode and in "Preferences" -> "Downloads" installed "Command Line Tools". in text edit, copy the OS X build command provided by CCE download and run script in the SRC dir in terminal. the binary should be compiled.

    here is CCE ver. 0.63
     
  20. Sep 16, 2012 #4300 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,733
    8
    Apr 6, 2000
    SF Bay Area
    I just tried to send to my tivo, a video from iTunes, its a .m4v and the blue light comes on and goes off after about a second. Obviously, Tivo does not like iTunes. Do I need to convert it beforehand?

    Update: I googled and found that I need to use a DRM Remover but so far, only found 1 and the Aimersoft trial version will convert 1 minute worth of video, (or pay $36 for full version). I rather find a free converter as I already paid for the iTunes video series.
     

Share This Page