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 3, 2008 #221 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    for ffmpeg, here's an example:
    -i INPUT -f mp4 -vcodec libxvid -maxrate 1000 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec libfaac -s 320x240 -ab 128 -b 400 OUTPUT
     
  2. Sep 3, 2008 #222 of 10413
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    When my downloads finished it showed that for most programs I was getting an average of 8mbps for the transfers. I have the Tivo HD hooked up to a 10/100 netgear switch and then on to a gigabit switch in my basement (most of my other devices are gigabit devices). I suppose it's possible that some other device is dragging things down but I do routinely see 30-40 MB/s transfers over gig-e on the same network.

    I will see if there's a log that will help with debugging the transfers. I don't think it's a unique showID problem since I just got the script installed.
     
  3. Sep 3, 2008 #223 of 10413
    lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    That's pretty slow. One thing which will help a lot is whenever the Tivo is not actively recording, set it to channels you do not receive, and do not play a program from the NPL. That way the TiVo won't be busy recording stuff. Recording two 1080i HD programs and watching a previously recorded program while transferring stuff to the network will slow down the network transfer a lot - maybe 50% or more.
     
  4. Sep 3, 2008 #224 of 10413
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    I transferred over 100GB so I had an opportunity to review the file transfers over a 24+ hour period of time (I think it actually ended up taking something like 36 hours to transfer that 100GB).

    It didn't matter whether the Tivo was idle or recording or playing back a program, the transfers were always in the 7-9mbps range, usually around the lower side of that range.
     
  5. Sep 3, 2008 #225 of 10413
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    Kevin,

    I don't seem to have an auto.history file. For some reason I have not gotten any auto recordings since starting the service, yet if I run the auto jobs from a window in kmttg it works fine.

    This is the auto.ini file in my directory;

    # kmttg auto.ini file
    <check_tivos_interval>
    1440

    <dryrun>
    0

    <metadata>
    0

    <decrypt>
    0

    <comskip>
    0

    <comcut>
    0

    <encode>
    0

    <title>
    star trek
    <title>
    good eats
    <title>
    futurama

    Any problems that could explain this? I've tried restarting the service a few times also and so far it doesn't seem to have straightened anything out.
     
  6. Sep 4, 2008 #226 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    jmpage2, there should be an auto.log file with a record of what it tried to do. If there isn't one that means it's not running for some reason...
     
  7. Sep 4, 2008 #227 of 10413
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    No auto.log is there, but the service is running with the config I posted above. Is there anything further that can be done to debug it?
     
  8. Sep 4, 2008 #228 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    Please go through the documentation starting at:
    http://members.cox.net/kevin.moye/kmttg/docs/kmttg.html#KMTTG_AUTO_TRANSFERS
    As mentioned the Windows Service mode is experimental and I have not had confirmation from anyone running Vista that it works. I think if you are on Vista you need to have admin privileges to run but not having Vista myself I can't debug on that platform. To me it sounds like the service is not running at all in your case, so you have to take a look at the service setup using various Windows utils.
    I think a better, more reliable option is to use the batch mode (perl kmttg.pl -b) along with Windows scheduler. That way you can schedule kmttg to run at intervals of your choosing and without relying on service mode for it to work.
     
  9. Sep 4, 2008 #229 of 10413
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    The service is actually running with Windows Home Server (based on Windows Server 2003).

    Other WHS users pointed me in this direction and said that this worked, I will check to make sure the service is installed with administrator permissions.
     
  10. Sep 4, 2008 #230 of 10413
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    OK, it's fixed. Looks like when the service was added it took default service permissions which aren't going to cut it in many cases. I don't recall seeing a place in the setup to put the user parameters in for the service instance.

    Reset it to run as administrator and re-started the service and it just downloaded everything on the Tivo that was waiting for download.

    Kevin, is there any way to run the .mpg conversion as a command line batch job on files that I already downloaded as .tivo files without conversion?
     
  11. Sep 4, 2008 #231 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    Good to hear. For converting a bunch of .tivo files you can simply go to FILES mode (in configuration turn on Enable File Browser), hit the Add Files... button and use the browser to add all the .TiVo files you want to convert. Then make sure the Decrypt .TiVo option is enabled, select all the files in the list and click START JOBS to convert them.
     
  12. Sep 4, 2008 #232 of 10413
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    Thanks again Kevin, that worked a treat (and wasn't quite as clear from the online documentation).

    A very minor request if you are entertaining ideas on ways of enhancing an already excellent program.

    It would be helpful to specify an output directory for not only encoded video but also the .mpg video files produced when the .tivo files are converted. This would be helpful so that the output .mpg files and the source .tivo files could be automatically sorted into separate directories for different media players, servers, sharing, etc.
     
  13. Sep 9, 2008 #233 of 10413
    ronaldlw

    ronaldlw New Member

    21
    0
    Apr 29, 2008
    Noticed that kmttg has problems with the \ char in a title.

    Also, is there any chance you could add "seriesTitle" and "description" and "episodeTitle" as separate choices in the file naming? so that i could format the file as:

    [seriesTitle] - [episodeNumber] - [episodeTitle] - [description]

    to give something like this for example:

    Terminator: The Sarah Connor Chronicles - 201 - Samson and Delilah - Shaken by the Jeep explosion, John's 16th birthday forces him to face the reality of his destiny alone; Agent Ellison confronts his faith.avi

    that way in a directory all the episodes will be sorted correctly according to show and then episode order. Obviously the description makes the file names pretty long, so that might not be a good choice, but at least it could be an option.

    Thanks!
    Ron
     
  14. Sep 9, 2008 #234 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    ------------------
    v0.4j (09/09/2008)
    ------------------
    ENHANCEMENTS:
    * Added configuration options for separate .TiVo, .mpg, and encoded file
    locations. These paths are now all defined separately. If you don't
    re-run configuration they all default to being the same.
    * Added [mainTitle], [episodeTitle] and [description] templates for default
    file name building.

    FIX:
    * Non-path related '\' characters are now dropped from file name.
     
  15. Sep 10, 2008 #235 of 10413
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    You rock man!

    I will try to test out the path enhancements later today.
     
  16. Sep 10, 2008 #236 of 10413
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    One more question as I go and put the new version in. Is there the ability to specify different options for different recordings? In other words can I convert one program to .mpg and do comcut and have a different program not use these options and just get downloaded in .tivo format?
     
  17. Sep 10, 2008 #237 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    Manually yes. Select the 1st show and enable/disable the options you want and then run, then select the 2nd show and enable/disable the options you want and then run (you can do so while other show is already processing). If you are talking about auto mode then the answer is no.
     
  18. Sep 12, 2008 #238 of 10413
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
  19. Sep 13, 2008 #239 of 10413
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,361
    8
    Feb 26, 2002
    RI
    Just found this thread. Website no worky. Anyone know what's up?
     
  20. Sep 13, 2008 #240 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    Not working for me either. I've been meaning to switch over to Google Code anyway since Cox is unreliable and has a 10MB cap on web space. In a little while I'll post the URL for new host location.
     

Share This Page