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. May 8, 2014 #6781 of 10609
    moyekj

    moyekj Well-Known Member

    11,258
    74
    Jan 23, 2006
    Mission...
    Interesting. I didn't even realize there was an iOS version of VLC (free too) available. I installed it on my iPad Air, turned on web server on my PC, and downloaded a decrypted HD .mpg from .TiVo file (720p) with captions. Surprisingly the iPad air played it back flawlessly, but only with captions turned off. As soon as I enabled captions playback became horribly choppy. In any case, it's nice to have another playback option. Though realistically, these HD mpeg2 files are too big to download to the iPad so not really a practical solution, but nice to know that it's possible...
    I'll have to do some experimenting now to see if H.264 with captions (generated by VideoRedo) will play properly via VLC on the iPad.
     
  2. May 8, 2014 #6782 of 10609
    mattack

    mattack Active Member

    20,801
    9
    Apr 9, 2001
    sunnyvale
    OK, the 'choppiness' sounds like what I'm referring to. I admit I should do this too (and have done it for OTHER VLC problems that have since gotten fixed), but please go to videolan.org and support/report a bug to write a bug about this.

    I hope at some point someone can try to make the captions faster.

    I guess you're doing all HD shows? Yeah, those are pretty gigantic.. But my SD shows are usually in the .9-3 gig range, and
    at worst, I sometimes chop them up into a few pieces.. Yeah, it's a lot of work, but IMHO _far_ better than transcoding them.

    BTW, the web server is almost certainly WAY slower than just dragging it through iTunes.
     
  3. May 8, 2014 #6783 of 10609
    moyekj

    moyekj Well-Known Member

    11,258
    74
    Jan 23, 2006
    Mission...
    I used VideoRedo iPad profile to encode H.264 + AAC video from my HD mpeg2 clip above. Then downloaded to iPad using VLC and oddly it refuses to play the file. Uploading to iPad my normal way (I avoid iTunes like the plague) I can play the video without a problem using iPad built in player, but of course no captions available there.

    On my PC I can play it with VLC, however even though mediainfo shows captions available, VLC doesn't give option to display captions, so I guess captions in mp4 container are not supported by VLC.

    So doesn't look like the iPad VLC player is too robust to me from short time I've played with it, though it did play HD mpeg2 file (with captions off) flawlessly which is a plus.
     
  4. May 9, 2014 #6784 of 10609
    epstewart

    epstewart Member

    655
    0
    Mar 1, 2003
    Thanks for the excellent input! I do indeed stream movies to my iPad from my Roamio Plus this way. My current concern has to do with archived TV shows no longer on the TiVo.

    You have impelled me to try VLC Streamer for my iPad. I didn't know about it before. In early tests it does seem to work well with .mpg files that have captions in an associated .srt file.

    You lost me there. I guess you mean if I am using the VLC for iOS app instead of VLC Streamer? I'll try that one tomorrow!

    Anyway, thanks for all the info ...
     
  5. May 9, 2014 #6785 of 10609
    moyekj

    moyekj Well-Known Member

    11,258
    74
    Jan 23, 2006
    Mission...
    That's the one I used (and it's free). If you want to avoid iTunes with it you can since this app has a "WiFi Uploader" option that when you turn on makes a web server out of your iPad. Then using web browser on your computer you can connect to your iPad URL and drag and drop video files to it which then get uploaded to the iPad. Quick and easy and avoids the iTunes nightmare.

    The odd thing though is that H264 files I encoded using VideoRedo didn't work with the VLC player for some reason, but the mpeg2 versions of them (decrypted .TiVo files) did work (with captions turned off).
     
  6. May 10, 2014 #6786 of 10609
    moyekj

    moyekj Well-Known Member

    11,258
    74
    Jan 23, 2006
    Mission...
    v1p0s version just released.

    This version re-enables Resume Downloads option for series 4 or later TiVos (you should have 20.4.1 software for it to work though and even then it could be flaky).

    Also added new MR button to Remote Search and Guide tabs which can be used for setting up single or repeat manual recordings.

    Some other changes/fixes are included as well. Consult release_notes Wiki for full details.
     
  7. May 10, 2014 #6787 of 10609
    epstewart

    epstewart Member

    655
    0
    Mar 1, 2003
    I was apparently on the wrong track there. It turned out I couldn't eliminate iTunes-to-iPad Home Streaming pauses in .mp4/.m4v videos I derive, using kmttg and VideoReDo, from TiVo downloads, just by cutting down the closed captions/subtitles' pixel resolution. The remuxed files produced by Subler carry the subtitles as text, and iTunes turns them into a video overlay at a set resolution on the fly. At that point the overlay and the underlying video are apparently of whatever resolution the underlying video originally had.

    I contacted Damiano Galassi, author of Subler, and he told me the solution is to use the Optimize function, which is in Subler's File menu, on the just-remuxed file. That causes Subler to interleave the subtitles already present in the .m4v file with small chunks of the video and audio, rather than put all the subtitles at the start of the file. I tried that, and my unwanted pauses all but entirely disappeared.

    I did have one unwanted pause while streaming two TV shows, but that happened while I was stressing the I/O capability of an external computer drive other than the one the video being streamed is on. I suppose taxing the computer in that way understandably can cause a streaming pause.

    My earlier testing showed that turning on subtitles on the iPad during streaming of a non-optimized video made the data rate across my home network shoot up. I blamed the higher data rate for the streaming pauses. I still stand by the idea that the monitored data rate did shoot up when I streamed non-optimized videos. I assume (I haven't checked this) that the data rate for optimized video streams must be more moderate. Yet I have no explanation for why interleaving the subtitles would lower the data rate to a more tolerable level, or for that matter why failing to optimize the video for streaming would (indirectly) cause the data rate to shoot up.
     
  8. May 10, 2014 #6788 of 10609
    AlanH220

    AlanH220 New Member

    11
    0
    Aug 20, 2006
    Wilton...
    Copy protect flag blinking on and off

    Sorry if this has been asked before - I am using kmttg v1p0s on a 2011 iMac Desktop running OS X 10.9.2 with a TiVo Roamio Pro. Have had no problems of any sort up to now of transferring and decrypting.

    But just in the last 2 days weird things began. For example, everything in "Now Playing" on the TiVo shows up as copy-protected in kmttg. However, if I delete and then restore the program, the copy protect flag goes away. Further, using Roxio Toast's awful TiVo Transfer program, the DVR does not even show up.

    To make matters more confusing, when I run Tivo's Desktop and kmttg on a Windows machine, I can "see" the DVR and can transfer programs with no copy flag showing.

    So I'm led to believe there may be a config problem on the Mac side but I'm at a loss to understand what. I've powered down and rebooted every device. I have an AirPort Extreme router, Comcast cable, and even turned off all firewalls.

    Any suggestions from this brilliant group? Many thanks in advance.
     
  9. May 10, 2014 #6789 of 10609
    moyekj

    moyekj Well-Known Member

    11,258
    74
    Jan 23, 2006
    Mission...
    Try reversing the "Use RPC to get NPL when possible" setting under config-Program Options and then refresh NPL table to see what happens.
     
  10. May 10, 2014 #6790 of 10609
    AlanH220

    AlanH220 New Member

    11
    0
    Aug 20, 2006
    Wilton...
    AMAZING. That worked. Perfectly. At first I uninstalled kmttg completely from my Mac, deleted, and reinstalled. This flag was not set "on" by default, but when I checked the option the copy protect flags reappeared. So now it is set "off", for good.

    Just for curiosity - why does this happen?

    Many thanks!! All looks good again.
     
  11. May 10, 2014 #6791 of 10609
    moyekj

    moyekj Well-Known Member

    11,258
    74
    Jan 23, 2006
    Mission...
    Could be a bug. Do me a favor and do the following:
    * From Remote-ToDo tab press Refresh button to populate ToDo table.
    * Then select a show in the ToDo table
    * Choose File->Clear all messages to clear message window
    * With show selected in ToDo table now press j keyboard button

    This will dump show information to message window. Copy/paste that information to this thread. Of particular interest is the "drm" data. Under "drm" if there's a "tivoToGo" entry kmttg it should have a value of true in order for kmttg to consider it unprotected.

    (I don't provide a way of dumping such data from NPL tables unfortunately which is what would really be interesting, but ToDo data may provide some clues).
     
  12. May 10, 2014 #6792 of 10609
    AlanH220

    AlanH220 New Member

    11
    0
    Aug 20, 2006
    Wilton...
    Here you go - I pasted all the information into a TXT file. The relevant ddm portion follows (it's for The Graham Norton Show later tonight on BBC America HD):

    "size": 0,
    "quality": "best",
    "originalAirdate": "2014-05-02",
    "cc": true,
    "collectionType": "series",
    "partnerCollectionId": "EP009313630268",
    "subscriptionForCollectionIdAndChannel": [{
    "useOfferStartPadding": false,
    "type": "subscription",
    "bodyId": "",
    "useOfferEndPadding": false
    }],
    "collectionId": "tivo:cl.97361913",
    "requestedEndTime": "2014-05-11 04:00:00",
    "state": "scheduled",
    "remindUser": false,
    "repeat": true,
    "contentId": "tivo:ct.314625297",
    "levelOfDetail": "medium",
    "title": "The Graham Norton Show",
    "requestedEndPadding": 0,
    "isEpisode": true,
    "drm": {
    "multiRoomView": true,
    "multiRoomStream": true,
    "cgms": "none",
    "recordingPlaybackPolicy": "allowed",
    "type": "drm",
    "tivoToGo": true,
    "mrsPlaybackPolicy": "allowed"
    },
     

    Attached Files:

  13. May 10, 2014 #6793 of 10609
    moyekj

    moyekj Well-Known Member

    11,258
    74
    Jan 23, 2006
    Mission...
    That looks normal and would not indicate copy protection for kmttg. Of course we don't know what your NPL data has.
     
  14. May 10, 2014 #6794 of 10609
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,950
    18
    Apr 6, 2000
    SF Bay Area
    Under v1p0s, It looks like the downloads under java slows down after about a minute, speed drops down to 0.0-0.6 Mbps. This happens on regular and resumed downloads. This was not happening under v1p0r. Was there a change in the coding, or some error?
     
  15. May 10, 2014 #6795 of 10609
    moyekj

    moyekj Well-Known Member

    11,258
    74
    Jan 23, 2006
    Mission...
    No changes at all related to that part of the code in a long time and it seems to be working for me...
     
  16. May 10, 2014 #6796 of 10609
    caddyroger

    caddyroger New Member

    1,730
    0
    Mar 14, 2005
    Some where...
    If I under stand right if a programs stops during the down load Kmttg v1p0s should be able to resume the download. I have Download by java clicked and do no not have rpc checked.
    How do I restart the down load?
     
  17. May 10, 2014 #6797 of 10609
    moyekj

    moyekj Well-Known Member

    11,258
    74
    Jan 23, 2006
    Mission...
    Set pause point of the failing download show to beyond failure point on the TiVo itself, then refresh listings in kmttg, then enable File-Resume Downloads before downloading.
    NOTE: You should rename already downloaded segment to something else or resume will overwrite.
     
  18. May 10, 2014 #6798 of 10609
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,950
    18
    Apr 6, 2000
    SF Bay Area
    It must have been a fluke, since I have restarted KMTTG, it looked like the downloads worked as it should.
     
  19. May 10, 2014 #6799 of 10609
    caddyroger

    caddyroger New Member

    1,730
    0
    Mar 14, 2005
    Some where...
    Ok I will try that. Thanks
     
  20. May 11, 2014 #6800 of 10609
    caddyroger

    caddyroger New Member

    1,730
    0
    Mar 14, 2005
    Some where...
    I finally got to my computer to check the resume download function. It worked very good. Thanks again.
     

Share This Page