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. Feb 11, 2010 #1901 of 10413
    dsloth

    dsloth New Member

    11
    0
    Nov 23, 2006
    moyekj,
    thanks for developing this program. I can qsfix this file in in VDR TV4 with no problems. Kmttg service is set to automatic at startup and log on as local system account with interaction with desktop enabled. I'm on Windows XP. I'll try switch log on to a specific account.
     
  2. Feb 11, 2010 #1902 of 10413
    dsloth

    dsloth New Member

    11
    0
    Nov 23, 2006
    That worked Thanks
     
  3. Feb 11, 2010 #1903 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Great. I've updated the Wiki page to state the need to configure kmttg service to run with local account regardless if you see error messages or not.
     
  4. Feb 12, 2010 #1904 of 10413
    JZ1276

    JZ1276 New Member

    92
    0
    Aug 20, 2008
    Not targeting a particular device. For a one hour TV show it would good to have an output file of 350mb (for a half hour 175 mb) and a res of 624x352.
     
  5. Feb 12, 2010 #1905 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Create a text file called something like (all lower case, no spaces) ff_custom_avi.enc with following contents:
    Code:
    # Description (single line, keep short)
    <description>
    Custom avi: avi container, 624x352 xvid video, mp3 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 -vcodec libxvid -acodec libmp3lame -b 1600k -ac 2 -s 624x352 -f avi OUTPUT
    
    # Encoded output file extension
    <extension>
    avi
    
    Put the file in the kmttg "encode" folder. It will then show up as ff_custom_avi in encoding profile list.
    You'll probably want to adjust the video bit rate (-b 1600k) up for better quality and bigger file size or down for less quality and smaller file size.
     
  6. Feb 12, 2010 #1906 of 10413
    JZ1276

    JZ1276 New Member

    92
    0
    Aug 20, 2008
    thanks, I'm going to try that. What should I add to get 128 kbps mp3?
     
  7. Feb 12, 2010 #1907 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Add -ab 128k.
     
  8. Feb 12, 2010 #1908 of 10413
    JZ1276

    JZ1276 New Member

    92
    0
    Aug 20, 2008
    thanks. can i place it anywhere? will it be 48 khz?
     
  9. Feb 12, 2010 #1909 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Just about. If you want to hard code a particular audio rate then add -ar 48000. i.e. With the additional audio arguments the profile now looks like:
    Code:
    # Description (single line, keep short)
    <description>
    Custom avi: avi container, 624x352 xvid video, mp3 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 -vcodec libxvid -acodec libmp3lame -b 1600k -ac 2 -ar 48000 -ab 128k -s 624x352 -f avi OUTPUT
    
    # Encoded output file extension
    <extension>
    avi
    
     
  10. Feb 12, 2010 #1910 of 10413
    JZ1276

    JZ1276 New Member

    92
    0
    Aug 20, 2008
    Thanks. One more question. How can I get 23.967 fps?
     
  11. Feb 13, 2010 #1911 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    v0p7i version just released with some good GUI enhancements, fixes and update to show all VRD output profiles (instead of just mp4 & wmv) for those using the new VRD TVS4. See all details here:
    http://code.google.com/p/kmttg/wiki/release_notes
     
  12. Feb 14, 2010 #1912 of 10413
    tallott

    tallott New Member

    10
    0
    Jan 11, 2010
    Thanks for that and thanks for a great program, Will try the Files to Push set to last.
     
  13. Feb 14, 2010 #1913 of 10413
    vectorcatch

    vectorcatch New Member

    129
    0
    Nov 20, 2008
    With 0.7i (and I believe it also happened with 0.7h) I am getting some weird exception text in the output window.

    This appears to happen if I browse into a folder in which one of the shows is currently being downloaded from PC to TiVo (aka it has the blue dot). The error doesn't seem to cause any problems, but it happens repeatedly under thos cirmcumstances. It also happen once when I added about 25 files at once under the Files Tab.

    'Heroes' 4 SHOWS, 18 GB USED (the last non error line, shows the action I took, I browsed to the Heroes directory in the TiVo view)
    java.lang.ArrayIndexOutOfBoundsException: 4
    at org.jdesktop.swingx.decorator.ShuttleSorter.mapTowardModel(Unknown Source)
    at org.jdesktop.swingx.decorator.Filter.convertRowIndexToModel(Unknown Source)
    at org.jdesktop.swingx.decorator.FilterPipeline.convertRowIndexToModel(Unknown Source)
    at org.jdesktop.swingx.decorator.SelectionMapper.convertToModel(Unknown Source)
    at org.jdesktop.swingx.decorator.SelectionMapper.updateFromViewSelectionChanged(Unknown Source)
    at org.jdesktop.swingx.decorator.SelectionMapper$2.valueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI$Handler.setValueIsAdjusting(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
     
  14. Feb 14, 2010 #1914 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Note that this issue was fixed in latest v0p7i release.
     
  15. Feb 14, 2010 #1915 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    I've seen this before too. Since there are no source code line #s given in the stack trace it's not an issue triggered directly from kmttg but probably some Java bug related to swing decorator. I have not seen any ill side effects due to this so other than an occasional annoyance it doesn't seem to break anything.
     
  16. Feb 15, 2010 #1916 of 10413
    tallott

    tallott New Member

    10
    0
    Jan 11, 2010
    Thanks moyekj I Downloaded 7i and got the following:

    >> Pushing \\Snapper\adobe\Capture\Untitled Clip 07.avi to Lounge
    http://localhost:9032/TiVoConnect?C...+Videos&File=/Untitled+Clip+07.avi&tsn=Lounge
    Received unexpected response for: http://localhost:9032/TiVoConnect?C...+Videos&File=/Untitled+Clip+07.avi&tsn=Lounge
    Not Found

    Good news is that the file is appearing in the NPL and I can play it once the download is complete but the message is not what I expected.
     
  17. Feb 15, 2010 #1917 of 10413
    dsloth

    dsloth New Member

    11
    0
    Nov 23, 2006
    I get the same message when pushing files since updating to 7i and wmcbrine latest pyTiVo build. I see there is some discussion of this in the autopush thread.
     
  18. Feb 15, 2010 #1918 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Yes, that is a different issue due to a change in pyTivo. If you update your pyTivo to the latest wmcbrine git version from here then that issue is fixed (wmcbrine put in a fix for that issue yesterday).
     
  19. Feb 15, 2010 #1919 of 10413
    sucxess

    sucxess New Member

    3
    0
    Oct 7, 2009
    Sorry for asking a possibly obvious question: Does kmttg have an option to automatically delete files that had been auto-downloaded after they are deleted on Tivo?
     
  20. Feb 16, 2010 #1920 of 10413
    tallott

    tallott New Member

    10
    0
    Jan 11, 2010
    Thanks moyekj and wmcbrine

    I now have a wonderful setup thanks to you guys. Keep up the good work.
     

Share This Page