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 19, 2013 #5781 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    As mentioned above you have to include "QS Fix" in the flow to avoid A/V sync issues (as mentioned in the tooltips). It's best if you can use VideoRedo for QS Fix, but ProjectX works OK most of the time too.
     
  2. Sep 19, 2013 #5782 of 10405
    sar840t2

    sar840t2 Member

    179
    4
    Mar 1, 2003
    Edmonds,...
    Thanks, I'll try that. I had seen references to Project X, but hadn't looked into it yet.

    Good to know, thanks. I may look some more at VideoReDo, but having already bought Tivo Dektop Plus thinking it could encode with decent quality (it can't), I'm not sure how much more money I want to sink into this project. I may just resort to sending the (uncompressed) mpg file from kmttg to my daughter at college on an SD card, rather than try to shrink them.

    My PC was leading edge (but not bleeding edge) probably 7 years ago, so it's certainly not a screamer, but was good for standard-def FireWire captures and encode.

    Other than "dual-core" I can't remember what CPU it is (how I miss the days when the name was simply 486 at some clock frequency). 1GB of memory I believe (possibly 2GB). As more of my usage moves to a tablet (or even a phone) it's unlikely this PC will get replaced any time soon :(
     
  3. Sep 19, 2013 #5783 of 10405
    ALbino

    ALbino Lurker Series 2

    109
    0
    Jun 24, 2002
    For what it's worth, I was having sync issues before as well, and QS Fix solved my problems.
     
  4. Sep 19, 2013 #5784 of 10405
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    I have a i7-4770k with 16GB of memory (just built it) and can do 2 1hour hd conversions (to H.264 mp4 or mkv) in a little over 2 hours. It runs 2 videoredo jobs at once.

    If I run them one at a time, it takes about 2.5 hours to do both

    Now this might be slowed a bit by the fact that Videoredo writes its output file to a NAS device and reads from a local disk.

    I have kmttg set to download about 9 shows from various Tivos and then have kmttg tell videoredo to write the resulting files to a directory on my NAS that I serve up using pytivo as 'Just In'. Weekly I move the items from there to the correct folders by Show name. Very few glitches, it just works.

    I couldn't wait 14 hours to do a convert :)
     
  5. Sep 19, 2013 #5785 of 10405
    lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    Does your daughter have a TiVo or do either of you have internet caps?
     
  6. Sep 19, 2013 #5786 of 10405
    sar840t2

    sar840t2 Member

    179
    4
    Mar 1, 2003
    Edmonds,...
    No, no remote TiVo. Good thought though.

    Last I saw on Comcast's site they have suspended their 250GB monthly cap.

    @philhu - showoff :D
     
  7. Sep 19, 2013 #5787 of 10405
    lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    You might want to take a look at VirtualDub then. It's what I used to use for the same purpose - edit, save as compressed avi, write to transportable medium. It's freeware.
     
  8. Sep 19, 2013 #5788 of 10405
    mattack

    mattack Active Member

    20,731
    4
    Apr 9, 2001
    sunnyvale
    I sure thought you gave me a command line option to do this, but I can't find it at the moment. (I searched for caption on this page forward.)

    Is there a way to convert files that were downloaded _and_ decrypted in PS container to TS container THEN transfer back to Tivo (e.g. with pytivo)?

    or are the captions already 'ruined' by the time it has been downloaded/decoded in PS format? (I suspect not, since VLC can still play the captions.. or at least they show SOME form of captions).

    PS is fast enough from Premiere units that I can live with that, but not having the captions when going BACK to the Tivo is slightly a pain (yeah I should follow my own advice and write this up as a bug on Tivo's forums, since it works with S3). And I paranoidly check that the download really was complete, so even though I suggested doing it before, I want to really decode the program first and check it, THEN delete it from my Tivo.
     
  9. Sep 19, 2013 #5789 of 10405
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    Have you run QSFix and did it sync the audio? I don't see why HB won't do the job, I've been using it for a while and happen to think it's a great tool. You may have to adjust the setting in the profile to your liking (liking upping the quality setting one or two) but it should work just fine.
     
  10. Sep 19, 2013 #5790 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    Transferring from TiVo->PC as PS and then back to TiVo as TS results in working captions. The part that is broken in series 4 or later TiVos is transferring back in PS format eliminates captions.

    To transfer back as TS you don't need to do anything to the file, simply use a recent wmcbrine pyTivo installation with ts=on setting in pyTivo.conf file server section, along with a recent ffmpeg binary. With that setup pyTivo will remux to TS on the fly and captions will be preserved. As a bonus you can PULL H.264 video to your TiVos and avoid transcoding (i.e. no need to PUSH to preserve H.264). Also as a bonus with that setup any non-compatible videos with H.264 video will avoid having video re-encoded since pyTivo will use ffmpeg to remux video into TS container.
     
  11. Sep 19, 2013 #5791 of 10405
    mattack

    mattack Active Member

    20,731
    4
    Apr 9, 2001
    sunnyvale
    Well, I'm on a Mac, and have been using the GUI Mac PyTivo ("just works").. Guess I'll have to figure out the CLI pyTivo.. That's not a complaint, just a fact.
     
  12. Sep 20, 2013 #5792 of 10405
    sar840t2

    sar840t2 Member

    179
    4
    Mar 1, 2003
    Edmonds,...
    Not yet, I'm trying it tonight (won't have results for ~14 hours).

    Oh, and PC details (I was wrong about the RAM):
    • Pentium D 3GHz
    • 3GB RAM
     
  13. Sep 20, 2013 #5793 of 10405
    cherry ghost

    cherry ghost Active Member

    5,276
    4
    Sep 13, 2005
    Chicago

    Try this encode profile


    Code:
    # Description (single line, keep short)
    <description>
    mpeg4 container, res x=1280 h.264 video, copy audio (ac3), 192Kbps 2 chan aac audio
    
    # Encode command or script (single line)
    # Known keywords: FFMPEG, HANDBRAKE, MENCODER, PERL, INPUT, OUTPUT, PWD, CPU_CORES, SRTFILE
    <command>
    FFMPEG -y -i INPUT -threads CPU_CORES  -map 0:0 -map 0:1 -map 0:1 -c:v libx264 -preset veryfast -crf 22 -s 1280x720 -c:a:0 copy -c:a:1 aac -strict -2 -ac 2 -cutoff 15000 -b:a:1 192k OUTPUT
    
    # Encoded output file extension
    <extension>
    mp4

    Shouldn't take more than an hour to encode an hour show with commercials removed.
     
  14. Sep 20, 2013 #5794 of 10405
    sar840t2

    sar840t2 Member

    179
    4
    Mar 1, 2003
    Edmonds,...
    A/V sync looks good with QS Fix enabled, but (with or without that) I just realized I'm seeing interlace artifacts when playing back on my PC (I didn't spot that until just now).

    Before I try cherry ghost's suggested profile - should I be deinterlacing for playback (on a PC, Mac, or tablet)?
     
  15. Sep 20, 2013 #5795 of 10405
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    This is from profile hb_tivo_sd_crf. I know you want HD but it gives you an idea how to insert deinterlacing commands.

    Code:
    HANDBRAKE -i INPUT --detelecine --decomb --vfr --large-file -e x264 -f mp4 -O -q 21 -a 1 -E copy --audio-copy-mask ac3 --audio-fallback ac3 -x keyint=48:min-keyint=4 --denoise="weak" -v -o OUTPUT
     
  16. Sep 21, 2013 #5796 of 10405
    jltamu

    jltamu New Member

    1
    0
    Sep 21, 2013
    After reading such good things, I am hopeful to use your program, but am unsure what I am missing. I receive the following error and am not sure what to do, please help:
    >> Getting Now Playing List from Downstairs ...
    Failed to start command: --retry 3 --


    Cannot run program "": CreateProcess error=87, The parameter is incorrect
     
  17. Sep 21, 2013 #5797 of 10405
    Kevin L

    Kevin L Active Member

    1,585
    0
    Jan 10, 2002
    Gulf Cove, FL
    I'm getting the same error. Here' the entire text:

    Failed to start command: --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar
    C:\Users\KEVIN~1.GUL\AppData\Local\Temp\cookie1920977421563325050.tmp --url
    https://192.168.0.158/TiVoConnect?C...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output
    C:\Users\KEVIN~1.GUL\AppData\Local\Temp\NPL7406510399248001119.tmp
    Cannot run program "": CreateProcess error=87, The parameter is incorrect


    All the Remote tab functions work fine.

    Kevin
     
  18. Sep 21, 2013 #5798 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    Looks like there is an issue with a brand new install with default program paths not being set correctly. However if you re-start kmttg after it has installed tools and prompted for your MAK it should work fine from then on.
     
  19. Sep 21, 2013 #5799 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    v1p0g version released with fix to properly set program defaults and Remote tab TiVo names for a new installation of kmttg to a fresh folder.
    (This addresses the issue posted by new users above).
     
  20. Sep 21, 2013 #5800 of 10405
    Kevin L

    Kevin L Active Member

    1,585
    0
    Jan 10, 2002
    Gulf Cove, FL
    Awesome, that fixed the problem. Thank you so much for the quick response and fix. Great program.

    One question I couldn't find by searching: Can I set or change the Keep Until flag? I transferred all the shows from my Premier XL to my Roamio Pro, and they did not keep the KUID flag. Before I go one-by-one in My Shows to change to KUID, I'm hoping your program can do it.

    Thanks again!
     

Share This Page