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 18, 2011 #2981 of 10412
    mattack

    mattack Active Member

    20,734
    4
    Apr 9, 2001
    sunnyvale
    Not really funny, but my S3 drive is dead, so I don't think I'll need the now playing limit anytime soon (unless I find a way to somehow resurrect the drive).

    I will post more details later, but I see a fair amount of "server busy" failures when downloading.. it then tries again and works (the vast majority of the time).

    Also, last night I tried to Refresh and download an episode of the Tonight Show right after it had finished recording. It would successfully download the metadata file, but would NOT download the file -- it would say resource busy. I tried a whole ton of times in a row.. then maybe 10 mins later, I tried again, and it worked.
     
  2. Jan 22, 2011 #2982 of 10412
    mattack

    mattack Active Member

    20,734
    4
    Apr 9, 2001
    sunnyvale
    I put my orig S3 drive back in (because the replacement drive is 'dead'.. I'm hoping it's a firmware issue that I see mentioned in many places, and maybe I can just get a controller card for the drive to revive it)..

    anyway, kmttg still seems to think the drive is the original size..
    it says 320 shows (accurate), 210 GB used, 620 GB free.. I definitely don't have 620 GB free.. It seems to think I still have the 1 TB drive in. (I never manually put in size info in kmttg)
     
  3. Jan 22, 2011 #2983 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    You have to specify drive size by entering number in GB and hitting return as documented (and as indicated by the tooltip that comes up when you hover over the Total Disk Space field).
     
  4. Jan 22, 2011 #2984 of 10412
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,360
    8
    Feb 26, 2002
    RI
    anyone upgrade Handbrake to .9.5? Is it a drop in replacement or will I need a new encoding profile?
     
  5. Jan 25, 2011 #2985 of 10412
    myasus

    myasus New Member

    2
    0
    Jan 25, 2011
    Hi moyekj,
    Thanks for your hard work on this great problem. I just tried to use this to replace Tivo Desktop. But I got some confusion problems. I recorded several HD recordings during ONE broadcasting program. But when I tried to download them to my PC, I got incomplete download without any error messages. Here is an example log info I got:
    This file supposed to be 20.2G instead of 18G. Is this because I tried to download and decrypt at the same time? It is painful to re-download all these huge files from beginning again. Since I do not have MRV, is there any other trick to walk around this problem?

    A couple suggestions:
    1. Is it possible to add another ID keyword to file name formatting? For one long live broadcast, I'd like to stop recording in the middle (after one match finished) then restart recording to generate separate smaller files. Now I have to change file naming configure to add all the separate jobs. Tivo Desktop will add "(1)", "(2)" etc to download file names automatically. I guess it would be easy for kmttg to use ID keyword directly.
    2. It would be nice if user can change the order of pending jobs :)

    Again, thanks for this great program.
     
  6. Jan 25, 2011 #2986 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    myasus, note that the file size a recording occupies on TiVo is different than the file size you get after download (TiVo reformats the file on the fly during TTG and resulting reformatted recording is ALWAYS smaller than on TiVo itself typically in 3-10% range), so it's likely the download in example above is indeed complete - check the time with mediainfo or a media player.

    I'll have to see if I can add an option in kmttg to make file name unique if a file of same name already exists at destination. It's actually harder than it sounds to code up that behavior given there could be a pipeline of subsequent jobs already expecting certain file names to be used. There already is an option to prevent file overwriting which will prevent inadvertent file overrides.

    For changing order of pending jobs well the simple workaround is to cancel them and then re-queue in order you want.
     
  7. Jan 25, 2011 #2987 of 10412
    myasus

    myasus New Member

    2
    0
    Jan 25, 2011
    Thanks for your quick response. I already met several cases that the downloaded files are incomplete. I checked the playback on Tivo, the matches are completed at the end. But the files I downloaded are not :( For example that I recorded one broadcast into 4 parts: 15G, 12G, 10G, and 23G. When I tried to download 15G and 12G parts, it all stopped at ~10G. Since I can not resume the incomplete downloads, I had to re-download all of them via Tivo Desktop :(

    What I suggested is to provide another Naming Keyword: ID. You can just use the Tivo recording ID number which supposed to be unique. Curl is using this id to download so your program should have already parsed that.

    But I had to change the naming format before adding new download job every time :(

    I am manually using this way now. Since the downloading is so slow, I have a long waiting line :(

    By the way, I am thinking to get my Tivo HD PROM modified because of the lack of ability to resume and slow download speed. Do you have an idea how fast can I download via MFS_ftp server after modification?
     
  8. Jan 25, 2011 #2988 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Perhaps try the non-combined download/decrypt to see if you get the whole TiVo file that way (the combined download/decrypt is a new task added in latest version and maybe something's going wrong).
     
  9. Feb 1, 2011 #2989 of 10412
    matt2hews

    matt2hews New Member

    3
    0
    Jan 18, 2011
    Could anyone speculate as to why a ff_tivo_hd encode of a 18 minute HD recording would take over 5 hours to complete? I'm on a 2.16GHz Core 2, with ffmpeg using both cores. It would take !!17 hours!! to transcode an hour program. Any suggestions?

    EDIT: Source material is a .TiVo from my Premiere box.
     
  10. Feb 1, 2011 #2990 of 10412
    nvt

    nvt New Member

    60
    0
    Aug 19, 2003
    MD
    Been using kmttg for a while started on a PC and moved to the Mac. Discovered the Handbrake encoding profiles which appear to be better and do not suffer form some fo the problems I had on the PC of audio/video desynching
    Now trying to encode for the Ipad and used the present hb_apple_tv which works but now seems to have a problem with the dimensions. The output now looks like it is formatted to play on an iPhone screen standing in portrait mode. There is dark space on either side of the screen.
    I've tried other presets but they seem to do the same thing. Is there some setting I am not aware of that determines the layout dimensions downloaded or is this occurring somewhere else (decrypt/ad detect/ ad cut)?
    Thanks for a great program and great help in this thread/forum
     
  11. Feb 1, 2011 #2991 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    It may be easier for you to install and run the Handbrake GUI so that you can experiment with different settings (use a small source clip as a test to speed things up). Then once you find something that works/you are happy with you can have the GUI show you what the command line equivalent is from which it is easy to generate your own handbrake profile for kmttg.
     
  12. Feb 1, 2011 #2992 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    That does seem awfully slow even for H.264 encoding which is a very CPU intensive process. There could be something else slowing you down such as Antivirus software you may want to experiment disabling temporarily as a test.
    Fail that perhaps try a Handbrake profile such as hb_tivo_hd_crf. Though from my experience Handbrake is slower than ffmpeg.
     
  13. Feb 1, 2011 #2993 of 10412
    jbernardis

    jbernardis New Member

    1,072
    0
    Oct 21, 2003
    Princeton NJ
    I actually have a 3 hour hockey game in HD that takes 13 hours to encode into H.264. I'd have been willing to accept that, but my series 3 played the resultant MP4 back with poor video quality, and If I tried pulling the video, it took 13 hours to transcode back into mpg.

    My solution is to not encode and just keep the file as an mpg.
     
  14. Feb 1, 2011 #2994 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    If the goal is just to play back on TiVo then leaving it as mpeg2 is the best option. Many people like to try and re-encode to reduce file size but to me it's not worth the time, effort and quality degradation to do so if playback device supports the original recording format. I do take time to manually strip out commercials with VRD if I intend to take a bunch of shows on the road on my laptop for playback, but I still leave them as mpeg2.
     
  15. Feb 2, 2011 #2995 of 10412
    nvt

    nvt New Member

    60
    0
    Aug 19, 2003
    MD
    Thanks - I have the handbrake GUI but do not see where you can get the command line equivalent
    I checked the mpg decoded file from TiVo loaded in HB:

    TiVo Source Device Model 649080
    352x480 Output 352x480 Anamorphic 308x480 Loose
    (which to me already looks wrong...?)

    I checked my other 2 TiVos and looked these mpg encoded files look fien in HB:
    TiVo Source Device Model 240040
    352 x 480 Output 352x480 Anamorphic 639x480 Loose (looks OK)
    TiVo Source Device Model 540040
    352 x 480 Output 352x480 Anamorphic 639x496 Loose (looks OK)

    Files are recorded at same resolution but on different Tivo's.
    The one with problem is a Dual Tuner device 649080
    The other two older TiVos Model 240040 and 540040 look right

    All files are transferred & decrypted by kmttg

    THe problem seems to be in the source files not in the kmttg but I cannot understand why to where this would be set/changed?
     
  16. Feb 2, 2011 #2996 of 10412
    cweb

    cweb New Member

    106
    0
    May 29, 2004
    moyekj: If you leave it as mpeg2 for TiVo playback (no commercial stripping), do you still qsfix it?
     
  17. Feb 2, 2011 #2997 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    It is hidden by default but can be enabled in the program options menu. Once enabled and you restart Handbrake you will see a "Query Editor" tab where you can query the command line equivalent of your current GUI choices.
     
  18. Feb 2, 2011 #2998 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    If it's just going back to TiVo unedited then qsfix not needed, but if you plan on editing out commercials it's best to qsfix (with video filter enabled) first.
     
  19. Feb 2, 2011 #2999 of 10412
    nvt

    nvt New Member

    60
    0
    Aug 19, 2003
    MD
    I think this may only be in the Windows version
    https://trac.handbrake.fr/wiki/MacGuiGuide makes no reference to it
    It is mentioned in the Windows GUI Page (at the bottom in notes)
    https://trac.handbrake.fr/wiki/WindowsGuiGuide

    But I do not think the problem is HB - the input file is 352x480 Anamorphic 308x480
    This Anamorphic format looks narrow and tall
    But for other Tivo files
    352 x 480 Output 352x480 Anamorphic 639x480 Loose
    This Anamorphic format looks correct

    I tried transferring the show from the Tivo that produces this narrow tall output to one of my other Tivos and then re-downloading with kmttg but the narrow tall problem persist.
    So it boils down to the DualTUner Tivo producing files that are downloaded that create narrow tall output
    Any thoughts greatly appreciated



    n
     
  20. Feb 2, 2011 #3000 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    nvt, it would be helpful if you can post mediainfo output for both for a source file that has issue as well as for one that doesn't. I know you listed resolution information but other info such as aspect ratio is also needed. Also if you know it post the native resolution and aspect ratio of the iPad.
     

Share This Page